From owner-freebsd-questions@FreeBSD.ORG Wed Oct 19 00:04:12 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 3FBFD16A41F for ; Wed, 19 Oct 2005 00:04:12 +0000 (GMT) (envelope-from craig@advantagecomputer.biz) Received: from mail.advantagecomputer.biz (mail.acspros.com [209.168.238.168]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9305143D48 for ; Wed, 19 Oct 2005 00:04:11 +0000 (GMT) (envelope-from craig@advantagecomputer.biz) Received: from craiglaptop [68.59.59.109] by mail.advantagecomputer.biz with ESMTP (SMTPD32-8.15) id AD798E012C; Tue, 18 Oct 2005 19:04:09 -0500 From: "Craig Deal" To: Date: Tue, 18 Oct 2005 19:04:09 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.6353 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 In-Reply-To: <435576A8.7070203@adelphia.net> Thread-Index: AcXUM1e3utaI3jABTcOww2WIm69WPAADR7Hg Message-Id: <200510181904296.SM01300@craiglaptop> X-mxGuard-Info: Processed by mail.acspros.com using mxGuard v1.6.2 X-mxGuard-Spool-ID: 8d78008e012c81d1 X-mxGuard-Auth-Sender: craig@advantagecomputer.biz@mail.advantagecomputer.biz X-mxGuard-Sender: craig@advantagecomputer.biz X-mxGuard-Spam-Score: 0 X-mxGuard-Spam-Probability: CLEAN Subject: RE: Replacing a failing HD 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: Wed, 19 Oct 2005 00:04:12 -0000 > -----Original Message----- > From: owner-freebsd-questions@freebsd.org > [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Bob Ababurko > Sent: Tuesday, October 18, 2005 5:27 PM > To: Craig Deal; freebsd-questions@freebsd.org > Subject: Re: Replacing a failing HD > > 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 > > > > Any ideas what the problem might be? Do the hard drives have to be > > identical? One is a 30Gb and the other is a 60GB. > > > > Thanks, > > Craig > > > > > > I would think that you can dd from a small drive to a large > drive, but if the is possible _definitely_ not the other way > around. Which size are source and dest. drive? > > -Bob I should have been clearer. The source is 30GB and dest 60GB. Craig