Shringking a File System on a Logical Volume

From NovaOrdis Knowledge Base
Jump to navigation Jump to search

External

Internal

Overview

This is the simple case, it will only work if the logical volume *does not* contain a partition table:

fsadm

or

umount lvm_partition
resize2fs /dev/vg/lv newSize
lvresize -L disksize /dev/vg/lv
resize2fs /dev/vg/lv