Shringking a File System on a Logical Volume: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
(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>...")
 
No edit summary
Line 3: Line 3:
=Internal=
=Internal=


* [[]]
* [[Linux_Logical_Volume_Management_Operations#Procedures|Logical Volume Management Procedures]]


=Overview=
=Overview=

Revision as of 18:45, 23 May 2017

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