[Top] [All Lists]

Re: cannot defrag volume, fragmentation factor 21.73%

To: Michael Monnerie <michael.monnerie@xxxxxxxxxxxxxxxxxxx>
Subject: Re: cannot defrag volume, fragmentation factor 21.73%
From: Richard Ems <richard.ems@xxxxxxxxxxxxxxxxx>
Date: Mon, 18 Oct 2010 15:46:31 +0200
Cc: xfs@xxxxxxxxxxx
In-reply-to: <201010181439.48143@xxxxxx>
References: <4CBC3910.70806@xxxxxxxxxxxxxxxxx> <201010181439.48143@xxxxxx>
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20100914 SUSE/3.1.4 Thunderbird/3.1.4
On 10/18/2010 02:39 PM, Michael Monnerie wrote:
On Montag, 18. Oktober 2010 Richard Ems wrote:
I ran several times xfs_fsr, but the 21.73% factor stays there.

Possibly you have some very big files which cannot be defraged? What
output does xfs_fsr -v give?

There are no very big files, surely some with a couple of GBs but not more. All files are defragmented.

Attached the gzipped output of 3 runs of xfs_fsr generated with the command:

{ set -x ; for i in 1 2 3 ; do date ; echo frag | xfs_db -r /dev/disk/by-label/data1 ; date ; xfs_fsr -v /data_1/ ; date ; echo frag | xfs_db -r /dev/disk/by-label/data1 ; date ; done ; set +x ;} > ~/logs/defrag/data1/xfs_fsr-HOME-2010.10.18-1.log 2>&1 &

Thanks, Richard

Richard Ems       mail: Richard.Ems@xxxxxxxxxxxxxxxxx

Cape Horn Engineering S.L.
C/ Dr. J.J. Dómine 1, 5º piso
46011 Valencia
Tel : +34 96 3242923 / Fax 924

Attachment: xfs_fsr-HOME-2010.10.18-1.log.gz
Description: GNU Zip compressed data

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