On Wed, 2005-08-31 at 18:08 -0400, Allan Haywood wrote:
> On Thu, 1 Sep 2005, David Chinner wrote:
> > On Wed, Aug 31, 2005 at 04:52:23PM -0400, Ming Zhang wrote:
> > > Hi folks
> > >
> > > I wonder how I can defragment the xfs?
> >
> > Ob-FAQ: Google is your friend:
> >
> > http://www.google.com/search?q=how+to+defragment+XFS
> >
> > xfs_fsr(8) is what you want - it's in the xfsdump package IIRC...
>
> And that assumes that you need to defragment your fs in the first place.
>
thanks!
how to defragment the whole FS?
this is only to check fragment right?
> ----------------------------
>
> You can use the following command to check fragmentation:
>
> xfs_db -c frag -r /dev/md0
>
> replace /dev/md0 with the name of the device you want to check.
>
> This is what the output will look like:
>
> actual 184, ideal 176, fragmentation factor 4.35%
>
>
> Allan Haywood
> Data Warehouse Systems Specialist
> DATAllegro
> 65 Enterprise
> Aliso Viejo, CA 92656
> 949.330.7633 direct
> 949.330.7691 fax
> E-mail: allanh@xxxxxxxxxxxxxx
> Web: www.Datallegro.com
>
>
>
>
|