From owner-freebsd-fs@freebsd.org Tue Sep 22 06:10:41 2015 Return-Path: Delivered-To: freebsd-fs@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 8CAF6A020A4 for ; Tue, 22 Sep 2015 06:10:41 +0000 (UTC) (envelope-from chris@stankevitz.com) Received: from mango.stankevitz.com (mango.stankevitz.com [208.79.93.194]) by mx1.freebsd.org (Postfix) with ESMTP id 7858D1A12 for ; Tue, 22 Sep 2015 06:10:41 +0000 (UTC) (envelope-from chris@stankevitz.com) Received: from Chriss-MacBook-Pro.local (209-203-101-124.static.twtelecom.net [209.203.101.124]) (using TLSv1.2 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mango.stankevitz.com (Postfix) with ESMTPSA id 7692610E4; Mon, 21 Sep 2015 23:10:40 -0700 (PDT) Subject: Re: Name/label/id metadata: how do I make it go away To: Warren Block References: <56004C68.4020904@stankevitz.com> Cc: FreeBSD Filesystems From: Chris Stankevitz Message-ID: <5600F0DF.8000805@stankevitz.com> Date: Mon, 21 Sep 2015 23:10:39 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Sep 2015 06:10:41 -0000 Warren/Freddie, Thank you for your replies. On 9/21/15 8:41 PM, Warren Block wrote: >> - gpt id > > A system-assigned ID in the GPT metadata. Requires GPT partitioning. >> I have a zfs pool of "entire disks". "zpool status" shows some disks >> with their daX name (which I prefer) and some with a hideously ugly >> name such as DISK-%20%20%20%20%20-WD-WMC4NOH1ASDF > > Disable those labels with kern.geom.label.gptid.enable="0" in > /boot/loader.conf. Combining your two statements quoted above, I believe I can conclude that my ZFS "whole disk" drives must have some remnants of GPT left over from their previous lives (namely the system-assigned ID in the GPT metadata). Surprisingly, these apparently GPT-supplied labels appear to "go away" when I issue a "glabel stop". I would not expect this given that Warren explained that glabels (whose metadata are stored at the end of the device and completely outside the virtual device) are not the same as GPT labels (whose metadata are stored within the device on the GPT metadata). I believe one of the following must be true: 1. It is possible to use "glabel stop" to disable a "GPT system-assigned ID" -- even though glabel is a tool for manipulating another style of labels. 2. "glabel stop" only affects glabels. In my case my drives must contain "glables" and not "GPT system-assigned IDs" as Warren guessed. 3. I misunderstood and glabels/GPS system-assigned IDs are really the same thing. Thank you again, Chris