From owner-freebsd-questions Mon Sep 30 16:52:11 2002 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 3253937B401 for ; Mon, 30 Sep 2002 16:52:09 -0700 (PDT) Received: from casper.sri.com (casper.SRI.COM [128.18.243.12]) by mx1.FreeBSD.org (Postfix) with SMTP id A0E0043E88 for ; Mon, 30 Sep 2002 16:52:08 -0700 (PDT) (envelope-from hogsett@csl.sri.com) Received: (qmail 26099 invoked from network); 30 Sep 2002 23:49:08 -0000 Received: from localhost (HELO casper.SRI.COM) (127.0.0.1) by casper.sri.com with SMTP; 30 Sep 2002 23:49:08 -0000 Received: from quarter.csl.sri.com ([130.107.1.30]) by casper.SRI.COM (NAVGW 2.5.1.18) with SMTP id M2002093016490709515 ; Mon, 30 Sep 2002 16:49:07 -0700 Received: from axp.csl.sri.com (axp.csl.sri.com [130.107.2.30]) by quarter.csl.sri.com (8.12.4/8.12.4) with ESMTP id g8UNjRnr018372; Mon, 30 Sep 2002 16:45:27 -0700 Received: from axp.csl.sri.com (localhost [127.0.0.1]) by axp.csl.sri.com (8.12.3/8.12.3) with ESMTP id g8UNjQZN049714; Mon, 30 Sep 2002 16:45:27 -0700 (PDT) (envelope-from hogsett@axp.csl.sri.com) Message-Id: <200209302345.g8UNjQZN049714@axp.csl.sri.com> To: "Pranav A. Desai" Cc: freebsd-questions@FreeBSD.ORG Subject: Re: how to use 'dd' to create image of a hard drive? In-Reply-To: Message from "Pranav A. Desai" of "Mon, 30 Sep 2002 18:39:09 CDT." Mime-Version: 1.0 (generated by tm-edit 8.8 (Time Passed Me By)) Content-Type: text/plain; charset=US-ASCII Date: Mon, 30 Sep 2002 16:45:26 -0700 From: Mike Hogsett 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 Please anyone correct me if I am wrong, but I believe that when you are using dd with a raw disk blocksize only effects performance and does not have any effect on the duplicated data. > Hi ! > > Thank you all for your prompt replies. You have said in your > replies that the bs parameter should be set appropriately. Is there a way > to find out appropriate block size, or any reasonable size should do, like > 1k or 4k. I am asking because I tried it a few weeks ago and I was unable > to mount the new drive let alone boot from it. Mostly I must have done > something wrong. I dont have access to another drive or else I could have > tried it again. Let me know if any block size will do or should it be > specific. > > Thanks > -Pranav > > ******************************************************************* > Pranav A. Desai > > Home :- (937) 294 1381 > ******************************************************************* > > On Mon, 30 Sep 2002, Jack L. Stone wrote: > > > At 04:02 PM 9.30.2002 -0700, David Smithson wrote: > > >> >> >Hi all! > > >> >> > > > >> >> > Can I use something like > > >> >> > > > >> >> >dd if=/dev/ad0 of=/dev/ad1 > > > > > >Yes. This will work fine. > > > > > >> NO! An entire image is taken of the ad0 and no labeling is necessary. It > > >is > > >> bootable already. > > >> > > >> Best regards, > > >> Jack L. Stone, > > >> Administrator > > > > > >I agree with Jack. However, if you want to boot from it as "ad1" or > > >whatever, I think you'll have to tweak your bootloader settings a little > > >bit. Right? > > > > > > > Yes, or if it is for a backup for ad0, just switch the cable and reboot.... > . > > > > Best regards, > > Jack L. Stone, > > Administrator > > > > SageOne Net > > http://www.sage-one.net > > jackstone@sage-one.net > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-questions" in the body of the message > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message