Tag Archives: pv

LVM: Growing a filesystem

Some quick notes on LVM:

  • Display information about physical volumes (PV)
  • Display information about all locical volumes (LV)
lvdisplay -a
  • Growing a logical volume
lvextend -L +1G /dev/mapper/rootvg-home
  • Growing the filesystem (this works for JFS)
mount -o remount,resize /home && mount -o remount /home

That last remount is just to make the filesystem writable again, since the resize sets the filesystem to read-only.

See the LVM-HOWTO for more information.

Posted in Linux | Tagged , , , , , , , , | Leave a comment