From owner-freebsd-questions@FreeBSD.ORG Fri Apr 5 22:13:03 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 ACE52F6C for ; Fri, 5 Apr 2013 22:13:03 +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 90025FD2 for ; Fri, 5 Apr 2013 22:13:03 +0000 (UTC) Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1UOEsY-00080S-Aw for freebsd-questions@freebsd.org; Fri, 05 Apr 2013 15:13:02 -0700 Date: Fri, 5 Apr 2013 15:13:02 -0700 (PDT) From: Beeblebrox To: freebsd-questions@freebsd.org Message-ID: <1365199982331-5801834.post@n5.nabble.com> In-Reply-To: <1365160406005-5801734.post@n5.nabble.com> References: <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> <1365152049024-5801716.post@n5.nabble.com> <515EAABF.6020300@gmail.com> <1365160406005-5801734.post@n5.nabble.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 22:13:03 -0000 I think I might have a better understanding of the situation. 'zpool status' and 'zdb -C' commands both show bsdr properties as: pool_guid: 17852168552651762162 children[0]: \ type: 'disk' \ guid: 12606749387939346898 Whereas 'zpool import -D' and 'zdb -l' commands give the bsdr properties as: pool_guid: 12018916494219117471 vdev_tree: \ type: 'disk \ top_guid: 17860002997423999070 Since the LABEL info on the HDD is the more relevant data, I should be using the output of zdb -l, and disregard the pool that shows itself as "already imported - albeit faulted". I therefore plan to import the bsdr pool with a newname and should run the import command as: zpool import -D -f -R /bsdr -N -F -n -X 12018916494219117471 newname Any objections? We must also keep in mind that '-D' flag is showing TWO deleted bsdr pools, so I must use the unique ID. Please let me know if I should go ahead and run above command. Thanks and Regards. -- View this message in context: http://freebsd.1045724.n5.nabble.com/ZFS-recover-destroyed-zpool-what-are-the-available-options-tp5800299p5801834.html Sent from the freebsd-questions mailing list archive at Nabble.com.