From owner-freebsd-questions Mon Oct 9 23:01:42 1995 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id XAA12270 for questions-outgoing; Mon, 9 Oct 1995 23:01:42 -0700 Received: from ref.tfs.com (ref.tfs.com [140.145.254.251]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id XAA12265 for ; Mon, 9 Oct 1995 23:01:40 -0700 Received: (from julian@localhost) by ref.tfs.com (8.6.11/8.6.9) id XAA16870; Mon, 9 Oct 1995 23:00:51 -0700 From: Julian Elischer Message-Id: <199510100600.XAA16870@ref.tfs.com> Subject: Re: Hard disk copying To: itemple@elysium.clare.tased.edu.au (Iain Templeton) Date: Mon, 9 Oct 1995 23:00:51 -0700 (PDT) Cc: questions@freebsd.org In-Reply-To: from "Iain Templeton" at Oct 10, 95 03:56:14 pm X-Mailer: ELM [version 2.4 PL24] Content-Type: text Content-Length: 1379 Sender: owner-questions@freebsd.org Precedence: bulk > > Is it possible to make an exact duplicate of a hard disk. I saw something > here the other day which looked similar to what I'm after, although I > didn't know it at the time. > > What I basically want is to be able to copy one disk, to another > (obviously), where the disks are on the same SCSI2 controller, and should > be the same model drive (exact model not known at this time). if they have the same number of blocks, then dd if=/dev/rsd0 of=/dev/rsd1 bs=64k should work.. this will mail miserably if the second drive is smaller than the first :) > > This is for backing up to another working drive so that one can be > replaced if the other one fails (or something like that). The ability to > go back the other way is not necessary. > > Thanks, Iain... > > ------------------------------------------------------------------------------ > Iain Templeton, Grade 12 student and administrator of Unix boxes/WWW/News at > Claremont College, Claremont, Tasmania, Australia. ah the land of real chocolate! +----------------------------------+ ______ _ __ | __--_|\ Julian Elischer | \ U \/ / On assignment | / \ julian@ref.tfs.com +------>x USA \ in a very strange | ( OZ ) 300 lakeside Dr. oakland CA. \___ ___ | country ! +- X_.---._/ USA+(510) 645-3137(wk) \_/ \\ v