[mythtv-users] Defragging XFS File Systems

David Whyte david.whyte at gmail.com
Tue Jun 7 05:02:18 UTC 2011


On Tue, Jun 7, 2011 at 8:52 AM, belcampo <belcampo at zonnet.nl> wrote:
> On 06/06/11 23:03, Kenneth Emerson wrote:
>> I hadn't given much thought to fragmentation of my recordings volume
>> (XFS) until reading through some other threads recently that mentioned
>> how fragmented and 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 have a cron job that runs daily to defrag my drives.  Not too sure
if this is overkill.  It should probably run weekly or something
instead.  But yes, I have found that as the disk becomes more full, it
becomes less effective at reducing fragmentation.


More information about the mythtv-users mailing list