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

Slawa Olhovchenkov slw at zxy.spb.ru
Mon Feb 27 11:58:56 UTC 2017


On Sun, Feb 26, 2017 at 08:28:08PM -0500, Zaphod Beeblebrox 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.

zfs don't need label, zfs can use raw disk name and full tolerante to
change this names between reboot.

ps: /boot/loader.conf:

kern.geom.label.gptid.enable="0"
kern.geom.label.disk_ident.enable=0


More information about the freebsd-hackers mailing list