http://go7cnxivpns4x2trczyaabxwnrz7bwlxjiverkc32o4mjd5npjukpqid.onion/blog/2024-02-22-shrinking-xfs-partition-on-lvm.html
According to Jan Engelhardt doing it in small steps helps a bit: it cannot be shrunk all at once, but if you loop it: # xfs_growfs -D 50335744 /mnt
[EXPERIMENTAL] try to shrink unused space 50335744, old size is 67108864
xfs_growfs: XFS_IOC_FSGROWFSDATA xfsctl failed: No space left on device
# for ((i=67108864;i > =0;i-=4096)); do xfs_growfs -D $i /mnt || break; done it will run for a while until 50331648 or something.