From owner-freebsd-fs@freebsd.org Tue Sep 22 21:01:24 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 6841DA03769 for ; Tue, 22 Sep 2015 21:01:24 +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 2ABE91B9E for ; Tue, 22 Sep 2015 21:01:24 +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 t8ML1MM4042172 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 22 Sep 2015 15:01:23 -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 t8ML1Mad042169; Tue, 22 Sep 2015 15:01:22 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Tue, 22 Sep 2015 15:01:22 -0600 (MDT) From: Warren Block To: Chris Stankevitz cc: Matt Churchyard , FreeBSD FS Subject: Re: Name/label/id metadata: how do I make it go away In-Reply-To: <5601B2AF.7040306@stankevitz.com> Message-ID: References: <56004C68.4020904@stankevitz.com> <5600F0DF.8000805@stankevitz.com> <5601A82A.7040304@stankevitz.com> <5601B2AF.7040306@stankevitz.com> User-Agent: Alpine 2.20 (BSF 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Tue, 22 Sep 2015 15:01:23 -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 21:01:24 -0000 On Tue, 22 Sep 2015, Chris Stankevitz wrote: > On 9/22/15 12:12 PM, Chris Stankevitz wrote: >> I want to read the man page or source for whatever assigns diskid for >> glabel to subsequently advertise. That process, for some reason, only >> assigns diskids for 10 of my 22 drives. All drives are the same model >> number, although the drives have different histories. (some drives >> lived in FreeNAS in a former life) > > > According to 'geom disk list', each of my 22 drives has an "ident", but only > some of them have "labels". > > "ident" is turned into a "label" via a process called "tasting": > sys/geom/label/g_label_disk_ident.c > sys/geom/label/g_label.c > > Although it is not yet clear to me why apparently only some of my disks are > "tasted". Labels on devices that are mounted are "withered" and disappear.