On Wed, May 17, 2017 at 2:04 PM, Nikos Vassiliadis <nv...@gmx.com> 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/index.html
>>
>
> This works and always have worked as documented.
> Renaming a pool also works as documented, that is,
> doing "zpool import oldnamepool newnamepool". Except
> for this corner-case. IMHO this is a very serious bug.
>

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 expectedhostname" to import a zpool on a different host from
expectedhostname --- now you have sanity checking for a potentially
dangerous operation as well as not turning off *all* error/sanity checking.

Sadly, this seems to not have occurred to either Sun or Oracle, despite
having documented it.

-- 
brandon s allbery kf8nh                               sine nomine associates
allber...@gmail.com                                  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
_______________________________________________
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"

Reply via email to