Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Nov 1997 18:56:26 GMT
From:      Frank Terhaar-Yonkers <fty@cisco.com>
To:        aic7xxx@FreeBSD.ORG, coyote@step.polymtl.ca
Subject:   Re: AHAX94X/copying 2 drives.
Message-ID:  <199711141856.SAA02045@fty-ss20.cisco.com>

next in thread | raw e-mail | index | archive | help

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@info.polymtl.ca
 >http://www.info.polymtl.ca/~coyote  _.,-*~'`^`'~*-,._ coyote@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@cisco.com   voice (919)472-2101   FAX (919)472-2940
pager (800)796-7363 pin 1008366 -or- fty@airnote.net



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