Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Sep 2012 07:29:35 +0200
From:      =?utf-8?Q?Thomas_G=C3=B6llner_=28Newsletter=29?= <Newsletter@goelli.de>
To:        "'Volodymyr Kostyrko'" <c.kworr@gmail.com>
Cc:        freebsd-fs@freebsd.org
Subject:   AW: AW: ZFS: Corrupted pool metadata after adding vdev to a pool - no opportunity to rescue data from healthy vdevs? Remove a vdev? Rewrite metadata?
Message-ID:  <000001cd9239$ed734c80$c859e580$@goelli.de>
In-Reply-To: <5050461A.9050608@gmail.com>
References:  <001a01cd900d$bcfcc870$36f65950$@goelli.de> <504F282D.8030808@gmail.com> <000a01cd90aa$0a277310$1e765930$@goelli.de> <5050461A.9050608@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Thanks for the code. It helped a little bit to understand some details.

I tried the "-e" Option of "zdb" and I listed the uberblocks of the =
discs with "zdb -l -u <dev>".
As I can see, the there is a "create_txg: 56482". With the uberblocks I =
was able to find the corresponding date/time which is the time I added =
the new vdev.

But every command and option combo I'm trying gets me just two results:
"Input/output error" or
"Device not configured"
So I can't read out data via "-bbb" or so...

Perhaps there was more destroyed during the process of creating and =
adding the new vdev than I thought first. It seems to me, that the =
NAS4free GUI mixed up the discs during formatting or something like =
that. After adding the new vdev I hat 16TB of space which was way too =
much and in the info I could see the discs of the old vdev twice... But =
the NAS was still playing out my data. After the restart the pool =
faulted.

So my last idea is the "-C" option of the "zdb" command. Perhaps I can =
give a new config which it has to use. But where do I find the config =
file or what is it supposed to look like?

I also think there is no way to write new or edit the lables of the =
discs?




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000001cd9239$ed734c80$c859e580$>