Re: zpool imported twice with different names (was Re: Fwd: ZFS)

2017-05-17 Thread Paul Kraus
> On May 17, 2017, at 2:13 PM, Brandon Allbery wrote: > > Sorry, no, that's not a bug. The bug is that, if importing on another > system is a common administrative operation, it should not require you to > disable *all* checking. I'd rather prefer specific support for that, e.g. > "import -F exp

Re: zpool imported twice with different names (was Re: Fwd: ZFS)

2017-05-17 Thread Eric A. Borisch
On Wed, May 17, 2017 at 8:27 PM Paul Kraus wrote: > > > On May 17, 2017, at 5:12 PM, Eric A. Borisch wrote: > > > > Short version: > > > > It's not the -f causing the problem, it's the parsing and (double) > > importing via /boot/zfs/zpool.cache that is. > > I was unclear… _how_ do you get the d

Re: zpool imported twice with different names (was Re: Fwd: ZFS)

2017-05-17 Thread Paul Kraus
> On May 17, 2017, at 5:12 PM, Eric A. Borisch wrote: > > Short version: > > It's not the -f causing the problem, it's the parsing and (double) > importing via /boot/zfs/zpool.cache that is. I was unclear… _how_ do you get the double entry in zpool.cache _except_ by using the -f option with a

Re: zpool imported twice with different names (was Re: Fwd: ZFS)

2017-05-17 Thread Eric A. Borisch
On Tue, May 16, 2017 at 8:53 PM, Paul Kraus wrote: > > > > On May 16, 2017, at 10:26 AM, Eric A. Borisch wrote: > > > > On Tue, May 16, 2017 at 1:31 AM, Trond Endrestøl < > > trond.endres...@fagskolen.gjovik.no> wrote: > > > >> I guess you had a /boot/zfs/zpool.cache file referring to the origina

Re: zpool imported twice with different names (was Re: Fwd: ZFS)

2017-05-17 Thread Nikos Vassiliadis
On 05/16/2017 04:26 PM, Eric A. Borisch wrote: On Tue, May 16, 2017 at 1:31 AM, Trond Endrestøl < trond.endres...@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 po

Re: zpool imported twice with different names (was Re: Fwd: ZFS)

2017-05-17 Thread Brandon Allbery
On Wed, May 17, 2017 at 2:04 PM, Nikos Vassiliadis wrote: > If you boot from another system, there is no other way to > import a pool than using "import -f". So, I guess it is > part of normal administrative tasks. You can read more here: > > http://docs.oracle.com/cd/E19253-01/819-5461/gazuf/ind

Re: zpool imported twice with different names (was Re: Fwd: ZFS)

2017-05-17 Thread Nikos Vassiliadis
On 05/16/2017 05:08 PM, Fabian Keil wrote: Why did you use the -f flag? Unless you can reproduce the problem without it, it's not obvious to me that this is a bug. If you boot from another system, there is no other way to import a pool than using "import -f". So, I guess it is part of normal a