From owner-freebsd-fs@FreeBSD.ORG Wed Aug 14 18:27:48 2013 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 7ABA8251 for ; Wed, 14 Aug 2013 18:27:48 +0000 (UTC) (envelope-from artemb@gmail.com) Received: from mail-vc0-x232.google.com (mail-vc0-x232.google.com [IPv6:2607:f8b0:400c:c03::232]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 3AC332CD8 for ; Wed, 14 Aug 2013 18:27:48 +0000 (UTC) Received: by mail-vc0-f178.google.com with SMTP id ha12so5437495vcb.37 for ; Wed, 14 Aug 2013 11:27:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=dlp7uBU/goYKfuwuXa6DesTCaRwvsGUrcjCYkoIRVBo=; b=kAyeIwLasN/lS2vp0Ki2j2ydlyKG/jvsYRO3i7o7NyYbPxknP3AgtU2x5Ycfep8NvM iheZzNYeaT8gUNcMrQZ9oxuJ68KgAB/SmGB+TqlfsQ6b6zLT76maRFbESLsGoTU64O1B GLLqEPMrIhCfJAFnA3Z+YN4nHBqAkKAmkdfjrdY+qVdpqNYIH2nxJuD5gQDFdtfJBtyD 0ZDA2YOo/bOOhN2OYviSOlPKQB95QdE965SyIosY8E3RlwM7EV+oYlCUSRtIimWmQr4P TlzS6MT2osx0Q+2LIrzKcTDv2KA7uFYy9G1U/SJWelTsMFMOxbZ8L5CHKXUK/72nNMOJ ZBWg== MIME-Version: 1.0 X-Received: by 10.52.166.108 with SMTP id zf12mr144311vdb.106.1376504867239; Wed, 14 Aug 2013 11:27:47 -0700 (PDT) Sender: artemb@gmail.com Received: by 10.220.68.205 with HTTP; Wed, 14 Aug 2013 11:27:47 -0700 (PDT) In-Reply-To: <96CA3382-A3C7-472A-82C9-20C1ACACD5B9@melmac.net> References: <96CA3382-A3C7-472A-82C9-20C1ACACD5B9@melmac.net> Date: Wed, 14 Aug 2013 11:27:47 -0700 X-Google-Sender-Auth: 1YxPhocHJA6Ygk1tzpLHTRlC1Po Message-ID: Subject: Re: kernel panics because of the corrupted zpool meta-data From: Artem Belevich To: Stan Grishin Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-fs X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Aug 2013 18:27:48 -0000 On Wed, Aug 14, 2013 at 7:33 AM, Stan Grishin wrote: > As recommended in FreeBSD forums I'm posting the message here. > > I have a peculiar case where NAS4Free has corrupted the meta-data on my > 4-disk raidz pool and a few flavours of FreeBSD and a latest version of > OpenIndiana I've tried go down just when I try zpool import with no > additional parameters (kernel panics). > > I have more or less given up of my precious data, but if any FreeBSD dev > wants to investigate or help me fix the problem I'd gladly try any special > build you'd want me to. > > PS. I've tried removing disks one by one, but any 3 out of 4 cause kernel > panics and with just two I can't get my data back. > > PPS. zdb -l works and reports valid information about zpool configuration, > but I can't fix any problems with zdb. > > Did you try rolling back your pool to a previous state with 'zpool import -T ' ? It will attempt to import the pool as it was at the time particular transaction group was committed. Here's more info (it's for solaris, but should work on recent FreeBSD, too): http://www.c0t0d0s0.org/archives/7621-Back-in-time-or-zpool-import-T.html --Artem