shrink XFS partition

Below you find a description how to reduce a XFS partition. Important: This contains a full backup and restore of all data because XFS does not support shrinking. Environment Arch Linux (Kernel 5.15.82-1-lts) XFS partition on LVM (vg_root/lv_home) Workflow Boot Arch Linux from an USB drive Mount an USB disk for the backup datamount /dev/sdc1 /mnt/usb Store the UUIDblkid /dev/mapper/vg_root-lv_root > /mnt/usb/uuid Install xfsdumppacman -Sy xfsdump Mount the LVmkdir /mnt/vg_root-lv_homemount […]

shrink XFS partition Read More »