Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 May 2017 20:15:57 +0200
From:      Nikos Vassiliadis <nvass@gmx.com>
To:        "Eric A. Borisch" <eborisch@gmail.com>, =?UTF-8?Q?Trond_Endrest=c3=b8l?= <Trond.Endrestol@fagskolen.gjovik.no>
Cc:        "freebsd-fs@freebsd.org" <freebsd-fs@freebsd.org>, FreeBSD Stable <freebsd-stable@freebsd.org>
Subject:   Re: zpool imported twice with different names (was Re: Fwd: ZFS)
Message-ID:  <2bab15ae-9683-d9f3-9d5e-d8f66bc14cac@gmx.com>
In-Reply-To: <CAASnNnrwTuJkMG2p%2BcXoKVfRQKnA5NccRGodwNUdCyG5j-L_LA@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>

next in thread | previous in thread | raw e-mail | index | archive | help


On 05/16/2017 04:26 PM, Eric A. Borisch wrote:
> On Tue, May 16, 2017 at 1:31 AM, Trond Endrestøl <
> Trond.Endrestol@fagskolen.gjovik.no> wrote:
> 
>> I guess you had a /boot/zfs/zpool.cache file referring to the original
>> zroot pool. Next, the kernel found the vega pool and didn't realise
>> these two pools are the very same.
>>
> 
> Assuming this is the case, shouldn't it be fixed? A check while importing
> that the guid of the pool targeted for import is not in the set of
> currently active guids would be worthwhile, but it -- apparently, if this
> is reproducible -- doesn't exist?
> 
> Again, assuming this is reproducible.
> 

It is reproducible. Except for a check in ZFS, I would also expect
that the device cannot be opened twice for writing, that is,
protected by GEOM.

Nikos



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2bab15ae-9683-d9f3-9d5e-d8f66bc14cac>