Solutions Log by Dan Reiland

7Jul/090

Logical Volume Expansion with Linux

  1. Add additional storage to the system. Physically or virtually.
  2. fdisk /dev/newdev - create new partition, set as type 8e (LVM), write partition table
  3. Create a new physical volume on the newly partitioned disk
  4. 1
    pvcreate /dev/newDevPart
  5. Extend an existing volume group
  6. 1
    vgextend tank /dev/newDevPart
  7. Extend the logical volume by the desired amount
  8. 1
    lvextend -L +5G /dev/tank/var
  9. Extend the filesystem on the logical volume
  10. 1
    xfs_growfs /var
Comments (0) Trackbacks (0)

No comments yet.


Leave a comment


No trackbacks yet.