Drive labelling with ZFS

David Christensen dpchrist at holgerdanske.com
Wed Jun 14 02:03:18 UTC 2017


On 06/13/2017 04:32 PM, David Christensen wrote:
> Both [1] and [3] discuss the fact that a given drive, partition, file
> system, etc., can be identified in various ways, manual or automatic,
> but the kernel will pick one and "wither" the rest.  Once a GPT label is
> set manually, other methods should be disabled via settings in
> /boot/loader.conf and the system rebooted ([1] p. 35):
>
>     kern.geom.label.disk_ident.enable="0"
>     kern.geom.label.gptid.enable="0"

Beware that all your disks need to have GPT labels, and those labels 
need to be carried forward into /etc/fstab, etc., before you reboot, as 
the kernel won't be able to find the disks using Disk ID or GPT GUID 
labels once those methods are disabled.


David



More information about the freebsd-questions mailing list