Xenserver and adding/attaching a new storage to a VM
· ☕ 2 min read · ✍️ Sathya
I had an instance today where a local VM(which is provisioned by Xenserver) was running low on disk space and wanted to increase the disk space allocated to it. Last time when I did it by increasing the space from within Xen Manager, I failed miserably(the VM was configured with LVM and neither pvscan or lvscan was able to see the increased space). This time I tried a different approach:

[How-To]Mounting LVM partitions from a command prompt or a Root Shell
· ☕ 2 min read · ✍️ Sathya

Today as I booted into my openSUSE box, for reasons unknown to me, my LVM partitions failed to mount. fsck didn’t help, and and LVM based container system meant that I couldn’t use the standard mount /dev/sdxx style of mounting as well. With my /home and / configured as a LVM, the root (/) partition was active, but the /home partition was not being mounted, as a result, X and KDM wouldn’t start, giving a console login. After a bit of digging around the man files, I found thw lvm manfile and started experimenting(remember, no net access too!) and found out how to mount the LVM’d partitions.