Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Apr 2004 14:50:24 -0500
From:      Adam Fabian <afabian@turingmachine.dyndns.org>
To:        "J.D. Bronson" <jbronson@wixb.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: diskcopy (dd) on 5.2.1 ?
Message-ID:  <20040405195024.GA70913@turingmachine.dyndns.org>
In-Reply-To: <6.1.0.5.2.20040405142312.00a9f540@localhost>
References:  <6.1.0.5.2.20040405142312.00a9f540@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



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