xfs
[Top] [All Lists]

Re: Some problem about the xfs_db??

To: "Vincent,Wei" <weikun0905@xxxxxxxxx>
Subject: Re: Some problem about the xfs_db??
From: Dave Chinner <david@xxxxxxxxxxxxx>
Date: Tue, 15 Mar 2011 21:06:35 +1100
Cc: xfs@xxxxxxxxxxx
In-reply-to: <AANLkTimHb2J80CDYPKCXN3yB5=iQ=1ZvQd4iVBFRuiri@xxxxxxxxxxxxxx>
References: <AANLkTimHb2J80CDYPKCXN3yB5=iQ=1ZvQd4iVBFRuiri@xxxxxxxxxxxxxx>
User-agent: Mutt/1.5.20 (2009-06-14)
On Tue, Mar 15, 2011 at 02:46:04PM +0800, Vincent,Wei wrote:
> Hi all
>      I used the xfs_db to check the fragment about my disk.
> First I had format the disk,then I try to write the file on it.
> 5min later, we use df -h to check:
> /dev/sda1               465.6G    295.4M    465.3G   0% /mnt/hdd0
> Now I use the :
> xfs_db -c frag  -r /dev/sda1
> actual 616, ideal 30, fragmentation factor 95.13%
> 
> why?? this is nearly a new disk!!! How can it so many fragments?

What kernel? What's the output of "xfs_info <mntpt>"? What command
did you use to write the file? What's the extent map of the file
look like (i.e. xfs_bmap output)? 

Cheers,

Dave.
-- 
Dave Chinner
david@xxxxxxxxxxxxx

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