From owner-freebsd-geom@FreeBSD.ORG Mon Nov 8 16:45:47 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 27C5116A4CE for ; Mon, 8 Nov 2004 16:45:47 +0000 (GMT) Received: from darkness.comp.waw.pl (darkness.comp.waw.pl [195.117.238.136]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0FB0543D1F for ; Mon, 8 Nov 2004 16:45:46 +0000 (GMT) (envelope-from pjd@darkness.comp.waw.pl) Received: by darkness.comp.waw.pl (Postfix, from userid 1009) id 8C56DACBCF; Mon, 8 Nov 2004 17:45:40 +0100 (CET) Date: Mon, 8 Nov 2004 17:45:40 +0100 From: Pawel Jakub Dawidek To: Michael Riexinger Message-ID: <20041108164540.GF8120@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> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="WFYXJKyHTUiGqOmp" Content-Disposition: inline In-Reply-To: <200411081540.05593.michael.riexinger@de.clara.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: Mon, 08 Nov 2004 16:45:47 -0000 --WFYXJKyHTUiGqOmp Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Nov 08, 2004 at 03:40:05PM +0100, Michael Riexinger wrote: +> Now a last question: For setting up gmirror on my 2 hd's (the first=20 +> contained a fresh freebsd installation), I had to boot from cd, using=20 +> the fixit cd, chrooting a bit for loading gmirror etc. Is there an=20 +> easier way for doing this? First i tried using the single user mode but= =20 +> there was an operation not permitted when i tried to do a 'gmirror=20 +> label'. Can I for example say: Create a mirror on ad1 with the data on= =20 +> ad0, wait till it's built, reboot the machine from the gmirror and then= =20 +> insert ad0?=20 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 Pawel Jakub Dawidek http://www.FreeBSD.org pjd@FreeBSD.org http://garage.freebsd.pl FreeBSD committer Am I Evil? Yes, I Am! --WFYXJKyHTUiGqOmp Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFBj6K0ForvXbEpPzQRApy9AKCU0W++mV4n0UFJE4tdt7amf11VsACg7eh6 3G8aaQZfzhvHMLRSNH+CP+M= =67pi -----END PGP SIGNATURE----- --WFYXJKyHTUiGqOmp--