From owner-freebsd-fs@freebsd.org Tue Sep 22 03:41:31 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 F0647A0261B for ; Tue, 22 Sep 2015 03:41:31 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "wonkity.com", Issuer "wonkity.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id B4B251D16 for ; Tue, 22 Sep 2015 03:41:31 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.15.2/8.15.2) with ESMTPS id t8M3fTWb080542 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 21 Sep 2015 21:41:29 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.15.2/8.15.2/Submit) with ESMTP id t8M3fTji080539; Mon, 21 Sep 2015 21:41:29 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Mon, 21 Sep 2015 21:41:28 -0600 (MDT) From: Warren Block To: Chris Stankevitz cc: FreeBSD Filesystems Subject: Re: Name/label/id metadata: how do I make it go away In-Reply-To: <56004C68.4020904@stankevitz.com> Message-ID: References: <56004C68.4020904@stankevitz.com> User-Agent: Alpine 2.20 (BSF 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Mon, 21 Sep 2015 21:41:29 -0600 (MDT) 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 03:41:32 -0000 On Mon, 21 Sep 2015, Chris Stankevitz wrote: > For those wanting to teach me to fish: > > In the context of naming a disk that has no partitions, can you explain to me > the difference among these terms: > - gpt label A manually-assigned label in the GPT metadata. Requires GPT partitioning. > - gpt id A system-assigned ID in the GPT metadata. Requires GPT partitioning. > - glabel A pgoram that can manually assigns labels to arbitrary devices. The last block of the device is used for metadata, so the created device is one block smaller than the raw device. See glabel(8). > - gpart FreeBSD's versatile disk partitioning program. See gpart(8). > - /dev/diskid/* > - disk_ident A GUID assigned to the disk? I forget. > - geom FreeBSD's GEOM system that allows adding filters or functions to bare disk devices, or the program to manipulate it. See geom(4) and geom(8). > - bsdlabel Both an obsolete disk partitioning format and the program to create it. Invented before MBR, then usually used in an awful combination with MBR to make up for MBR's weaknesses. See bsdlabel(8). gpart(8) can create these and other formats, but most of the time GPT is the most powerful and easiest to use. > For those wanting to give me a fish: > > 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.