Solutions Log
Logical Volume Expansion with Linux
-
Add additional storage to the system; physically or virtually.
-
Create new partition, set as type 8e (LVM), write partition table.
fdisk /dev/newdev -
Create a new physical volume on the newly partitioned disk
pvcreate /dev/newDevPart -
Extend an existing volume group
vgextend tank /dev/newDevPart -
Extend the logical volume by the desired amount
lvextend -L +5G /dev/tank/var -
Extend the filesystem on the logical volume
xfs_growfs /var