From owner-freebsd-fs@FreeBSD.ORG Sat Sep 15 19:25:53 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 BF2B9106566C for ; Sat, 15 Sep 2012 19:25:53 +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 1D3A48FC0A for ; Sat, 15 Sep 2012 19:25:52 +0000 (UTC) X-RZG-CLASS-ID: mo05 X-RZG-AUTH: :ImkTZkytb+s5KUDumTG4i0mGDH1K4fweaf9O+/5rQT5ns8rb41Pk1w+AIjuAhQ== Received: from goelliNotebook (p4FEE5DCC.dip.t-dialin.net [79.238.93.204]) by smtp.strato.de (josoe mo22) (RZmta 30.14 DYNA|AUTH) with ESMTPA id R00920o8FJ6TP0 ; Sat, 15 Sep 2012 21:25:51 +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> <000001cd9239$ed734c80$c859e580$@goelli.de> <5052EC5D.4060403@gmail.com> <000a01cd9274$0aa0bba0$1fe232e0$@goelli.de> <505322C9.70200@gmail.com> In-Reply-To: <505322C9.70200@gmail.com> Date: Sat, 15 Sep 2012 21:25:49 +0200 Message-ID: <000001cd9377$e9e9b010$bdbd1030$@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/gFBByGfA1g04pUCQLd3HAGGeVDSlfjO6CA= Content-Language: de Cc: freebsd-fs@freebsd.org Subject: AW: AW: 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: Sat, 15 Sep 2012 19:25:53 -0000 >>> Try reading Max Bruning's blog at http://mbruning.blogspot.com/, = there's a good data walk on raidz and raidz on-disk format. >> >> I'll do that, thanks for pointing me to it. Ok... I did read some of it. And I understand so much that I see, that = what I want is possible, but far beyond my skills. >>>> I also think there is no way to write new or edit the lables of the = discs? >>> >>> This idea is called Block Pointer Rewrite and is not implemented = yet. I have found no code to do that. >> >> I thought it may come to this -.- Because during my last reading I = had to learn, that I have to find the "root block pointer" to recover = the maybe overwritten labels... As it changes place and content with = each copy on write process (each txg?) it will be a search for the = needle in the haystack... > > Not at all, what are you referring to is MOS and the one is contained = in each UberBlock. So as this thing is so far beyond my skills, I am sad to point out that = I have to give up here. Without someone who will take me by the hand and = say what to do step by step I think recovering/rewriting the right = labels of my discs is something I will not be able to do within one year = or so. It's a pity that ZFS still has no tools for recovering metadata = built in. This would be a task to think of in future. Thanks again for your help Volodymyr. It is a bit of consolation that at = least I know now that I have done everything I could.