From owner-freebsd-questions@FreeBSD.ORG Tue Mar 1 21:08:39 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0899B16A4CE for ; Tue, 1 Mar 2005 21:08:39 +0000 (GMT) Received: from mxfep02.bredband.com (mxfep02.bredband.com [195.54.107.73]) by mx1.FreeBSD.org (Postfix) with ESMTP id D30E543D41 for ; Tue, 1 Mar 2005 21:08:37 +0000 (GMT) (envelope-from scode@scode-whitestar.mine.nu) Received: from scode-whitestar.mine.nu ([83.226.138.147] [83.226.138.147]) by mxfep02.bredband.com with ESMTP <20050301210836.QHVP27886.mxfep02.bredband.com@scode-whitestar.mine.nu> for ; Tue, 1 Mar 2005 22:08:36 +0100 Received: by scode-whitestar.mine.nu (Postfix, from userid 1001) id 12F7517B90B; Tue, 1 Mar 2005 22:12:42 +0100 (CET) Date: Tue, 1 Mar 2005 22:12:41 +0100 From: Peter Schuller To: freebsd-questions@freebsd.org Message-ID: <20050301211241.GB22912@scode-whitestar.mine.nu> References: <20050227122349.GA32379@scode-whitestar.mine.nu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050227122349.GA32379@scode-whitestar.mine.nu> User-Agent: Mutt/1.5.8i Subject: Re: glabel - refuses to label >= g partitions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Mar 2005 21:08:39 -0000 > If I do: > > glabel label somelabel /dev/ad1s1g > > geom_label labels /dev/ad1 instead of /dev/ad1s1g[1]. However > labeling /dev/ad1s1{a,b,d,e,f} worked fine. But /dev/ad1s1{g,h} > does not (and probably not the rest above h either). > > Any idea what to do about it? The the purpose of the mailing list archive in case somebody else stumbles across it: I finally realized what the problem was. It had nothing to do with partitions with names g and above. The issue is that the information that geom_label looks for when tasting a device is stored in the last block (or close to it - at the end of the device, I don't remember). My last partition ended at exactly the last block of the device. Presumably /dev/ad1 is tasted by geom_label before /dev/ad1s1{g,h,whatever}, which means that geom_label will find the label on /dev/ad1... -- / Peter Schuller, InfiDyne Technologies HB PGP userID: 0xE9758B7D or 'Peter Schuller ' Key retrieval: Send an E-Mail to getpgpkey@scode.org E-Mail: peter.schuller@infidyne.com Web: http://www.scode.org