clear old pools remains from active vdevs

Alan Somers asomers at
Thu Apr 26 15:14:45 UTC 2018

On Thu, Apr 26, 2018 at 8:37 AM, Eugene Grosbein <eugen at> wrote:

> 26.04.2018 14:50, Andriy Gapon wrote:
> > You can try to use zdb -l to find the stale labels.
> > And then zpool labelclear to clear them.
> Our "zpool labelclear" implementation destroys everything (literally).
> Have you really tried it?
> _______________________________________________
> freebsd-stable at mailing list
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe at"

"zpool labelclear" won't help in this case, because you have literally no
devices with active labels.  The problem is that the pool is still in your
/boot/zfs/zpool.cache file.  I think that plain "zpool destroy esx" will
work in this case.

More information about the freebsd-fs mailing list