14Sep/11Off
LVM / XFS volume shrink
Here is a short list of the commands allowing to shrink a XFS LVM volume. The example mentions how to shrink 5Go of the /home mount point.
xfsdump -f home.dump /home
umount /home
lvmreduce -L-5G /dev/mapper/VOL0-home
mkfs.xfs /dev/mapper/VOL0-home
mount /home
xfsrestore -f home.dump /home