Some problem about the xfs_db??

Dave Chinner david at fromorbit.com
Tue Mar 15 05:06:35 CDT 2011


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 at fromorbit.com




More information about the xfs mailing list