Maintaining your XFS with XFS Filesystem Reorganiser xfs_fsr to defrag | Thushan Fernando Uncut
Mon 17 February 2014
XFS Disk reorganise
I found a fair useful article on defragmenting big xfs filesystems.
Whats useful here is that xfs allows you to defrag whilst the machine is running !
Maintaining your XFS with XFS Filesystem Reorganiser xfs_fsr to defrag | Thushan Fernando Uncut.
tardis:~# xfs_db -c frag -r /dev/cciss/c1d0p1
actual 1004877, ideal 541345, fragmentation factor 46.13%
tardis:~# xfs_fsr -t 25200 /dev/cciss/c1d0p1 -v
tardis:~# xfs_db -c frag -r /dev/cciss/c1d0p1
and ill run this tomorrow see what happens