Shrink/Reduce/Resize LVM with Swap on Elementary OS 0.2-Luna/0.3-Freya/0.4-Loki
Hi! The Tutorial shows you Step-by-Step How to Reduce/Shrink/Resize a LVM/LVM2 Volume to Free Up Space on Elementary OS 0.2-Luna/0.3-Freya/0.4-Loki/5.0-Juno/5.1-Hera GNU/Linux Desktop.
After to have Shrinked the LVM Logical Volume to FREE up Space you will Need also to Reduce the Physical LVM Volume!

Boot System with Ubuntu (Elementary/Kubuntu/Lubuntu/Xubuntu) Live Media.
How to Create a Live Ubuntu Media
Open Terminal Window
Ctrl+Alt+t
(Press “Enter” to Execute Commands)In case first see: Terminal QuickStart Guide.
Find the LVM Volume Name to Shrink
sudo su && lvmdiskscan
It will be of the Form: /dev/my-vg/my-lv
And if it’s the Root Volume it should Contains the ‘root’ Keyword…Shrinking/Reducing a LVM Volume on Elementary OS.
Specifing the Final Size:
lvreduce --resizefs --size 100G /dev/my-vg/my-lv
/nor Specifing the Amount to Take Off:
lvreduce --resizefs --size -50G /dev/my-vg/my-lv
The ‘–resizefs‘ Flag is Fundamental in Succeeding because First, as needed it will Resize the File System.
How to Shrink the LVM Physical Volume to Free Up Space
Elementary Shrinking LVM Physical VolumePlease Donate $1 to Remove Ads!