this is on openSUSE 11.3.
# uname -a
Linux fs1 18.104.22.168-0.3-default #1 SMP 2010-09-20 15:27:38 +0200 x86_64
x86_64 x86_64 GNU/Linux
# echo frag | xfs_db -r /dev/disk/by-label/data1
xfs_db> actual 6451844, ideal 5050129, fragmentation factor 21.73%
# xfs_db -V
xfs_db version 3.1.2
# xfs_fsr -V
xfs_fsr version 3.1.2
# df -h /dev/sdb1
Filesystem Size Used Avail Use% Mounted on
/dev/sdb1 17T 13T 4.3T 75% /data_1
The volume is new, 12TB were rsync'ed from another volume, some new
files came after the sync.
I ran several times xfs_fsr, but the 21.73% factor stays there.
There where some busy or modified files on which I started xfs_fsr later
again, but this ones where small files and the 21.73% is still there.
Richard Ems mail: Richard.Ems@xxxxxxxxxxxxxxxxx
Cape Horn Engineering S.L.
C/ Dr. J.J. Dómine 1, 5º piso
Tel : +34 96 3242923 / Fax 924