xfs
[Top] [All Lists]

Re: Unsupported sector size

To: Eric Sandeen <sandeen@xxxxxxx>
Subject: Re: Unsupported sector size
From: Johann Lombardi <johann.lombardi@xxxxxxx>
Date: Thu, 6 May 2004 21:27:02 +0200
Cc: Nathan Scott <nathans@xxxxxxx>, <linux-xfs@xxxxxxxxxxx>
In-reply-to: <Pine.LNX.4.44.0405051202070.29190-100000@xxxxxxxxxxxxxxxxxxxxxx>
References: <Pine.LNX.4.44.0405051202070.29190-100000@xxxxxxxxxxxxxxxxxxxxxx>
Reply-to: johann.lombardi@xxxxxxx
Sender: linux-xfs-bounce@xxxxxxxxxxx
User-agent: KMail/1.5.4
> 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.

# xfs_repair /dev/sdc
Phase 1 - find and verify superblock...
bad primary superblock - inconsistent filesystem geometry information !!!
....
attempting to find secondary superblock...
...

Then, xfs_repair always prints the same message followed by several dots:
found candidate secondary superblock...
error reading superblock 26 -- seek to offset 111669149696 failed
unable to verify superblock, continuing...

> 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
No

> maybe some sb corruption - you might also do just
> "sb 0" and "p" to print all fields.

Here is the results for sb 0, 25 and 26:

********
* sb 0 *
********
magicnum = 0x58465342
blocksize = 16384
dblocks = 6553600
rblocks = 0
rextents = 0
uuid = 1500cda4-08c9-4e61-8d65-33f13f974a77
logstart = 3407876
rootino = 512
rbmino = 513
rsumino = 514
rextsize = 4
agblocks = 262144
agcount = 26
rbmblocks = 0
logblocks = 1000
versionnum = 0x2004
sectsize = 512
inodesize = 256
inopblock = 64
fname = "\000\000\000\000\000\000\000\000\000\000\000\000"
blocklog = 14
sectlog = 9
inodelog = 8
inopblog = 6
agblklog = 18
rextslog = 0
inprogress = 0
imax_pct = 25
icount = 64
ifree = 61
fdblocks = 6552495
frextents = 0
uquotino = 0
gquotino = 0
qflags = 0
flags = 0
shared_vn = 0
inoalignmt = 0
unit = 0
width = 0
dirblklog = 0
xfs_db: sb 25
xfs_db: p
magicnum = 0x58465342
blocksize = 16384
dblocks = 6553600
rblocks = 0
rextents = 0
uuid = 1500cda4-08c9-4e61-8d65-33f13f974a77
logstart = 3407876
rootino = 512
rbmino = null
rsumino = null
rextsize = 4
agblocks = 262144
agcount = 26
rbmblocks = 0
logblocks = 1000
versionnum = 0x2004
sectsize = 512
inodesize = 256
inopblock = 64
fname = "\000\000\000\000\000\000\000\000\000\000\000\000"
blocklog = 14
sectlog = 9
inodelog = 8
inopblog = 6
agblklog = 18
rextslog = 0
inprogress = 1
imax_pct = 25
icount = 0
ifree = 0
fdblocks = 6552496
frextents = 0
uquotino = 0
gquotino = 0
qflags = 0
flags = 0
shared_vn = 0
inoalignmt = 0
unit = 0
width = 0
dirblklog = 0

********
* sb 25 *
********
magicnum = 0x58465342
blocksize = 16384
dblocks = 6553600
rblocks = 0
rextents = 0
uuid = cdb99a26-ca18-4434-83e6-aaf4702fec66
logstart = 3407876
rootino = 512
rbmino = null
rsumino = null
rextsize = 4
agblocks = 262144
agcount = 26
rbmblocks = 0
logblocks = 1000
versionnum = 0x2004
sectsize = 512
inodesize = 256
inopblock = 64
fname = "\000\000\000\000\000\000\000\000\000\000\000\000"
blocklog = 14
sectlog = 9
inodelog = 8
inopblog = 6
agblklog = 18
rextslog = 0
inprogress = 1
imax_pct = 25
icount = 0
ifree = 0
fdblocks = 6552496
frextents = 0
uquotino = 0
gquotino = 0
qflags = 0
flags = 0
shared_vn = 0
inoalignmt = 0
unit = 0
width = 0
dirblklog = 0

********
* sb 26 *
********
bad allocation group number 26

Thanks for your help,
Johann


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