On Wed, 5 May 2004, Johann Lombardi wrote:
> Here is the output of xfs_db:
>
> # xfs_db /dev/sdc
> xfs_db: sb 0
> xfs_db: p dblocks
> dblocks = 6553600 hm, (2^16)*100?
> xfs_db: p agcount
> agcount = 26
> xfs_db: p agblocks
> agblocks = 262144
>
> dblocks is not 0, so we must be in the second case.
> Is agcount x agblocks supposed to be equal to dblocks?
the last ag can be smaller, so no, not quite equal.
the test you're failing is whether dblocks > agcount * agblocks.
6553600 is a very.... interesting number for dblocks, strikes me
as too round. :)
i forget, have you tried repair on this filesystem?
you can use the -n switch to do a dry run first.
what do the other superblocks have to say - try "sb 25" instead
of sb 0, etc.
have you run growfs on this filesystem? looks to me like
maybe some sb corruption - you might also do just
"sb 0" and "p" to print all fields.
-eric
|