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
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
=External=
=External=
* https://www.howtogeek.com/howto/40702/how-to-manage-and-use-lvm-logical-volume-management-in-ubuntu/


=Internal=
=Internal=


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


=Overview=
=Overview=

Latest revision as of 18:46, 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