From owner-freebsd-fs@FreeBSD.ORG Wed Aug 14 19:44:35 2013 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 025F4E14 for ; Wed, 14 Aug 2013 19:44:35 +0000 (UTC) (envelope-from stangri@melmac.net) Received: from mail-qc0-x230.google.com (mail-qc0-x230.google.com [IPv6:2607:f8b0:400d:c01::230]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id B062321F3 for ; Wed, 14 Aug 2013 19:44:34 +0000 (UTC) Received: by mail-qc0-f176.google.com with SMTP id u12so5078776qcx.21 for ; Wed, 14 Aug 2013 12:44:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=melmac.net; s=google; h=content-type:mime-version:subject:from:in-reply-to:date:cc :message-id:references:to; bh=1xiB4gnXg7Zc9n1ACSaL0Xg5XreBmeee738AjDJSUXY=; b=UFyq1ws+A54QjgBz2d9zvV0lJY8SY5HrPWlvVVHZI1lxJqf0vjzWrmOUvblrylZUNx KzBTjKA+ou7PdJPU0opt6w02/PUSa1Cp6wnUS5yf4LGNqgVysdRR5fW31Qf5evKXvQs5 mvTWMK1UjjrlakNhYGpi6xBYJx+OuPRDiVYps= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-gm-message-state:content-type:mime-version:subject:from :in-reply-to:date:cc:message-id:references:to; bh=1xiB4gnXg7Zc9n1ACSaL0Xg5XreBmeee738AjDJSUXY=; b=FTS8UZhtQ80VtIPrZQ9B+wA2hFd7QZojw7EnLCKb14vGitaAulYYDTkYm3E+/F4rb/ WNJei879KaHSb7Z1MavWt1PXlQPu5Oc1VKUAwdmmT02xt4ayvCXHl7Fk/ADMvSIYg6Jq bJ3D+u5X6SbgN5Sda3EORwk/4nrUQqNef6ghwzUJQORbex7ZPn97LGOILt+GTCrNhghj nmZdx+rSU2d1/xNcbZIgyYoVjzzNp4O2Bx9yyBr32D9A3X/q9+4oQvRWAp7tKF8ybXGU Mu9F1BVzgmndGIQgMSaSeK/Cr9wcCdcBtv6510bCXQOSvy+QLlxLWkYmHnBXlXLMcr5o HZBQ== X-Gm-Message-State: ALoCoQk8QHABd0TS/tdRK9JlT3ip7xZM7UgIagmCIkgWxWTowzTp2uLH6HDYvsHXr7GwvbCNm+mA X-Received: by 10.49.73.227 with SMTP id o3mr13838570qev.23.1376509473405; Wed, 14 Aug 2013 12:44:33 -0700 (PDT) Received: from trailers.apple.com ([97.107.180.11]) by mx.google.com with ESMTPSA id a2sm50155047qek.7.2013.08.14.12.44.31 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 14 Aug 2013 12:44:32 -0700 (PDT) Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\)) Subject: Re: kernel panics because of the corrupted zpool meta-data From: Stan Grishin In-Reply-To: Date: Wed, 14 Aug 2013 12:44:29 -0700 Message-Id: <9274C3CA-36F5-4EDC-A645-C612C6D71E8A@melmac.net> References: <96CA3382-A3C7-472A-82C9-20C1ACACD5B9@melmac.net> To: Artem Belevich X-Mailer: Apple Mail (2.1508) Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable 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 19:44:35 -0000 Artem, Thanks for you suggestion. No, I haven't tried that particular command. = But how can I get the transaction ID if even simple zpool import (no = parameters) causes kernel panics? -Stan On 2013-08-14, at 11:27 AM, Artem Belevich wrote: >=20 >=20 >=20 > On Wed, Aug 14, 2013 at 7:33 AM, Stan Grishin = wrote: > As recommended in FreeBSD forums I'm posting the message here. >=20 > 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). >=20 > 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. >=20 > 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. >=20 > PPS. zdb -l works and reports valid information about zpool = configuration, but I can't fix any problems with zdb. >=20 >=20 > 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.=20 >=20 > 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 >=20 > --Artem >=20