From owner-freebsd-hackers Wed Jan 10 16:00:10 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id QAA13909 for hackers-outgoing; Wed, 10 Jan 1996 16:00:10 -0800 (PST) Received: from hda.com (hda.com [199.232.40.182]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id PAA13853 Wed, 10 Jan 1996 15:59:56 -0800 (PST) Received: (from dufault@localhost) by hda.com (8.6.11/8.6.9) id TAA00916; Wed, 10 Jan 1996 19:02:05 -0500 From: Peter Dufault Message-Id: <199601110002.TAA00916@hda.com> Subject: Re: Disk replication To: graichen@omega.physik.fu-berlin.de (Thomas Graichen) Date: Wed, 10 Jan 1996 19:02:04 -0500 (EST) Cc: gcrutchr@nightflight.com, hackers@FreeBSD.org, questions@FreeBSD.org In-Reply-To: <199601101922.UAA00711@mordillo> from "Thomas Graichen" at Jan 10, 96 08:22:33 pm X-Mailer: ELM [version 2.4 PL24] Content-Type: text Sender: owner-hackers@FreeBSD.org Precedence: bulk > > hasn't Gary Crutcher said ? ... > > > > Hi, > > > > I have a 2nd SCSI drive (2.1 GB) which is the same as my 1st. My 1st drive > > has FBSD 2.05 on it, and I boot from it. How can I replicate the 1st drive > > onto the 2nd drive so I can disable the 1st drive and boot from the 2nd > > drive? I want to upgrade to 2.1 and if something goes wrong I need to bring > > my server back up quickly. I can only have the system down for about an > > hour or so. > > > > I would like to get info on how to do this ASAP as I want to do the upgrade > > this weekend. Any help would be greatly appreciated. > > > i think "dd if=/dev/sd0 of=/dev/sd1" should do the job (you must > adjust the drive-numbers to yours) > Big block sizes and quiescient disks will help also. Make sure the disk you are duplicating isn't being changed under you; go single user or unmount the disk. -- Peter Dufault Real Time Machine Control and Simulation HD Associates, Inc. Voice: 508 433 6936 dufault@hda.com Fax: 508 433 5267