ZFS should prefer the most specific... or something.

Alan Somers asomers at freebsd.org
Mon Feb 27 02:24:08 UTC 2017


On Sun, Feb 26, 2017 at 6:28 PM, Zaphod Beeblebrox <zbeeble at gmail.com> wrote:
> On Sun, Feb 26, 2017 at 7:09 PM, Andrey Fesenko <f0andrey at gmail.com> wrote:
>
>>
>> "A disk can be specified by a full path to the device or the geom(4)
>> provider name" see zpool(8)
>> For example gpt lables
>>
>>
> Yeah,  no.  You didn't read carefully.  Let me be more clear.  Some random
> rejig of device names causes zfs to abandon your carefully constructed
> name.  GPT and GPT labels are more stable, but some machines will not allow
> a GPT label.  Anyways, after the random event, you have maximally long,
> low-signal-to-noise ratio names.

Zaphod,
    You can fix your particular problem by setting
"kern.geom.label.disk_ident.enable=0" in /boot/loader.conf.
-Alan


More information about the freebsd-hackers mailing list