From owner-freebsd-questions Sun Feb 22 00:04:12 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA01884 for freebsd-questions-outgoing; Sun, 22 Feb 1998 00:04:12 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from allegro.lemis.com (allegro.lemis.com [192.109.197.134]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id AAA01871 for ; Sun, 22 Feb 1998 00:04:07 -0800 (PST) (envelope-from grog@lemis.com) Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by allegro.lemis.com (8.8.7/8.8.5) with ESMTP id SAA06595; Sun, 22 Feb 1998 18:33:57 +1030 (CST) Received: (from grog@localhost) by freebie.lemis.com (8.8.8/8.8.7) id SAA04904; Sun, 22 Feb 1998 18:33:56 +1030 (CST) (envelope-from grog) Message-ID: <19980222183356.17059@freebie.lemis.com> Date: Sun, 22 Feb 1998 18:33:56 +1030 From: Greg Lehey To: Jan Koum Cc: Brad , freebsd-questions@FreeBSD.ORG Subject: Re: How can I mirror a FreeBSD hard drive? References: <19980219135057.02353@freebie.lemis.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.89i In-Reply-To: ; from Jan Koum on Sun, Feb 22, 1998 at 12:01:03AM -0800 WWW-Home-Page: http://www.lemis.com/~grog Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, 22 February 1998 at 0:01:03 -0800, Jan Koum wrote: > On Thu, 19 Feb 1998, Greg Lehey wrote: > >> On Wed, 18 February 1998 at 20:51:15 -0500, Brad wrote: >>> >>> To Whom It May Concern, >>> >>> I have a full, working, beautiful install of FreeBSD. It is now time for >>> it to go on the Internet. However, there is one thing that I still would >>> like to do. This machine has 2 hard drives in it. The first drive is the >>> whole FreeBSD install. The second drive is totally unused. I would like >>> to mirror the FreeBSD drive to the unused drive so that in the event of a >>> crash, I can just switch the jumpers and the backup drive becomes the >>> master, bootable FreeBSD drive and things carry on as normal. >> >> Well, the only way you can currently do this is with the ccd driver. >> It's not as simple as it sounds, though: >> >> 1. You can't mirror the root file system. >> 2. If one of your drives goes down, you need to reboot and >> reconfigure to use the other one. > > Could you use 'dd' though? You wouldn't need to. The data's there, but CCD is too stupid to come up if one of its components is down, so you have to remove that component from the config. This bug could be fixed, of course, but there are plenty more like it, and I've got better things to do. Greg To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message