public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Eric Sandeen <sandeen@sandeen.net>
To: Hxsrmeng <hxsrmeng@gmail.com>
Cc: linux-xfs@oss.sgi.com
Subject: Re: Newbie question about xfs_db with the response message "unexpected XFS SB magic number 0x2e524d46"
Date: Fri, 14 Sep 2007 15:42:24 -0500	[thread overview]
Message-ID: <46EAF230.4030407@sandeen.net> (raw)
In-Reply-To: <12682767.post@talk.nabble.com>

Hxsrmeng wrote:
> OpenSUSE10.2. and 2.6.22-rc7-default XFS
> 1)
> I'd like to run "xfs_db -f -c "sb 0" -c "p" ./myfile | egrep
> 'agcount|inopblog|agblklog'" to see the three values.

if "myfile" is a file on your xfs filesystem, then that's not right.
xfs_db needs to be pointed at a block device (or filesystem image file)
containing an xfs filesystem.  You can look at it while it's mounted,
though (IIRC) the information may not be perfectly in sync with the fs's
data.

agcount, inopblog, etc are parameters of an xfs filesystem, not a file
on that filesystem.

What are you trying to learn (about your file or filesystem?)

-Eric

  reply	other threads:[~2007-09-14 20:42 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-14 20:07 Newbie question about xfs_db with the response message "unexpected XFS SB magic number 0x2e524d46" Hxsrmeng
2007-09-14 20:42 ` Eric Sandeen [this message]
2007-09-14 20:58   ` Hxsrmeng
2007-09-14 21:21     ` Eric Sandeen

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=46EAF230.4030407@sandeen.net \
    --to=sandeen@sandeen.net \
    --cc=hxsrmeng@gmail.com \
    --cc=linux-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