[ale] LVM and Xen

Brian Pitts brian at polibyte.com
Wed Mar 18 14:36:29 EDT 2009


See Alain's post at
http://www.nabble.com/Resizing-partitions-on-a-VM-sitting-on-a-LVM-volume-td14724986.html

It boils down to doing the following from dom0

1) run lvextend on your logical volume
2) point fdisk to your logical volume, delete the last partition, and
recreate it with the larger size
3) run kpartx on your logical volume to create devices for the
partitions on it
4) run resize2fs on the device created at step 3 which represents the
partition you're expanding

-- 
All the best,
Brian Pitts


More information about the Ale mailing list