From owner-freebsd-questions@FreeBSD.ORG Fri Apr 5 08:54:10 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id A4C019F8 for ; Fri, 5 Apr 2013 08:54:10 +0000 (UTC) (envelope-from zaphod@berentweb.com) Received: from sam.nabble.com (sam.nabble.com [216.139.236.26]) by mx1.freebsd.org (Postfix) with ESMTP id 892BA947 for ; Fri, 5 Apr 2013 08:54:10 +0000 (UTC) Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1UO2PR-00015V-3o for freebsd-questions@freebsd.org; Fri, 05 Apr 2013 01:54:09 -0700 Date: Fri, 5 Apr 2013 01:54:09 -0700 (PDT) From: Beeblebrox To: freebsd-questions@freebsd.org Message-ID: <1365152049024-5801716.post@n5.nabble.com> In-Reply-To: <515E8BDF.9070403@gmail.com> References: <1364711810171-5800299.post@n5.nabble.com> <1365002276096-5801335.post@n5.nabble.com> <515C4B14.80300@gmail.com> <1365004246715-5801356.post@n5.nabble.com> <1365087055.99393.YahooMailRC@web184303.mail.ne1.yahoo.com> <1365090630957-5801568.post@n5.nabble.com> <1365091829108-5801581.post@n5.nabble.com> <1365092775955-5801588.post@n5.nabble.com> <515E8BDF.9070403@gmail.com> Subject: [ZFS] recover destroyed zpool - what are the available options? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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: Fri, 05 Apr 2013 08:54:10 -0000 >>Actually if you see all 4 labels correctly you can try to proceed as ZFS would guess the correct disk size anyway. I should clarify: # zdb -l /dev/ada0p2 => all 4 LABELS visible and correct (zpool name: bsdr) # zdb -l /dev/ada0p1 => all 4 LABELS visible and correct (zpool name: asp) # zdb -l /dev/ada0 => only LABEL #2 visible (this is an OLDER zpool with GUID 5853256800575798014, also named bsdr, the pool was whole-disk-as-raw) This is the gpt table + partitions as I re-created them immediately after the gpt delete. It looks like I have re-created the gpt partitions correctly... I don't understand what you mean by "you can try to proceed"? # zpool import -D -f -R /bsdr -N -F -n -X bsdr cannot import 'bsdr': a pool with that name already exists. use the form 'zpool import ' to give it a new name -- View this message in context: http://freebsd.1045724.n5.nabble.com/ZFS-recover-destroyed-zpool-what-are-the-available-options-tp5800299p5801716.html Sent from the freebsd-questions mailing list archive at Nabble.com.