From owner-freebsd-stable@FreeBSD.ORG Wed Oct 25 10:48:32 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1A0BC16A403; Wed, 25 Oct 2006 10:48:32 +0000 (UTC) (envelope-from hausen@punkt.de) Received: from kagate.punkt.de (kagate.punkt.de [217.29.33.131]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6C00243D58; Wed, 25 Oct 2006 10:48:31 +0000 (GMT) (envelope-from hausen@punkt.de) Received: from hugo10.ka.punkt.de (hugo10.ka.punkt.de [10.0.0.110]) by kagate1.punkt.de with ESMTP id k9PAmUIO023841; Wed, 25 Oct 2006 12:48:30 +0200 (CEST) Received: from hugo10.ka.punkt.de (localhost [127.0.0.1]) by hugo10.ka.punkt.de (8.12.10/8.12.10) with ESMTP id k9PAmTa9043933; Wed, 25 Oct 2006 12:48:30 +0200 (CEST) (envelope-from ry93@hugo10.ka.punkt.de) Received: (from ry93@localhost) by hugo10.ka.punkt.de (8.12.10/8.12.10/Submit) id k9PAmTkL043932; Wed, 25 Oct 2006 12:48:29 +0200 (CEST) (envelope-from ry93) Date: Wed, 25 Oct 2006 12:48:29 +0200 From: "Patrick M. Hausen" To: Guido van Rooij Message-ID: <20061025104829.GA41873@hugo10.ka.punkt.de> References: <20061025100759.GA50625@gvr.gvr.org> <20061025101801.GE23885@rink.nu> <20061025103905.GB50937@gvr.gvr.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20061025103905.GB50937@gvr.gvr.org> User-Agent: Mutt/1.5.10i Cc: Rink Springer , freebsd-stable@freebsd.org Subject: Re: Gmirror question X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Oct 2006 10:48:32 -0000 Hi! On Wed, Oct 25, 2006 at 12:39:05PM +0200, Guido van Rooij wrote: > > # gmirror label -v -b split -s 2048 data da0s1a da1s1a da2s1a > > > > It's been a while since I last used this; but I believe it will work. > > The problem is that gmirror stores its label in the last sector of the > partition. I do not know how to reserve that space with newfs. You don't need to. If your bsdlabel partition is N sectors in size, the gmirror object will have size N - 1. Newfs will not be able to write to that last sector. You newfs the finished mirror device, not the individual partitions. HTH, Patrick -- punkt.de GmbH Internet - Dienstleistungen - Beratung Vorholzstr. 25 Tel. 0721 9109 -0 Fax: -100 76137 Karlsruhe http://punkt.de