Date: Mon, 8 Nov 2004 17:45:40 +0100 From: Pawel Jakub Dawidek <pjd@FreeBSD.org> To: Michael Riexinger <michael.riexinger@de.clara.net> Cc: freebsd-geom@freebsd.org Subject: Re: gmirror problems Message-ID: <20041108164540.GF8120@darkness.comp.waw.pl> In-Reply-To: <200411081540.05593.michael.riexinger@de.clara.net> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
--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 <name> ad1 create slices and partitions on /dev/mirror/<name> create file system copy data from ad0 to <name> change /etc/fstab to boot from /dev/mirror/<name>s1a or something reboot # gmirror insert <name> 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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041108164540.GF8120>