From owner-freebsd-hackers Tue Oct 23 7:25:50 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from acl.lanl.gov (acl.lanl.gov [128.165.147.1]) by hub.freebsd.org (Postfix) with SMTP id 8637237B405 for ; Tue, 23 Oct 2001 07:25:47 -0700 (PDT) Received: (qmail 1302486 invoked from network); 23 Oct 2001 08:25:46 -0600 Received: from snaresland.acl.lanl.gov (128.165.147.113) by acl.lanl.gov with SMTP; 23 Oct 2001 08:25:46 -0600 Received: (qmail 26376 invoked by uid 3499); 23 Oct 2001 08:25:46 -0600 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 23 Oct 2001 08:25:46 -0600 Date: Tue, 23 Oct 2001 08:25:46 -0600 (MDT) From: Ronald G Minnich X-X-Sender: To: Peter Pentchev Cc: "PSI, Mike Smith" , Subject: Re: Duping a hard disk In-Reply-To: <20011023154507.A2567@straylight.oblivion.bg> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, 23 Oct 2001, Peter Pentchev wrote: > Is there anything wrong with dd(1)? A lot. Best way I found was dump | restore, i.e. mkfs /dev/newdisk mount /dev/newdisk /newdisk dump 0f - / | (cd /newdisk; restore rf -) or equivalent ... - yes, you can use tar, but you have to remember all the options - yes, you can use dd, if you don't mind copying EVERY BLOCK, including the ones full of zeros or that are unused - over the network, you can compress the data I dup'ed 64 machines this way once over the network and it went FAST. What we used to do is have a CD boot disk (we built one 128-node cluster with NO FLOPPIES -- floppies suck). It works well. Of course with the bproc stuff we are totally out of the disk dup business for clusters, but for desktops it is nice to be able to slam a cdrom in and have the machine initialized. ron To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message