AHAX94X/copying 2 drives.

Vincent Cojot coyote at step.polymtl.ca
Fri Nov 14 06:52:50 PST 1997


Hello everyone,

	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






More information about the aic7xxx mailing list