Stephan van Hienen wrote:
The file is using almost double the size ? Even after a few days the file is showing the same disk usage. Only umounting and remounting the filesystem fixes the problem. When I do the same test on an ext4 filesystem no issues. (same server/client)
What does:
/usr/sbin/xfs_bmap -pl 10Gtest
output (when run on the server)?
You can also 'recover' the lost space by running (as root on the server):
/usr/sbin/xfs_fsr 10Gtest
James Pearson
P.S. you can also see the allocated size of a file using the -s option to ls