Date: Thu, 18 May 2017 09:18:02 -0500 From: "Eric A. Borisch" <eborisch@gmail.com> To: Paul Kraus <paul@kraus-haus.org> Cc: FreeBSD Stable <freebsd-stable@freebsd.org>, =?UTF-8?Q?Trond_Endrest=C3=B8l?= <Trond.Endrestol@fagskolen.gjovik.no>, "freebsd-fs@freebsd.org" <freebsd-fs@freebsd.org> Subject: Re: zpool imported twice with different names (was Re: Fwd: ZFS) Message-ID: <CAASnNnruVeO%2BO6xOOfmEHo_ftL%2BurV%2BXcVAScOfuDs1TQD7uQQ@mail.gmail.com> In-Reply-To: <CAASnNnrbXZRPHn6qYx%2BWctjm7Z1XJVCQSQyjHRKkq7KTzGP1VQ@mail.gmail.com> References: <7c059678-4af4-f0c9-ff3b-c6266e02fb7a@gmx.com> <adf4ab9f-72f1-ed0f-fee2-82caba3af4a4@gmx.com> <ca7b47a7-7512-3cbb-d47b-6ef546dffd74@gmx.com> <alpine.BSF.2.21.1705160825130.40966@mail.fig.ol.no> <CAASnNnrwTuJkMG2p%2BcXoKVfRQKnA5NccRGodwNUdCyG5j-L_LA@mail.gmail.com> <2318D9EB-4271-42C8-AEDB-4BB86607BB3D@kraus-haus.org> <CAASnNnpXaXmRHi97Fo4wE_VLT39O50kOaa8WvMk00doxMfxFQQ@mail.gmail.com> <81774CB0-9E06-43AF-B58B-259234111D61@kraus-haus.org> <CAASnNnrbXZRPHn6qYx%2BWctjm7Z1XJVCQSQyjHRKkq7KTzGP1VQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, May 17, 2017 at 9:38 PM, Eric A. Borisch <eborisch@gmail.com> wrote: > 4) zpool import -f alpha beta succeeds without any complaints. > > IV. Alpha no longer exists, Beta exists (with the same GUID as Alpha) AND > is active. This is an 'atomic' operation from user's point of view, and at > no point does zpool list show more than one pool > > 5) zpool list shows only beta; scrubs fine, life is good.. > > V. Beta exists on disk and is active and healthy. Alpha is no more. > (Except as a ghost in a cache file) > A quick test revealed one other tidbit this morning; if I 'zpool export beta' at this point in the process (still in live CD OS), everything is OK on reboot into the installed OS. For whoever wants to investigate handling/hand-off between bootloader/kernel/fully booted, the problem appears when a: 1) root pool is renamed, but not 'zpool export'-ed after rename via an 'external' OS (live CD) ** and ** 2) A stale zpool.cache file exists on the pool referring to the original name. - Eric
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAASnNnruVeO%2BO6xOOfmEHo_ftL%2BurV%2BXcVAScOfuDs1TQD7uQQ>