From owner-freebsd-questions Tue May 12 22:50:39 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA16886 for freebsd-questions-outgoing; Tue, 12 May 1998 22:50:39 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from tidal.oneway.com (tidal.oneway.com [205.177.9.252]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA16852 for ; Tue, 12 May 1998 22:50:12 -0700 (PDT) (envelope-from jay@oneway.com) Received: from localhost (jay@localhost) by tidal.oneway.com (8.8.5/8.8.3) with SMTP id BAA03099; Wed, 13 May 1998 01:58:23 -0400 (EDT) Date: Wed, 13 May 1998 01:58:22 -0400 (EDT) From: Jay Reply-To: Jay To: questions@FreeBSD.ORG cc: Jos Backus Subject: Re: Duplicating drives using dd.. won't work? Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > I have a SCSI drive that I wish to make an exact copy of. The > > drives that I am going to be copying onto are identical to the master > > (same model). > If you look at the disks with fdisk (``fdisk sd0;fdisk sd1'' comes to > mind), do they both have the exact same geometry according to FreeBSD? Yes... I did a disklabel -e on the destination drive and gave it all the settings (exactly) from the source drive. I decided to try it a little differently. I used the same command: dd if=/dev/sd0c of=/dev/sd1c bs=32768 Only this time I booted from the boot floppy and the fixit floppy to do it. It worked that way. So it seems like you can't dd with a source drive which has a filesystem mounted. My new question is why doesn't it work even if the filesystem is mounted read-only. If someone knows why that is I am very interested in knowing that. Thanks alot to everyone who replied, Jay K. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message