XFS_FSR has been very stable -- I've been running it since before
xfs was merged into the kernel.
I have the following file, named "fsr" in my /etc/cron.daily:
fsr:
#!/bin/bash
/usr/sbin/xfs_fsr
----
I would think /bin/sh or /bin/sh would work equally well.
_File_ fragmentation is a virtual non-issue on my disks, however,
xfs_fsr only works on my file data. It doesn't work
on directory data. On a 118G partition nearing 79% capacity,
printing the defragmentation data from xfs_db:
files:
actual 316870, ideal 316652, fragmentation factor 0.07%
directories:
actual 2538, ideal 1330, fragmentation factor 47.60%
I don't know about other data types (attr, symlink, quota,
realtime, realtime control) as I don't believe I have
any of those types on my volumes...But, hey, file fragmentation
seems to be handled! :-)
Linda
Fong Vang wrote:
This is very useful. Thank you. How stable is xfs_fsr?
|