Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Nov 1997 16:56:09 +0100
From:      Nicolai Langfeldt <janl@math.uio.no>
To:        Vincent Cojot <coyote@step.polymtl.ca>
Cc:        aic7xxx@FreeBSD.ORG
Subject:   Re: AHAX94X/copying 2 drives.
Message-ID:  <199711141556.QAA18023@gilgamesj.uio.no>
In-Reply-To: Your message of "Fri, 14 Nov 1997 09:51:06 EST." <Pine.GSO.3.95.971114094306.17604A-100000@step.polymtl.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
Vincent Cojot <coyote@step.polymtl.ca> tastet:
> 	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"?

Well, if the bad sectors are mapped out (hidden) as they should you need
not concern yourself with _that_.  If the drives have identical geometries
there should be no problem.

My next choice would be using dump/restore.  It's faster than tar and cp...
After that tar or cp.

Nicolai






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