From owner-freebsd-questions@FreeBSD.ORG Sun Feb 27 12:20:15 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 C38E116A4CE for ; Sun, 27 Feb 2005 12:20:15 +0000 (GMT) Received: from mxfep02.bredband.com (mxfep02.bredband.com [195.54.107.73]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9B45D43D5A for ; Sun, 27 Feb 2005 12:20:14 +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 <20050227122013.RPHC17521.mxfep02.bredband.com@scode-whitestar.mine.nu> for ; Sun, 27 Feb 2005 13:20:13 +0100 Received: by scode-whitestar.mine.nu (Postfix, from userid 1001) id D4D7C17B8DA; Sun, 27 Feb 2005 13:23:50 +0100 (CET) Date: Sun, 27 Feb 2005 13:23:50 +0100 From: Peter Schuller To: freebsd-questions@freebsd.org Message-ID: <20050227122349.GA32379@scode-whitestar.mine.nu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.8i Subject: 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: Sun, 27 Feb 2005 12:20:15 -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? I did some cursory checks to make sure that the glabel tool does not mangle the name of the device. The name does seem to propagate down unmangled all the way to g_metadata_clear() and g_metadata_store(). After that I'm not sure how the changes are picked up by the kernel, so I stopped. [1] I.e., glabel "list" reports what you would expect after a "glabel somename /dev/ad1", and the kernel log contains: GEOM_LABEL: Label for provider ad1 is label/somelabel -- / 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