<br><br><div class="gmail_quote">On Tue, Jun 7, 2011 at 12:02 AM, David Whyte <span dir="ltr"><<a href="mailto:david.whyte@gmail.com">david.whyte@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On Tue, Jun 7, 2011 at 8:52 AM, belcampo <<a href="mailto:belcampo@zonnet.nl">belcampo@zonnet.nl</a>> wrote:<br>
> On 06/06/11 23:03, Kenneth Emerson wrote:<br>
>> I hadn't given much thought to fragmentation of my recordings volume<br>
>> (XFS) until reading through some other threads recently that mentioned<br>
>> how fragmented and XFS file system could become. After running xfs_db,<br>
>> I found out that my fs appeared to be quite bad:<br>
>><br>
>> $ sudo xfs_db -c frag -r /dev/mapper/appl_vg-appl_lv<br>
>> actual 1138668, ideal 11023, fragmentation factor 99.03%<br>
<br>
</div>I have a cron job that runs daily to defrag my drives. Not too sure<br>
if this is overkill. It should probably run weekly or something<br>
instead. But yes, I have found that as the disk becomes more full, it<br>
becomes less effective at reducing fragmentation.<br>
<div><div></div><div class="h5"><br></div></div></blockquote><div><br></div><div>I took my questions over to the xfs mail list and received some interesting information / answers. Rather than try to cut and paste all of the responses I received, I will give a link to the thread in the xfs archvies. I recommend that anyone using xfs as their recordings file system read through the responses for nuggets of information. Specifically, there were recommendations regarding defragging and the use of fsync.</div>
<div><br></div><div>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.</div>
<div><br></div><div><meta http-equiv="content-type" content="text/html; charset=utf-8"><a href="http://oss.sgi.com/pipermail/xfs/2011-June/050905.html">http://oss.sgi.com/pipermail/xfs/2011-June/050905.html</a></div><div>
<br></div><div>Regards,</div><div><br></div><div>Ken E.</div><div> </div></div>