On Sun, Nov 1, 2015 at 11:57 AM, ilovezfs <[email protected]> wrote:

> $ zpool labelclear c0t0d0
>
> $ zpool labelclear /dev/dsk/c0t0d0
> $ zpool labelclear /dev/rdsk/c0t0d0
> $ zpool labelclear c0t0d0s0
> $ zpool labelclear /dev/dsk/c0t0d0s0
> $ zpool labelclear /dev/rdsk/c0t0d0s0
>
> Should all six be equivalent? Or should the first three speculate about
> both c0t0d0 and c0t0d0s0, while the last three speculate only about
> c0t0d0s0? Or something else?
>
My understanding is that the point of "zpool labelclear" it so make it so
that ZFS will not detect this disk as potentially being part of a pool.

I don't think you would ever use the raw (unlabeled) device on illumos, and
I don't think "zpool import" would notice if you somehow put a zpool label
on the raw device.  If we allow c0t0d0 (and I agree with George - we
should, because that may be how they specified it and how it showed up to
them in "zpool list -v"), it should just look at c0t0d0s0.

--matt


---
Reply to this email directly or view it on GitHub:
https://github.com/openzfs/openzfs/pull/32#issuecomment-152863096
_______________________________________________
developer mailing list
[email protected]
http://lists.open-zfs.org/mailman/listinfo/developer

Reply via email to