xfs
[Top] [All Lists]

RE: how to defragment xfs?

To: <mingz@xxxxxxxxxxx>
Subject: RE: how to defragment xfs?
From: "Allan Haywood" <allanh@xxxxxxxxxxxxxx>
Date: Wed, 31 Aug 2005 18:38:12 -0400
Cc: "Lonni J Friedman" <netllama@xxxxxxxxxxxxx>, "David Chinner" <dgc@xxxxxxx>, "xfs" <linux-xfs@xxxxxxxxxxx>
Sender: linux-xfs-bounce@xxxxxxxxxxx
Thread-index: AcWuefHJ0pPk5aQPR1K0F5rBsjkmTgAAo/ow
Thread-topic: how to defragment xfs?
thanks!


how to defragment the whole FS?


this is only to check fragment right?

----------------------

Correct, it only checks, it doesn't make any changes to fragmentation at
all.


> ----------------------------
> 
> 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
> 
> 
> 
> 



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