Re: Adding a disk to expand an existing logical volume

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> - 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.
>
>Rich


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.



_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/


[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux