Shringking a File System on a Logical Volume

From NovaOrdis Knowledge Base
Revision as of 18:44, 23 May 2017 by Ovidiu (talk | contribs) (Created page with "=External= =Internal= * [[]] =Overview= <font color=red> This is the simple case, ''it will only work if the logical volume *does not* contain a partition table'': <pre>...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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