From owner-freebsd-questions@FreeBSD.ORG Wed Oct 19 02:42:26 2005 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 4ED4116A420 for ; Wed, 19 Oct 2005 02:42:26 +0000 (GMT) (envelope-from gayn.winters@bristolsystems.com) Received: from bristolsystems.com (h-68-167-239-98.lsanca54.covad.net [68.167.239.98]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0772243D45 for ; Wed, 19 Oct 2005 02:42:25 +0000 (GMT) (envelope-from gayn.winters@bristolsystems.com) Received: from workdog ([192.168.1.201]) by bristolsystems.com (8.11.6/8.11.6) with ESMTP id j9J1rHn04870; Tue, 18 Oct 2005 18:53:17 -0700 From: "Gayn Winters" To: "'Craig Deal'" , Date: Tue, 18 Oct 2005 18:53:08 -0700 Message-ID: <007e01c5d44f$de0dabf0$c901a8c0@workdog> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4024 In-Reply-To: <200510181904296.SM01300@craiglaptop> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Importance: Normal Cc: Subject: RE: Replacing a failing HD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: gayn.winters@bristolsystems.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Oct 2005 02:42:26 -0000 > > Craig Deal wrote: > > > > > > > > >>>Hope it's ok to continue this thread, but can you > explain in more > > >>>detail how to use dd to copy a HD. I read "man dd" and was > > >> > > >>unable to > > >> > > >>>figure out how this is done. > > >>> > > >>>Thanks, > > >>>Craig > > >>> > > >>>_______________________________________________ > > >>>freebsd-questions@freebsd.org mailing list > > >>>http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > >>>To unsubscribe, send any mail to > > >> > > >>"freebsd-questions-unsubscribe@freebsd.org" > > >> > > >>This is what I have done in the past. > > >> > > >>dd if=/dev/da0 of=/dev/da1 bs=8192b > > >> > > >>where da0 is the disk you want to copy and da1 is the new, > > blank disk. > > >>I should also mention that it is wise to do this in single > > user mode. > > >>I actually have read this somewhere and understand the > point of it, > > >>but I must also say that I have done it both ways and they > > have both > > >>worked. > > >>YMMV I would have to say it is all dependant and what you have > > >>running. > > >> > > >>I have done this too many times to count and it is very easy. > > >> > > >>peace, > > >>Bob > > >> > > > > > > > > > I tried this and got the following error: > > > > > > ad0: FAILURE - READ_DMA status=51 > > > error=40 > > > LBA=8387712 A couple ideas for dd: Have you tried bs=512b ? How about conv=noerror ? -gayn