Centos | Decrease a LVM partition
Shrinking a root volume | Step 1:
vgchange -a y
Shrinking a non-root volume | Step 1:
umount /dev/centos/var
All following steps now apply to both a root or non-root volume.
Check file system:
e2fsck -fy /dev/centos/var
Resize file system:
The follwing command will shrink the file system so that it is only 4G in size in total!!
resize2fs /dev/centos/var 4G
Reduce Logical Volume:
To reduce to 5G
lvreduce -L 5G /dev/vg/disk-name
To reduce by 5G
lvreduce -L -5G /dev/vg/disk-name
Resize file system (again):
resize2fs /dev/centos/var
Now just mount the file system and thats it.
mount /dev/centos/var /mnt
Source: https://www.rootusers.com/lvm-resize-how-to-decrease-an-lvm-partition/