From owner-freebsd-questions@FreeBSD.ORG Fri Feb 29 11:54:54 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4C47D1065675 for ; Fri, 29 Feb 2008 11:54:54 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id C159F8FC2A for ; Fri, 29 Feb 2008 11:54:53 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1JV3pA-0000it-NE for freebsd-questions@freebsd.org; Fri, 29 Feb 2008 11:54:48 +0000 Received: from lara.cc.fer.hr ([161.53.72.113]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 29 Feb 2008 11:54:48 +0000 Received: from ivoras by lara.cc.fer.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 29 Feb 2008 11:54:48 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Ivan Voras Date: Fri, 29 Feb 2008 12:58:04 +0100 Lines: 57 Message-ID: References: <87lk545ggq.fsf@vm.yewbarrow.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig9A71798311DFE4862C48D2EE" X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: lara.cc.fer.hr User-Agent: Thunderbird 2.0.0.6 (X11/20071022) In-Reply-To: <87lk545ggq.fsf@vm.yewbarrow.net> X-Enigmail-Version: 0.95.0 Sender: news Subject: Re: gmirror + glabel + gjournal and 7.0 installation X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Feb 2008 11:54:54 -0000 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--