[ZFS] recover destroyed zpool - what are the available options?

Volodymyr Kostyrko c.kworr at gmail.com
Thu Apr 4 15:49:29 UTC 2013


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.


More information about the freebsd-questions mailing list