Difference between revisions of "Shrink ext4 volume"
Latest revision as of 10:12, 30 June 2022
e2fsck -f /dev/mapper/foo
Check minimum size
resize2fs -P /dev/mapper/foo
gives you minimum size in 4k blocks
resize2fs -p /dev/mapper/foo 500G
lresize -L 500T /dev/mapper/foo