[Top] [All Lists]

Re: cannot defrag volume, fragmentation factor 21.73%

To: xfs@xxxxxxxxxxx
Subject: Re: cannot defrag volume, fragmentation factor 21.73%
From: Stan Hoeppner <stan@xxxxxxxxxxxxxxxxx>
Date: Mon, 18 Oct 2010 15:16:40 -0500
In-reply-to: <4CBC3910.70806@xxxxxxxxxxxxxxxxx>
References: <4CBC3910.70806@xxxxxxxxxxxxxxxxx>
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv: Gecko/20100915 Thunderbird/3.1.4
Richard Ems put forth on 10/18/2010 7:09 AM:

> I ran several times xfs_fsr, but the 21.73% factor stays there.
> There where some busy or modified files on which I started xfs_fsr later
> again, but this ones where small files and the 21.73% is still there.
> Any ideas?

Yes.  The answer is in a thread in last month's archive:

Dave Chinner put forth on 9/11/2010 3:23 AM:

> xfs_db used buffered IO on the block device, which is not coherent
> with the filesystem. If you are using it on an active filesystem,
> then running "echo 1 > /proc/sys/vm/drop_caches" before you run
> xfs_db should make it read from disk at least once....


<Prev in Thread] Current Thread [Next in Thread>