From owner-freebsd-geom@FreeBSD.ORG Fri Nov 12 22:21:09 2004 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A92B116A4CE for ; Fri, 12 Nov 2004 22:21:09 +0000 (GMT) Received: from darkness.comp.waw.pl (darkness.comp.waw.pl [195.117.238.136]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4C21143D39 for ; Fri, 12 Nov 2004 22:21:09 +0000 (GMT) (envelope-from pjd@darkness.comp.waw.pl) Received: by darkness.comp.waw.pl (Postfix, from userid 1009) id 27AC4ACC6E; Fri, 12 Nov 2004 23:21:07 +0100 (CET) Date: Fri, 12 Nov 2004 23:21:07 +0100 From: Pawel Jakub Dawidek To: Robin Breathe Message-ID: <20041112222107.GP8120@darkness.comp.waw.pl> References: <200411081140.57792.michael.riexinger@de.clara.net> <20041108120513.GH11057@calleigh.elde.net> <20041108124606.GC8120@darkness.comp.waw.pl> <200411081540.05593.michael.riexinger@de.clara.net> <20041108164540.GF8120@darkness.comp.waw.pl> <41950935.2010103@isometry.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="l7itP/1EBO9PCc/O" Content-Disposition: inline In-Reply-To: <41950935.2010103@isometry.net> User-Agent: Mutt/1.4.2i X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 5.2.1-RC2 i386 cc: Terje Elde cc: freebsd-geom@FreeBSD.org Subject: Re: gmirror problems X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Nov 2004 22:21:09 -0000 --l7itP/1EBO9PCc/O Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Nov 12, 2004 at 07:04:21PM +0000, Robin Breathe wrote: +> Pawel Jakub Dawidek wrote: +> >Unfortunately, gmirror and other GEOM classes are not supported by our +> >installer. +> > +> >The safest way to do what you want is to: +> > +> > # gmirror label ad1 +> > create slices and partitions on /dev/mirror/ +> > create file system +> > copy data from ad0 to +> > change /etc/fstab to boot from /dev/mirror/s1a or something +> > reboot +> > # gmirror insert ad0 +>=20 +> Are any nasty side-effects likely from slicing and newfs-ing ad1 prior= =20 +> to labelling the mirror? For example, could the gmirror metadata get=20 +> overwritten at some later stage by writing to the end of the last slice? In theory it is possible, yes, but I doubt you can see it in practise. You can also see some complains that slices are too big, because gmirror cuts the last sectors from the component provider. --=20 Pawel Jakub Dawidek http://www.FreeBSD.org pjd@FreeBSD.org http://garage.freebsd.pl FreeBSD committer Am I Evil? Yes, I Am! --l7itP/1EBO9PCc/O Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFBlTdTForvXbEpPzQRAvm1AJ9UnZpxoGVIQvwnTMjTYCd3hwLWdwCgrxoa OjIIZXncn77zwajaBFiFFGs= =vlJ/ -----END PGP SIGNATURE----- --l7itP/1EBO9PCc/O--