Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Nov 2012 22:34:56 -0800 (PST)
From:      Beeblebrox <zaphod@berentweb.com>
To:        freebsd-fs@freebsd.org
Subject:   Re: [ZFS] How to fix corrupt ZDB
Message-ID:  <1352356496801-5759081.post@n5.nabble.com>
In-Reply-To: <8F907219A6904829A66E1E9A01696CF4@multiplay.co.uk>
References:  <1352294866076-5758864.post@n5.nabble.com> <509A66D2.5060706@gmail.com> <8F907219A6904829A66E1E9A01696CF4@multiplay.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi everyone, thanks for the help / suggestions. Starting with Steve's
suggestion:

*# zpool reguid bsdr*
Did not change the original ashift output for ZDB but resulted in all labels
being erased:

*# zdb -l **
--------------------------------------------
LABEL 0
--------------------------------------------
failed to read label 0
--------------------------------------------
LABEL 1
--------------------------------------------
failed to read label 1
--------------------------------------------
LABEL 2
--------------------------------------------
failed to read label 2
--------------------------------------------
LABEL 3
--------------------------------------------
failed to read label 3
(I suppose ZDB has multiple labels because I had re-created the root pool
bsdr several times in the past year on the same HDD). This command also did
not change the corrupt entry for an old pool:

*# zdb -c **
zdb: can't open 'asp': No such file or directory

Finally, *# zpool status*
pool: bsdr
state: ONLINE
scan: scrub repaired 0 in 0h25m with 0 errors
config:
	NAME        STATE     READ WRITE CKSUM
	bsdr        ONLINE       0     0     0
	  ada0      ONLINE       0     0     0
	logs
	  ada1p9    ONLINE       0     0     0
errors: No known data errors





--
View this message in context: http://freebsd.1045724.n5.nabble.com/ZFS-How-to-fix-corrupt-ZDB-tp5758864p5759081.html
Sent from the freebsd-fs mailing list archive at Nabble.com.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1352356496801-5759081.post>