AHAX94X/copying 2 drives.

Frank Terhaar-Yonkers fty at cisco.com
Fri Nov 14 10:57:19 PST 1997


I've had drives that were so "bad" that I could read them sequentially
via dd, but dump would cause them to barf.  The "safest" approach IMHO,
would be to use dd from drive a -> b.  Then use dump from drive b to make a
good backup copy, then label/newfs drive b to use the appropriate size
and geometry, finally restore to drive b.

- Frank

 >	This is not exactly aic7xxx-related but since this will happen on
 >Linux+X940, I'd like to ask my question here:
 >
 >	I have a computer with both a 3940 and a 2940UW. On the 2940UW is
 >a 9.1GB Atlas II (UW). I am getting the latter drive replaced (excellent
 >drive but strange noises, the heat of this summer could have been the
 >cause).
 >
 >	Technically speaking, what should be the best way to -copy- data
 >from the old drive to the new one?  Is it generally a good idea to "dd
 >if=/dev/sdc of=/dev/sdd bs=512"  (regardless of the actual number of
 >good/bad sectors?) or should I just recreate the partitions, mount them in
 >the correct trees and then "cp -dpRv /mnt1 to /mnt2"?
 >
 >	I actually feel like trying the second method, it has worked fine
 >for me for several GB of data already and at least gives the ability of
 >"verifying" the surface when mke2fs'ing with "-c". 
 >
 >	What do you people think? Thanks for reading. Of course, we don't
 >want to lose data... 
 >
 >,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,
 >Vincent S. Cojot, Computer Engineering. STEP project. _.,-*~'`^`'~*-,._.,-*~
 >Ecole Polytechnique de Montreal, Comite Micro-Informatique. _.,-*~'`^`'~*-,.
 >Linux Xview/OpenLook resources page _.,-*~'`^`'~*-,._ coyote at info.polymtl.ca
 >http://www.info.polymtl.ca/~coyote  _.,-*~'`^`'~*-,._ coyote at step.polymtl.ca
 >
 >They cannot scare me with their empty spaces
 >Between stars - on stars where no human race is
 >I have it in me so much nearer home
 >To scare myself with my own desert places.       - Robert Frost
 >
 >
 >


\\\\////\\\\////\\\\\////\\\\\////\\\\////\\\\////\\\\////\\\\////\\\\////\\\\
Frank Terhaar-Yonkers
Cisco Systems, Inc.
Engineering Computer Services, W2 F3 5
7025 Kit Creek Road  PO Box 14987
Research Triangle Park,  North Carolina  27709
fty at cisco.com   voice (919)472-2101   FAX (919)472-2940
pager (800)796-7363 pin 1008366 -or- fty at airnote.net



More information about the aic7xxx mailing list