Date: Tue, 12 May 1998 10:38:02 -0500 (CDT) From: "Paul T. Root" <proot@horton.iaces.com> To: jay@oneway.com (Jay) Cc: questions@FreeBSD.ORG Subject: Re: Duplicating drives using dd.. won't work? Message-ID: <199805121538.KAA20074@horton.iaces.com> In-Reply-To: <Pine.BSF.3.96.980512103102.1445A-100000@tidal.oneway.com> from Jay at "May 12, 98 10:39:00 am"
next in thread | previous in thread | raw e-mail | index | archive | help
In a previous message, Jay said: > > Good Morning, > > I've read the archives, and have gotten conflicting answers, so I > wanted to ask here and hopefully get a definitive one. > 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). > I tried using dd in single user mode to duplicate the disks: > > dd if=/dev/rsd0c of=/dev/rsd1c bs=32768 > > And this seems to work... except when I attempt to use the newly > created disk, I get all sorts of errors... fsck freaks out on the drive. > After awhile, I can get it to repair the drive, but either I lose some > files or things get corrupted. I've done this, but I did fdisk and disklabel first on the new drive, then did the partitions individually. It's easy to script. Take the fdisk and disklabel information from the first one and use it for the second. I have some examples if you're interested. > In the mailing lists I have seen people suggest doing the copy via > dd... and others saying not to... It does not seem to work as is. > > I'm not a newbie to FreeBSD, and would really like to understand what is > happenning here. Can anyone point me in the right direction? > > Thanks, > > Jay > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > -- Disclaimer: These responses are my own and in no way reflect the views of my employer (but then again, this is a random signature). To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199805121538.KAA20074>