diskcopy (dd) on 5.2.1 ?

Adam Fabian afabian at turingmachine.dyndns.org
Mon Apr 5 12:51:01 PDT 2004


On Mon, Apr 05, 2004 at 02:32:37PM -0500, J.D. Bronson wrote:
> I have 2 "100% identical SCSI drives" on my freebsd machine..
> 
> What command can I do in freebsd to 'copy' one drive to another
> completely (including the bootsectors and partition table) ?
> 
> da0
> da1

dd if=/dev/rda0 of=/dev/rda1 bs=16k

seems reasonable to me.  I have a couple of identical IDE drives;
performance doesn't pick up much after 16k blocks, but 16k is many
times faster than the default of 512 bytes.


More information about the freebsd-questions mailing list