From owner-freebsd-questions Tue Jul 23 15: 8: 8 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 3A4A537B400 for ; Tue, 23 Jul 2002 15:08:05 -0700 (PDT) Received: from sage-one.net (adsl-65-71-135-137.dsl.crchtx.swbell.net [65.71.135.137]) by mx1.FreeBSD.org (Postfix) with ESMTP id 40BBF43E5E for ; Tue, 23 Jul 2002 15:08:04 -0700 (PDT) (envelope-from jackstone@sage-one.net) Received: from sagea (sagea [192.168.0.3]) by sage-one.net (8.11.6/8.11.6) with SMTP id g6NM7wB59367; Tue, 23 Jul 2002 17:07:58 -0500 (CDT) (envelope-from jackstone@sage-one.net) Message-Id: <3.0.5.32.20020723170756.011cd350@mail.sage-one.net> X-Sender: jackstone@mail.sage-one.net X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.5 (32) Date: Tue, 23 Jul 2002 17:07:56 -0500 To: Gary Dunn From: "Jack L. Stone" Subject: Re: Cloning FreeBSD Cc: "Bertel, Markus R" , "'freebsd-questions@FreeBSD.ORG'" In-Reply-To: <1027459952.32156.19.camel@shf102107.hi.pac.army.mil> References: <3.0.5.32.20020723115015.011cd350@mail.sage-one.net> <3.0.5.32.20020723115015.011cd350@mail.sage-one.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" 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 At 11:32 AM 7.23.2002 -1000, Gary Dunn wrote: >On Tue, 2002-07-23 at 06:50, Jack L. Stone wrote: >> At 12:31 PM 7.23.2002 -0400, Bertel, Markus R wrote: >> > 23 >> >Jul 02 >> > >> >Dear Sir/Ma'am >> > >> > We have been using FreeBSD for a few years and have been so far very >> >satisfied in its performance. We would like to make a back up of the hard >> >drive that has FreeBSD and its configuration. Is there a disk cloning >> >software that would work and be compatable with FreeBSD where we could copy >> >from one disk to another disk? Thank you for your input. >> > >> >Regards >> >Markus R Bertel >> > >> See DD(1) to copy an exact image to another HD. Be aware that HD #2 (copy >> to) needs to be equal to or larger than HD #1 (copy from). > >What device name would I use? Let's say I have two SCSI drives. Would I >use /dev/da0 and /dev/da1, or /dev/da0s1 and /dev/da1s1? > >-- > > Gary Dunn > Open Slate Project > http://www.aloha.com/~knowtree/ > Honolulu > registered Linux user #273809 > To clone a HD to another, this is an example of a command for HD1 to HD2: dd if=/dev/ad0 of=/dev/ad1 bs=8192 ...which is what I use for 40GB IDEs. In place of the ad0 and ad1, for SCSI, I believe it is "da0" for HD1... look at /etc/fstab and use the info for the device (exclude the slice #"s1a" etc...) there or from "dmesg".... 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