Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Apr 2018 18:52:47 +0300
From:      Andriy Gapon <avg@FreeBSD.org>
To:        Alan Somers <asomers@freebsd.org>, Eugene Grosbein <eugen@grosbein.net>
Cc:        "Eugene M. Zheganin" <eugene@zhegan.in>, FreeBSD <freebsd-stable@freebsd.org>, freebsd-fs <freebsd-fs@freebsd.org>
Subject:   Re: clear old pools remains from active vdevs
Message-ID:  <bd0c730d-6d0c-8c90-43a8-6fa5468f0367@FreeBSD.org>
In-Reply-To: <CAOtMX2hA5FdEFmRWiyU-8QAJyyM=TEgs4zguQVMEbtB=QWOT9g@mail.gmail.com>
References:  <b9e405dc-d3b3-af81-64b3-9e310988fa7c@zhegan.in> <92b45b63-48c0-e9fe-c7c8-3ff24f37bf1f@FreeBSD.org> <5AE1E414.4010408@grosbein.net> <CAOtMX2hA5FdEFmRWiyU-8QAJyyM=TEgs4zguQVMEbtB=QWOT9g@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 26/04/2018 18:14, Alan Somers wrote:
> On Thu, Apr 26, 2018 at 8:37 AM, Eugene Grosbein <eugen@grosbein.net
> <mailto:eugen@grosbein.net>> 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?

> 
> 
> "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.


In the original message Eugene (Zheganin) mentioned that those phantom pools
confused the boot chain.  I do not think that anything in zpool.cache can do that.

-- 
Andriy Gapon



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bd0c730d-6d0c-8c90-43a8-6fa5468f0367>