From: Hxsrmeng <hxsrmeng@gmail.com>
To: linux-xfs@oss.sgi.com
Subject: Newbie question about xfs_db with the response message "unexpected XFS SB magic number 0x2e524d46"
Date: Fri, 14 Sep 2007 13:07:00 -0700 (PDT) [thread overview]
Message-ID: <12682767.post@talk.nabble.com> (raw)
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.
I mounted my xfs_disk.
Then I run :
xfs_db -f -c "sb 0" -c "p" ./loop | egrep
'agcount|inopblog|agblklog'
It said:
xfs_db: unexpected XFS SB magic number 0x2e524d46
Floating point exception
I don't know what the problem is.
But if I umount my xfs_disk,
Then I run
xfs_db {my_xfs_device}
xfs_db>sb
xfs_db>p
It's OK.But I can not see things about ./myfile now, since my xfs_disk is
umounted.
2)
I have to umount my xfs_disk before I use xfs_db, correct?
3)
If I want to read the inode content of a file, say, myfile, I should
"ls -li myfile" to get the inode number of myfile
Then
"xfs_db> inode <inode number>" to read the content of inode
Is what I said correct?
Thanks in advance.
--
View this message in context: http://www.nabble.com/Newbie-question-about-xfs_db-with-the-response-message-%22unexpected-XFS-SB-magic-number-0x2e524d46%22-tf4444973.html#a12682767
Sent from the linux-xfs mailing list archive at Nabble.com.
next reply other threads:[~2007-09-14 20:24 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-14 20:07 Hxsrmeng [this message]
2007-09-14 20:42 ` Newbie question about xfs_db with the response message "unexpected XFS SB magic number 0x2e524d46" Eric Sandeen
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=12682767.post@talk.nabble.com \
--to=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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.