From owner-freebsd-questions@FreeBSD.ORG Wed Apr 3 15:30:32 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 3A2B2DAD for ; Wed, 3 Apr 2013 15:30:32 +0000 (UTC) (envelope-from c.kworr@gmail.com) Received: from mail-ea0-x232.google.com (mail-ea0-x232.google.com [IPv6:2a00:1450:4013:c01::232]) by mx1.freebsd.org (Postfix) with ESMTP id C14E09D3 for ; Wed, 3 Apr 2013 15:30:31 +0000 (UTC) Received: by mail-ea0-f178.google.com with SMTP id o10so719800eaj.23 for ; Wed, 03 Apr 2013 08:30:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=gIblPKLvirLdKj+W2hwNtArAiGsfJCQsquQZMJ4MWdo=; b=jMJhiP3Buj2LgGYzvRSllAJlZbqS2K4APZcB0dhcOaXLAxrSSaSHI1y6hC7ho6gWBz KCp87xQ95jK/s21bNN5UWyhWhcMPzbn8lWrr5r1/pF7hzAYGKwRhpaeGDD1CSQMVKbCy OeGZcIyJOrPiuNIlIsObMmcu7fmhUzLqtTYl4GKkJFW7r6/20QxxkSpXeZq4USdebT2n aO6N2JZ+nSXsrgI0LNDegxgcDlZVFRNpqMBXD8to+SF4LmcxeKio7Q5aoFXWtE5a3E/u czLF1hP9pgpTG82Vg5qORIODrCFgttp3sWR+Y4XtXb5thOsBNE8qPa3WIphKPbsBbaDf /TOA== X-Received: by 10.14.218.71 with SMTP id j47mr4248265eep.28.1365003030108; Wed, 03 Apr 2013 08:30:30 -0700 (PDT) Received: from [192.168.1.128] ([91.196.229.122]) by mx.google.com with ESMTPS id m46sm8186037eeo.16.2013.04.03.08.30.28 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 03 Apr 2013 08:30:29 -0700 (PDT) Message-ID: <515C4B14.80300@gmail.com> Date: Wed, 03 Apr 2013 18:30:28 +0300 From: Volodymyr Kostyrko User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:19.0) Gecko/20100101 Firefox/19.0 SeaMonkey/2.16.1 MIME-Version: 1.0 To: Beeblebrox , freebsd-questions@freebsd.org Subject: Re: [ZFS] recover destroyed zpool - what are the available options? References: <1364711810171-5800299.post@n5.nabble.com> <1365002276096-5801335.post@n5.nabble.com> In-Reply-To: <1365002276096-5801335.post@n5.nabble.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Apr 2013 15:30:32 -0000 2013-04-03 18:17, Beeblebrox wrote: > If anyone has ideas, zdb -C is now giving me detailed output. zpool status > is: You are mostly out of luck. The worst thing about ZFS is that when something happens ZFS just gives you NO. I posted this before, you can try this too: zpool import -D -f -R /bsdr -N -F -n -Z bsdr -D work on deleted pools -f force import -R custom root folder to not interfer with your mounts -N do not mount filesystems -F recovery mode - tries last transactions to find a good one -n doesn't modify data on disk while in recovery mode -Z (undocumented) verify transactions in recovery mode by doing a partial scrub (?). I hope this will help you... Anyway you can try any other ZFS implementation. For example FreeBSD loader can read files too while booting. -- Sphinx of black quartz, judge my vow.