xfs
[Top] [All Lists]

Re: Unsupported sector size

To: Johann Lombardi <johann.lombardi@xxxxxxx>
Subject: Re: Unsupported sector size
From: Eric Sandeen <sandeen@xxxxxxx>
Date: Wed, 5 May 2004 12:08:52 -0500 (CDT)
Cc: Nathan Scott <nathans@xxxxxxx>, <linux-xfs@xxxxxxxxxxx>
In-reply-to: <200405051900.14735.johann.lombardi@free.fr>
Sender: linux-xfs-bounce@xxxxxxxxxxx
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



<Prev in Thread] Current Thread [Next in Thread>