Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Oct 1995 23:00:51 -0700 (PDT)
From:      Julian Elischer <julian@ref.tfs.com>
To:        itemple@elysium.clare.tased.edu.au (Iain Templeton)
Cc:        questions@freebsd.org
Subject:   Re: Hard disk copying
Message-ID:  <199510100600.XAA16870@ref.tfs.com>
In-Reply-To: <Pine.3.85.9510101514.C2851-0100000@elysium.clare.tased.edu.au> from "Iain Templeton" at Oct 10, 95 03:56:14 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199510100600.XAA16870>