[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-fs
Subject:    Re: clear old pools remains from active vdevs
From:       Andriy Gapon <avg () FreeBSD ! org>
Date:       2018-04-26 15:52:47
Message-ID: bd0c730d-6d0c-8c90-43a8-6fa5468f0367 () FreeBSD ! org
[Download RAW message or body]

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
_______________________________________________
freebsd-fs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-fs
To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org"

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic