[mythtv-users] Defragging XFS File Systems

belcampo belcampo at zonnet.nl
Fri Jun 10 16:55:24 UTC 2011


On 06/10/11 15:56, John Drescher wrote:
> On Fri, Jun 10, 2011 at 9:48 AM, Mark Boyum<mark at boyum.us>  wrote:
>> The answer to my specific problem (the errors that I got did
>> disappear) of a horribly fragmented fs is to back it up, reformat, and
>> restore. No way to defrag my file system when it is as full as it is.
>>>
>>> http://oss.sgi.com/pipermail/xfs/2011-June/050905.html
>>
>>
>> So what you're telling me is that "actual 1144923, ideal 3139,
>> fragmentation factor 99.73%" is bad?
>>
>
> Although I do not use xfs anymore (moved to ext4 while waiting for
> btrfs or zfs to become stable under linux)  isn't there a way of
> reducing the chance of fragmentation by setting the minimum allocation
> or block size or similar (sorry can't remember the correct term)?
Yes as it's mentioned several times on this list
mount option allocsize=512M or 1024M will result in almost no 
fragmentation at all.
>
> John
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://www.mythtv.org/mailman/listinfo/mythtv-users



More information about the mythtv-users mailing list