1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 # Unmount the filesystem and check its’ LV umount /mnt/foo e2fsck -f /dev/mapper/vg0-foo # Shrink ext4 and then the LV to the desired size resize2fs -p /dev/mapper/vg0-foo 40G lvreduce -L 40G /dev/mapper/vg0-foo #
(More)…







