LVM Extending from New Physical Volume
Create new physical volume from new partition
- Use
fdisk
utility to create new partition pvcreate /dev/<new partition>
pvs
Adding physical volume to volume group
vgextend <volume group> /dev/<new partition>
Extending logical volume
lvextend -L+<size><G or M> /dev/<volume group>/<lv name>
#For XFS:
xfs_grow /<mount_point>
#For EXT4:
resize2fs /<mount>/<point>
No Comments