Linux: Resize (extend) a Logical Disk in a Xen from DOM0
Saturday, May 14th, 2011Assuming you have set your xen VM (e.g. domu1) points to a logical volume.
from DOM0
Extending the domu1 logical volume to 40G
lvextend -L40G /dev/vg0/domu1
from domu1
Resize the Physical Disk
pvresize /dev/hda
Resize the desired LV
lvextend -L15G /dev/vg0u/store // might want to unmount the volume first, but this works on ext3 on live disk resize2fs /dev/vg0u/store