Topic: [SOLVED][Bug report filed]Problem copying XFS to new smaller partition
I've been trying to simulate shrinking of an XFS partition by using the copy functionality in gparted (i.e copying /dev/sda3 to a smaller XFS partition /dev/sdb2, then removing /dev/sda3 and copying it back). However, I always get the error:
"the destination is smaller than the source partition"
From the features page (http://gparted.sourceforge.net/features.php) it mentions that this should be possible: "Although it's not possible to shrink an xfs file system directly, you can shrink it using GParted's copy functionality." so I'm not sure whether I'm doing something wrong. I know that xfsdump expects the filesystem to be mounted but I can't copy once its mounted as it wont let me.
I'm selecting the source and clicking copy, then selecting the unallocated space and clicking paste. Clicking Apply I then see the error.
Any help appreciated!
Thanks
steveybaby2
GParted 0.9.1 --enable-libparted-dmraid
Libparted 2.3
Copy /dev/sda3 to /dev/sdb (start at 670.68GiB) 00:00:00 (ERROR)
calibrate /dev/sda3 00:00:00 (SUCCESS)
path: /dev/sda3
start: 8675100
end: 2930272064
size: 2921596965 (1.36 TiB)
the destination is smaller than the source partition (ERROR)