From owner-freebsd-questions@freebsd.org Wed Jun 14 02:03:18 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8084FC77351 for ; Wed, 14 Jun 2017 02:03:18 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Received: from holgerdanske.com (holgerdanske.com [IPv6:2001:470:0:19b::b869:801b]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "holgerdanske.com", Issuer "holgerdanske.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 6AA6874C60 for ; Wed, 14 Jun 2017 02:03:18 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Received: from 99.100.19.101 ([99.100.19.101]) by holgerdanske.com with ESMTPSA (ECDHE-RSA-AES128-GCM-SHA256:TLSv1.2:Kx=ECDH:Au=RSA:Enc=AESGCM(128):Mac=AEAD) (SMTP-AUTH username dpchrist@holgerdanske.com, mechanism PLAIN) for ; Tue, 13 Jun 2017 19:03:16 -0700 Subject: Re: Drive labelling with ZFS To: freebsd-questions@freebsd.org References: <03643051-38e8-87ef-64ee-5284e2567cb8@fjl.co.uk> From: David Christensen Message-ID: <7fa67076-3ec8-4c25-67b9-a1b8a0aa5afc@holgerdanske.com> Date: Tue, 13 Jun 2017 19:02:39 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Jun 2017 02:03:18 -0000 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