Date: Fri, 05 Apr 2013 13:43:11 +0300 From: Volodymyr Kostyrko <c.kworr@gmail.com> To: Beeblebrox <zaphod@berentweb.com>, freebsd-questions@freebsd.org Subject: Re: [ZFS] recover destroyed zpool - what are the available options? Message-ID: <515EAABF.6020300@gmail.com> In-Reply-To: <1365152049024-5801716.post@n5.nabble.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> <1365152049024-5801716.post@n5.nabble.com>
next in thread | previous in thread | raw e-mail | index | archive | help
05.04.2013 11:54, Beeblebrox: >>> 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 <pool | id> <newpool>' to give it a new name Ok, let's check a few things: zpool import zpool import -D From your previous mails I saw that pool bsdr is FAULTED but not deleted. If the system would list bsdr on `zpool import` you should remove -D from the command. -- Sphinx of black quartz, judge my vow.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?515EAABF.6020300>