Atlantilde Blog d'Alexandre Anriot

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

Tagged as: , Comments Off
Comments (0) Trackbacks (0)

Sorry, the comment form is closed at this time.

Trackbacks are disabled.