From owner-freebsd-questions@FreeBSD.ORG Sat Mar 11 15:18:18 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 72DC716A422 for ; Sat, 11 Mar 2006 15:18:18 +0000 (GMT) (envelope-from infofarmer@gmail.com) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id E9F2C43D46 for ; Sat, 11 Mar 2006 15:18:17 +0000 (GMT) (envelope-from infofarmer@gmail.com) Received: by wproxy.gmail.com with SMTP id i3so1066450wra for ; Sat, 11 Mar 2006 07:18:17 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=rrOqoQL2m+kQQfZh9KPMGwD+TsrNNVUa0Tsc2of6D6bDkWRKLQ5jMH9clbPUgeU55YgS/Zq4ms8j6nDx1Qx1xDLvkhECpSZGh5ZfFDMKczbhF1sqlUqKsxegGWt6bAfvHs1NKIHqhwb52bXjXKEtrl7wAhurG0CPhQeHplw0BMg= Received: by 10.54.147.14 with SMTP id u14mr1413888wrd; Sat, 11 Mar 2006 07:18:16 -0800 (PST) Received: by 10.54.105.5 with HTTP; Sat, 11 Mar 2006 07:18:16 -0800 (PST) Message-ID: Date: Sat, 11 Mar 2006 18:18:16 +0300 From: "Andrew Pantyukhin" To: "Grant Peel" In-Reply-To: <001901c64517$9d891950$6701a8c0@GRANT> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <001901c64517$9d891950$6701a8c0@GRANT> Cc: freebsd-questions@freebsd.org Subject: Re: dd - cloning a disk. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Mar 2006 15:18:18 -0000 On 3/11/06, Grant Peel wrote: > Hi all, > > Here is a simple (I think!) question for the I/O savy among you: > > If I had two identical disks, say, 73 GB Seagate 10K SCSIs, one completel= y > operational fully setup FreeBSD with all the trimmings, and the other bla= nk, > or perhaps loaded but no longer usable, is 'dd' and appropriate tool to > completely clone the Good disk to the not so good disk....therefor making > the second disk identical to the first? Bootable and all? It is, with a few 'buts'. Firstly, the source should be mounted read-only. Secondly, you should copy the drive device itself (ie da0 to da1) instead of its partitions (ie da0c).