Date: Thu, 21 Jul 2005 15:37:13 -0400 From: asym <bsdlists@rfnj.org> To: "Eli K. Breen" <bsd@unixforge.net>, freebsd-stable@freebsd.org Subject: Re: Machine Replication Message-ID: <6.2.1.2.2.20050721153501.0390a668@mail.rfnj.org> In-Reply-To: <42DFF582.1050406@unixforge.net> References: <42DFF582.1050406@unixforge.net>
next in thread | previous in thread | raw e-mail | index | archive | help
At 15:20 7/21/2005, Eli K. Breen wrote: >All, > >Does anyone have a good handle on how to replicate (read: image) a freebsd >machine from one machine to an ostensibly similar machine? > >So far I've used countless variations and combinations of the following: > >dd (Slow, not usefull if the hardware isn't identical?) >tar (Doesn't replicate MBR) >rsync (No MBR support) >Norton Ghost (Doesn't support UFS/UFS2?) >G4U (little experience with this) I've found a combination of dd + tar works great, as documented. Stick the new drive in the box to be duplicated, use dd on the first (forget how many) sectors to copy the mbr and partition tables over, then use a tar pipe to copy from one drive to the other, preserving all perms and so forth. Barring that, commercial single-disk duplicators aren't THAT expensive. Hell you could just use a cheap raid card to raid-1 mirror the drive, then yank it out and toss it in another box, which I've done on occasion when pressed.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6.2.1.2.2.20050721153501.0390a668>