Date: Fri, 29 Feb 2008 12:58:04 +0100 From: Ivan Voras <ivoras@freebsd.org> To: freebsd-questions@freebsd.org Subject: Re: gmirror + glabel + gjournal and 7.0 installation Message-ID: <fq8rq3$vnm$1@ger.gmane.org> In-Reply-To: <87lk545ggq.fsf@vm.yewbarrow.net> References: <87lk545ggq.fsf@vm.yewbarrow.net>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig9A71798311DFE4862C48D2EE Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable HN wrote: > Not entirely clear in my mind how to do this. I've got: >=20 > http://people.freebsd.org/~rse/mirror/ >=20 > for the mirroring, but don't have a grasp of how glabel and gjournal > fit into this. >=20 > Can I do this with sysinstall (should I ?) and what order should I be > adding things in ? Can I switch the journalling on and off after it's > been set up ? Any thing I should look out for ? Sysinstall can't do that. You could do the install manually from the fixit command line environment (meaning: set up the devices, RAID, boot loader, base system, etc.), or maybe semi-manually, by specifying file systems and devices you created to sysinstall and then letting sysinstall proceed, but I think this would be *more* error prone than not= =2E Once you have a system running on a single drive, it's almost trivial to mirror it. I'd recommend you don't use gjournal for all file systems but only for some, like /home, /srv or /usr/local. This way, you can install a "normal" system, boot into the newly installed system, set up gjournal and file systems on gjournaled devices, and then mirror the whole thing to another drive as usual. I'd recommend you use UFS labels with glabels, in which case it's also almost trivial - add "-L mylabel" argument to the newfs command line. You could run into a problem here - mirrored drives will have mirrored labels and I don't know if it would be possible to choose or distinguish between the labels on the original drives, the labels on the gmirror device and the labels on the gjournaled device. If you get this kind of problems, ask on freebsd-geom@ mailing list for further directions. --------------enig9A71798311DFE4862C48D2EE Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFHx/NNldnAQVacBcgRApSWAJ44vkRTmFQDPuSy/+5ukW+7qu9q9QCfWnUf qYwuDAQvPKK7lvUr6Vbr1TY= =nYcW -----END PGP SIGNATURE----- --------------enig9A71798311DFE4862C48D2EE--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?fq8rq3$vnm$1>