Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 04 Apr 2013 18:49:26 +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:  <515DA106.7040101@gmail.com>
In-Reply-To: <1365052102377-5801470.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> <1365052102377-5801470.post@n5.nabble.com>

next in thread | previous in thread | raw e-mail | index | archive | help
04.04.2013 08:08, Beeblebrox пишет:
> I had a second pool on another partition of the same HDD, which was in the
> same degraded state as the bsdr pool. The data on that pool had been
> backed-up previously. I decided to try the export & re-import method on that
> pool (-Z gives message: invalid option 'Z'). Result:

Sorry, that was -X aka extreme_rewind.

> # zpool export oldpool
> # zpool import -D -f -R /mnt -N -F -n  oldpool
> Now the pool just disappears.
> # zpool list -> does not show oldpool
> # zpool import ->  no pools available to import
>
> So the export & re-import method is NOT the way to do this.

Option -D was intended only for deleted pools, not exported ones.

Try `zpool list -D` or `zpool import -D`.

-- 
Sphinx of black quartz, judge my vow.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?515DA106.7040101>