| To: | Hxsrmeng <hxsrmeng@xxxxxxxxx> |
|---|---|
| Subject: | Re: Newbie question about xfs_db with the response message "unexpected XFS SB magic number 0x2e524d46" |
| From: | Eric Sandeen <sandeen@xxxxxxxxxxx> |
| Date: | Fri, 14 Sep 2007 15:42:24 -0500 |
| Cc: | linux-xfs@xxxxxxxxxxx |
| In-reply-to: | <12682767.post@talk.nabble.com> |
| References: | <12682767.post@talk.nabble.com> |
| Sender: | xfs-bounce@xxxxxxxxxxx |
| User-agent: | Thunderbird 1.5.0.12 (X11/20070530) |
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 |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Newbie question about xfs_db with the response message "unexpected XFS SB magic number 0x2e524d46", Hxsrmeng |
|---|---|
| Next by Date: | Re: Newbie question about xfs_db with the response message "unexpected XFS SB magic number 0x2e524d46", Hxsrmeng |
| Previous by Thread: | Newbie question about xfs_db with the response message "unexpected XFS SB magic number 0x2e524d46", Hxsrmeng |
| Next by Thread: | Re: Newbie question about xfs_db with the response message "unexpected XFS SB magic number 0x2e524d46", Hxsrmeng |
| Indexes: | [Date] [Thread] [Top] [All Lists] |