From owner-freebsd-fs@FreeBSD.ORG Fri Sep 14 05:29:38 2012 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 46F2B1065676 for ; Fri, 14 Sep 2012 05:29:38 +0000 (UTC) (envelope-from Newsletter@goelli.de) Received: from mo6-p05-ob.rzone.de (mo6-p05-ob.rzone.de [IPv6:2a01:238:20a:202:5305::1]) by mx1.freebsd.org (Postfix) with ESMTP id A05228FC19 for ; Fri, 14 Sep 2012 05:29:37 +0000 (UTC) X-RZG-CLASS-ID: mo05 X-RZG-AUTH: :ImkTZkytb+s5KUDumTG4i0mGDH1K4fweaf9O+/5rQT5iu9PH4l7+wOwXkwRei9E= Received: from goelliNotebook (pD9FE297A.dip.t-dialin.net [217.254.41.122]) by smtp.strato.de (jored mo10) (RZmta 30.14 DYNA|AUTH) with ESMTPA id 907d7ao8E5NoYb ; Fri, 14 Sep 2012 07:29:36 +0200 (CEST) From: =?utf-8?Q?Thomas_G=C3=B6llner_=28Newsletter=29?= To: "'Volodymyr Kostyrko'" References: <001a01cd900d$bcfcc870$36f65950$@goelli.de> <504F282D.8030808@gmail.com> <000a01cd90aa$0a277310$1e765930$@goelli.de> <5050461A.9050608@gmail.com> In-Reply-To: <5050461A.9050608@gmail.com> Date: Fri, 14 Sep 2012 07:29:35 +0200 Message-ID: <000001cd9239$ed734c80$c859e580$@goelli.de> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQJeoooVG2eNN70r/NZmey5KTcQ1/AH9GaMbAUqasjACcrqh/pY5VvFg Content-Language: de 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? X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Sep 2012 05:29:38 -0000 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 ". 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?