From owner-freebsd-questions@FreeBSD.ORG Mon Apr 5 12:51:01 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4AF8E16A4CE for ; Mon, 5 Apr 2004 12:51:01 -0700 (PDT) Received: from falcon.mail.pas.earthlink.net (falcon.mail.pas.earthlink.net [207.217.120.74]) by mx1.FreeBSD.org (Postfix) with ESMTP id 15C8D43D31 for ; Mon, 5 Apr 2004 12:51:01 -0700 (PDT) (envelope-from awfabian@earthlink.net) Received: from user-0ccsvi3.cable.mindspring.com ([24.206.126.67] helo=turingmachine.mentalsiege.net) by falcon.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 1BAa7M-0001Wb-00; Mon, 05 Apr 2004 12:50:49 -0700 Received: from turingmachine.mentalsiege.net (turingmachine.mentalsiege.net [127.0.0.1])i35JoW23070932; Mon, 5 Apr 2004 14:50:32 -0500 (CDT) (envelope-from afabian@turingmachine.mentalsiege.net) Received: (from afabian@localhost)i35JoO52070931; Mon, 5 Apr 2004 14:50:24 -0500 (CDT) (envelope-from afabian) Date: Mon, 5 Apr 2004 14:50:24 -0500 From: Adam Fabian To: "J.D. Bronson" Message-ID: <20040405195024.GA70913@turingmachine.dyndns.org> Mail-Followup-To: Adam Fabian , "J.D. Bronson" , freebsd-questions@freebsd.org References: <6.1.0.5.2.20040405142312.00a9f540@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6.1.0.5.2.20040405142312.00a9f540@localhost> User-Agent: Mutt/1.4.2.1i cc: freebsd-questions@freebsd.org Subject: Re: diskcopy (dd) on 5.2.1 ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Apr 2004 19:51:01 -0000 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.