Defragging XFS File Systems

Stan Hoeppner stan at hardwarefreak.com
Tue Jun 7 07:05:54 CDT 2011


On 6/6/2011 10:52 PM, Kenneth Emerson wrote:
> I hadn't given much thought to fragmentation of my TV recordings volume
> (XFS) until reading through some MythTV-users threads recently that
> mentioned how fragmented an XFS file system could become.  After running
> xfs_db, I found out that my fs appeared to be quite bad:
> 
> $ sudo xfs_db -c frag -r /dev/mapper/appl_vg-appl_lv
>  actual 1138668, ideal 11023, fragmentation factor 99.03%
> 
> I then ran xfs_fsr with all defaults (ran for two hours) and then re-ran



More information about the xfs mailing list