From owner-freebsd-questions Sun Sep 30 12:35: 1 2001 Delivered-To: freebsd-questions@freebsd.org Received: from carbon.btinternet.com (carbon.btinternet.com [194.73.73.92]) by hub.freebsd.org (Postfix) with ESMTP id 72C6A37B406 for ; Sun, 30 Sep 2001 12:34:54 -0700 (PDT) Received: from [217.35.26.219] (helo=marvin.penguinpowered.org.uk) by rhenium with esmtp (Exim 3.22 #6) id 15nhVc-0000sf-00; Sun, 30 Sep 2001 15:23:56 +0100 Received: from [192.168.10.11] (helo=pan.realtime.co.uk) by marvin.penguinpowered.org.uk with esmtp (Exim 3.22 #1) id 15nhPS-00026l-00; Sun, 30 Sep 2001 15:17:34 +0100 Received: from waynep by pan.realtime.co.uk with local (Exim 3.22 #1) id 15nhU9-0000Fb-00; Sun, 30 Sep 2001 15:22:25 +0100 From: Wayne Pascoe To: "Mario Doria" Cc: freebsd-questions@freebsd.org Subject: Re: Copy a disk using dd References: <002f01c14947$ac9a8d00$0a00a8c0@midgar> Reply-To: wayne.pascoe@ehsrealtime.com Date: 30 Sep 2001 15:22:25 +0100 In-Reply-To: <002f01c14947$ac9a8d00$0a00a8c0@midgar> Message-ID: <86wv2gpxlq.fsf@pan.home.penguinpowered.org.uk> Lines: 23 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Cuyahoga Valley) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG "Mario Doria" writes: > Hi, > > On some machine with 2 identical disks, I want to copy everything on the > first drive to the second drive (mirror copy). The disks are da0 and da1. > I'm thinking of using: > > dd if=/dev/da0 of=/dev/da1 bs=8192 > > Is this OK? > > The purpose of this is to later remove the second hard disk, and use it on > another machine (like installing using Norton's Ghost). Both machines are > identical, I just don't want to do two separate installations. Sounds ok to me. -- Wayne Pascoe Things fall apart; the center cannot hold; Mere anarchy is loosed upon the world. - Yeats To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message