This is an old revision of the document!


Logical Volume Manager (LVM)

Resizing Logical Volume (LV)

  1. Unmount LV containing the filesystem which you want to resize.
    # umount /dev/lv/home
  2. Check the filesystem with e2fsck first.
    # e2fsck -f /dev/lv/home
  3. Resize the filesystem.
    # resize2fs /dev/lv/home 9G
  4. Resize LV.
    # lvresize -L10G /dev/lv/home
  5. Check the status of the LV.
    # lvdisplay /dev/q/home
  6. Check and resize filesystem to the maximum size of LV.
    # e2fsck -f /dev/lv/home
    # resize2fs /dev/lv/home
 
doc/lvm.1376614107.txt.gz · Last modified: 2013/08/16 00:48 by stwn · [Old revisions]
Recent changes RSS feed Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki