public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Dave Chinner <david@fromorbit.com>
To: "Vincent,Wei" <weikun0905@gmail.com>
Cc: xfs@oss.sgi.com
Subject: Re: Some problem about the xfs_db??
Date: Tue, 15 Mar 2011 21:06:35 +1100	[thread overview]
Message-ID: <20110315100635.GN15097@dastard> (raw)
In-Reply-To: <AANLkTimHb2J80CDYPKCXN3yB5=iQ=1ZvQd4iVBFRuiri@mail.gmail.com>

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

      reply	other threads:[~2011-03-15 10:04 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-15  6:46 Some problem about the xfs_db?? Vincent,Wei
2011-03-15 10:06 ` Dave Chinner [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110315100635.GN15097@dastard \
    --to=david@fromorbit.com \
    --cc=weikun0905@gmail.com \
    --cc=xfs@oss.sgi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox