From owner-freebsd-questions Mon Feb 23 06:44:21 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA14315 for freebsd-questions-outgoing; Mon, 23 Feb 1998 06:44:21 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from horton.iaces.com (horton.iaces.com [204.147.87.98]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA14307 for ; Mon, 23 Feb 1998 06:44:15 -0800 (PST) (envelope-from proot@horton.iaces.com) Received: (from proot@localhost) by horton.iaces.com (8.8.7/8.8.7) id IAA28036; Mon, 23 Feb 1998 08:42:06 -0600 (CST) From: "Paul T. Root" Message-Id: <199802231442.IAA28036@horton.iaces.com> Subject: Re: How can I mirror a FreeBSD hard drive? To: jkb@best.com (Jan Koum) Date: Mon, 23 Feb 1998 08:42:06 -0600 (CST) Cc: grog@lemis.com, blisowes@cgocable.net, freebsd-questions@FreeBSD.ORG In-Reply-To: from Jan Koum at "Feb 22, 98 00:01:03 am" X-Organization: USWEST !nterprise Networking - ACES X-Phone: (612) 664-3385 X-Fax: (612) 664-4779 X-Page: (800) SKY-PAGE PIN: 537-7270 X-Address: 600 Stinson Blvd, Fl 1S X-Address: Minneapolis, MN 55413 X-Mailer: ELM [version 2.4ME+ PL22 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In a previous message, Jan Koum said: > 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? I resently made 4 identical systems by installing on one, and moving the disk of the other machines to the first one and using: mount /dev/wd1a /mnt cd /mnt dump 0f - / | restore -rf - and so on for the other partitions. -- You know Hobbes, some days even my lucky rocketship underpants don't help. -- Calvin and Hobbs To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message