Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Oct 2006 12:48:29 +0200
From:      "Patrick M. Hausen" <hausen@punkt.de>
To:        Guido van Rooij <guido@gvr.org>
Cc:        Rink Springer <rink@freebsd.org>, freebsd-stable@freebsd.org
Subject:   Re: Gmirror question
Message-ID:  <20061025104829.GA41873@hugo10.ka.punkt.de>
In-Reply-To: <20061025103905.GB50937@gvr.gvr.org>
References:  <20061025100759.GA50625@gvr.gvr.org> <20061025101801.GE23885@rink.nu> <20061025103905.GB50937@gvr.gvr.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061025104829.GA41873>