From owner-freebsd-geom@FreeBSD.ORG Tue Oct 18 10:08:29 2011 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 78F19106566C for ; Tue, 18 Oct 2011 10:08:29 +0000 (UTC) (envelope-from nicolas@i.0x5.de) Received: from n.0x5.de (n.0x5.de [217.197.85.144]) by mx1.freebsd.org (Postfix) with ESMTP id 1F72C8FC17 for ; Tue, 18 Oct 2011 10:08:28 +0000 (UTC) Received: by pc5.i.0x5.de (Postfix, from userid 1003) id 01A941255C2; Tue, 18 Oct 2011 12:08:28 +0200 (CEST) Date: Tue, 18 Oct 2011 12:08:27 +0200 From: Nicolas Rachinsky To: freebsd-geom@freebsd.org Message-ID: <20111018100827.GA91400@mid.pc5.i.0x5.de> Mail-Followup-To: freebsd-geom@freebsd.org References: <4E69A152.6090408@rdtc.ru> <4E69EB15.50808@rdtc.ru> <4E9D2117.4090203@dssgmbh.de> <20111018081920.GA97840@mid.pc5.i.0x5.de> <4E9D49D2.8020801@dssgmbh.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4E9D49D2.8020801@dssgmbh.de> X-Powered-by: FreeBSD X-Homepage: http://www.rachinsky.de X-PGP-Keyid: 887BAE72 X-PGP-Fingerprint: 039E 9433 115F BC5F F88D 4524 5092 45C4 887B AE72 X-PGP-Keys: http://www.rachinsky.de/nicolas/gpg/nicolas_rachinsky.asc User-Agent: Mutt/1.5.21 (2010-09-15) Subject: Re: disk partitioning with gmirror + gpt + gjournal (RFC) X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Oct 2011 10:08:29 -0000 * Alfred Bartsch [2011-10-18 11:41 +0200]: > Thanks for pointing this out. I'm using filesystem labels (tunefs), no > GEOM labels other than gmirror. ufs labels are handled by glabel. > After executing "gmirror remove gm0 , the partitions on this > disk show up as p#, not as mirror/gm0p#, so there is IMHO no > ambiguity. If you have experienced problems with gmirror - glabel > configurations, I'm interested in more details. But p# contains the same filesystem with the same label as mirror/gm0p#. If glabel sees p# on boot before mirror/gm0p# it may associate ufs/ with p# instead of mirror/gm0p#. This can happen with "glabel label"-labels, ufs-labels and gpt-labels. If you want verbose names, you might be able to use gconcat (with one component) since gconcat can use hardcoded provider names, which should avoid this problem. It would be nice to add the possibility to hardcode providers to glabel. HTH Nicolas -- http://www.rachinsky.de/nicolas