From owner-freebsd-questions@FreeBSD.ORG Wed Oct 19 04:52:01 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 5B69516A41F for ; Wed, 19 Oct 2005 04:52:01 +0000 (GMT) (envelope-from nallark@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.207]) by mx1.FreeBSD.org (Postfix) with ESMTP id C733343D48 for ; Wed, 19 Oct 2005 04:52:00 +0000 (GMT) (envelope-from nallark@gmail.com) Received: by xproxy.gmail.com with SMTP id t14so5449wxc for ; Tue, 18 Oct 2005 21:52:00 -0700 (PDT) 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:references; b=KzphllqXI1yesfR8FmhFal+EfZAJ1dcA8Od+anGlo1eYU6OZTyn7hBQeclT2xjo+iG3zf/kNBr+KaenkgTMV6QV7psZDS+sbLhg79/CuahxSmSvBQbzqdBNcE9nkEROXN2GMsGkV6HYLgQ7DEGL36elIxGCPyg1ia8cLPS5OMi4= Received: by 10.70.16.20 with SMTP id 20mr12976wxp; Tue, 18 Oct 2005 21:52:00 -0700 (PDT) Received: by 10.70.87.16 with HTTP; Tue, 18 Oct 2005 21:52:00 -0700 (PDT) Message-ID: <14f2d8380510182152j29088e0ake14df20f61154fff@mail.gmail.com> Date: Wed, 19 Oct 2005 10:22:00 +0530 From: Ramakrishna Nalla To: Bob Ababurko In-Reply-To: <435576A8.7070203@adelphia.net> MIME-Version: 1.0 References: <200510181619968.SM01300@craiglaptop> <435576A8.7070203@adelphia.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org, Craig Deal 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 04:52:01 -0000 But, won't doing a dd between two disks with incompatible sizes create a ba= d partition table on the destination drive? TIA, Rama On 10/19/05, Bob Ababurko wrote: > > 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=3D/dev/da0 of=3D/dev/da1 bs=3D8192b > >> > >>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 > >>_______________________________________________ > >>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" > >> > > > > > > I tried this and got the following error: > > > > ad0: FAILURE - READ_DMA status=3D51 > error=3D40 > > LBA=3D8387712 > > > > 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 > > > > _______________________________________________ > > 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" > > > > 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 > _______________________________________________ > 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" >