[linux-lvm] Adding a disk to expand an existing logical volume

kevin k at kevinkevin.com
Wed May 19 16:12:04 UTC 2010

> - Add disk to system
> - Partition it via fdisk. Set partition type to 8e (Linux LVM)
> - run pvcreate initialize the partition for LVM
> - run vgextend to expand your existing volume group with the new device.
> - run lvextend to grow your logical volume.
> - finally, run resize2fs (assuming you are using ext3/4) to grow the
> file system.

I should note that this is a logical volume for a collection of Xen virtualized environments so its not an actual EXT3 filesystem. I wouldn’t need to run the last step I imagine.

More information about the linux-lvm mailing list