From owner-freebsd-stable@FreeBSD.ORG Tue Mar 7 17:04:11 2006 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 403BD16A420 for ; Tue, 7 Mar 2006 17:04:11 +0000 (GMT) (envelope-from fcash@ocis.net) Received: from smtp.sd73.bc.ca (smtp.sd73.bc.ca [142.24.13.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id CC89743D45 for ; Tue, 7 Mar 2006 17:04:10 +0000 (GMT) (envelope-from fcash@ocis.net) Received: from localhost (localhost [127.0.0.1]) by localhost.sd73.bc.ca (Postfix) with ESMTP id 5C6788A006D for ; Tue, 7 Mar 2006 09:07:52 -0800 (PST) Received: from smtp.sd73.bc.ca ([127.0.0.1]) by localhost (smtp.sd73.bc.ca [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 76469-01-32 for ; Tue, 7 Mar 2006 09:07:46 -0800 (PST) Received: from webmail.sd73.bc.ca (unknown [10.10.10.17]) by smtp.sd73.bc.ca (Postfix) with ESMTP id 905BE8A0043 for ; Tue, 7 Mar 2006 09:07:45 -0800 (PST) Received: from webmail.sd73.bc.ca (localhost.localdomain [127.0.0.1]) by webmail.sd73.bc.ca (Postfix) with ESMTP id DCF04900044F for ; Tue, 7 Mar 2006 09:04:02 -0800 (PST) Received: from 192.168.0.10 (SquirrelMail authenticated user fcash) by webmail.sd73.bc.ca with HTTP; Tue, 7 Mar 2006 09:04:02 -0800 (PST) Message-ID: <54559.192.168.0.10.1141751042.squirrel@webmail.sd73.bc.ca> In-Reply-To: <200603070939.30032.joao@matik.com.br> References: <440D74B3.3030309@vwsoft.com> <200603070939.30032.joao@matik.com.br> Date: Tue, 7 Mar 2006 09:04:02 -0800 (PST) From: "Freddie Cash" To: stable@freebsd.org User-Agent: SquirrelMail/1.5.1 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new using ClamAV at sd73.bc.ca Cc: Subject: Re: Fresh install on gmirror'ed disks? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: fcash@ocis.net List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Mar 2006 17:04:11 -0000 On Tue, March 7, 2006 4:39 am, JoaoBR wrote: > On Tuesday 07 March 2006 08:55, Volker wrote: >> I do agree that gmirror is not that bad and not that difficult. But >> take a look at how to setup a fresh system using gmirror (slice by >> slice mirroring): >> >> - install a complete system to a fresh disc >> - create the (well sized) slices on a 2nd disc (not that easy) >> - create the gmirror set on disc 2 >> - bring gmirror up >> - copy all filesystems over to the gmirror set >> - reboot >> - create exactly sized slices on disc 1 >> - insert everything into the gmirror set >> >> Using that procedure you're going to copy each installed file three >> times (install, copy to mirror, sync mirror). That's a waste of >> time compared to a solution where the installer would be able to >> install directly into a mirror. There's no need to copy files around. gmirror handles it all for you behind the scenes. Just create the gmirror labels using the existing disks/slices/partitions, then insert the second set of disks/slices/parittions. gmirror will handle synchonising the data across the mirror. >> When using disc based gmirror (instead of per slice gmirror) the >> procedure is a bit easier, but similar. > there is no need to copy anything around ... > - you do install the system as usual > - before rebooting you create the to be mirrored disk with the gmirror > label command (you do not loose data here) > - then you change your fstab acordingly > - you reboot > - you insert the mirror disk(s) > - gmirror should start syncing automatically if you did everything > right > realy, this is a 3 minute thing This is the process I just went through. It would be nice if there was a post-install step that did this automatically, but it wasn't all that hard to do manually. Just CTRL+F4 to open the terminal, run a few commands to create the mirror, edit /etc/fstab, and exit the installer. Dru Lavigne's OnLamp article about this makes it almost trivial to do. ---- Freddie Cash fcash@ocis.net