From owner-freebsd-geom@FreeBSD.ORG Tue Oct 18 09:41:41 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 38622106564A for ; Tue, 18 Oct 2011 09:41:41 +0000 (UTC) (envelope-from bartsch@dssgmbh.de) Received: from mail.incore.de (dss.incore.de [195.145.1.138]) by mx1.freebsd.org (Postfix) with ESMTP id E92608FC0C for ; Tue, 18 Oct 2011 09:41:40 +0000 (UTC) Received: from inetmail.dmz (inetmail.dmz [10.3.0.3]) by mail.incore.de (Postfix) with ESMTP id 4E18D5C8E6 for ; Tue, 18 Oct 2011 11:41:40 +0200 (CEST) X-Virus-Scanned: amavisd-new at incore.de Received: from mail.incore.de ([10.3.0.3]) by inetmail.dmz (inetmail.dmz [10.3.0.3]) (amavisd-new, port 10024) with LMTP id iFb2scrkQbFq for ; Tue, 18 Oct 2011 11:41:39 +0200 (CEST) Received: from mail.incore (fwintern.dmz [10.0.0.253]) by mail.incore.de (Postfix) with ESMTP id 8444E5C8E3 for ; Tue, 18 Oct 2011 11:41:39 +0200 (CEST) Received: from pcadmin.incore (pcadmin.incore [192.168.0.140]) by mail.incore (Postfix) with ESMTPSA id 7F18B4509C for ; Tue, 18 Oct 2011 11:41:39 +0200 (CEST) Message-ID: <4E9D49D2.8020801@dssgmbh.de> Date: Tue, 18 Oct 2011 11:41:38 +0200 From: Alfred Bartsch User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:7.0.1) Gecko/20111007 Thunderbird/7.0.1 MIME-Version: 1.0 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> In-Reply-To: <20111018081920.GA97840@mid.pc5.i.0x5.de> X-Enigmail-Version: 1.4a1pre Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit 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 09:41:41 -0000 Am 18.10.2011 10:19, schrieb Nicolas Rachinsky: > * Alfred Bartsch [2011-10-18 08:47 +0200]: >> I am going to use the following paritioning scheme on our servers >> and programmers' workstations running FreeBSD 8 (system disk): >> physical drive - geom_mirror - geom_part_gpt - journaled UFS with >> separate boot and swap partitions. > [...] >> create the UFS file systems (with labels): # newfs -L fbsdroot -J >> mirror/gm0p7.journal > [...] >> # Device Mountpoint FStype Options Dump >> Pass# /dev/ufs/fbsdroot / ufs rw,noatime,async 1 >> 1 > [...] >> Some questions: Is this disk configuration valid and robust? >> (I've just started testing) > > If gmirror kicks one disk, you might end in an unfortunate > situation on the next reboot. Since gmirror won't use the kicked > disk, gpart will take it an make the partitions available as > p#. glabel might use these instead of the labels on gm0p#. > Ant then you use the kicked disk. > > To avoid this, do not use labels but refer to the partitions only > as gm0p# (or with the journal as gm0p#.journal). Thanks for pointing this out. I'm using filesystem labels (tunefs), no GEOM labels other than gmirror. 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. -- Alfred Bartsch Data-Service GmbH