public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* Some problem about the xfs_db??
@ 2011-03-15  6:46 Vincent,Wei
  2011-03-15 10:06 ` Dave Chinner
  0 siblings, 1 reply; 2+ messages in thread
From: Vincent,Wei @ 2011-03-15  6:46 UTC (permalink / raw)
  To: xfs


[-- Attachment #1.1: Type: text/plain, Size: 418 bytes --]

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?


Thanks for your help!!

[-- Attachment #1.2: Type: text/html, Size: 709 bytes --]

[-- Attachment #2: Type: text/plain, Size: 121 bytes --]

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Some problem about the xfs_db??
  2011-03-15  6:46 Some problem about the xfs_db?? Vincent,Wei
@ 2011-03-15 10:06 ` Dave Chinner
  0 siblings, 0 replies; 2+ messages in thread
From: Dave Chinner @ 2011-03-15 10:06 UTC (permalink / raw)
  To: Vincent,Wei; +Cc: xfs

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

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-03-15 10:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-15  6:46 Some problem about the xfs_db?? Vincent,Wei
2011-03-15 10:06 ` Dave Chinner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox