From owner-freebsd-hackers Tue Oct 23 6:52:41 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from ussenterprise.ufp.org (ussenterprise.ufp.org [208.185.30.210]) by hub.freebsd.org (Postfix) with ESMTP id 55ACB37B405 for ; Tue, 23 Oct 2001 06:52:31 -0700 (PDT) Received: (from bicknell@localhost) by ussenterprise.ufp.org (8.11.1/8.11.1) id f9NDqUI86994 for hackers@FreeBSD.ORG; Tue, 23 Oct 2001 09:52:30 -0400 (EDT) (envelope-from bicknell) Date: Tue, 23 Oct 2001 09:52:30 -0400 From: Leo Bicknell To: hackers@FreeBSD.ORG Subject: Re: Duping a hard disk Message-ID: <20011023095230.A86909@ussenterprise.ufp.org> Mail-Followup-To: hackers@FreeBSD.ORG References: <3BD563F9.299FE3C@mitre.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3BD563F9.299FE3C@mitre.org>; from mlsmith@mitre.org on Tue, Oct 23, 2001 at 08:35:05AM -0400 Organization: United Federation of Planets 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, Oct 23, 2001 at 08:35:05AM -0400, PSI, Mike Smith wrote: > But alas, I cannot find any procedures for doing this. Does anyone know > how to duplicate a master disk to a "new" slave disk??? It would REALLY > make my life much easier. I've done this two ways before. 1) If your disks are _really_ identical you can make a disk with the image you want, and dd the raw c partition from old to new. I used to do this a lot with DECStations, but also with FreeBSD boxen. It's easiest if you can make a boot disk and an image disk in an external case, POP it on the SCSI bus and then image an internal drive. IDE makes for a lot more case opening operations. 2) For a lab, I recomend near-constant rebuilding/monitoring. For this rdist (actually, newer variants) are your friend. Have the machines push out the changes you're interested in, as well as make sure everything is ok once a night. Weird things happen to lab machines. Note, if you want the machines to dual-boot to windows, and you install windows on a FAT file system you can mount it under FreeBSD and let rdist do it's thing nightly. It's so nice to have the easily corrupted Windows boxes reinstall every night from a clean tree. -- Leo Bicknell - bicknell@ufp.org Systems Engineer - Internetworking Engineer - CCIE 3440 Read TMBG List - tmbg-list-request@tmbg.org, www.tmbg.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message