Date: Wed, 27 May 2009 15:35:53 -0700 From: "Peter Steele" <psteele@webmail.maxiscale.com> To: "Wojciech Puchar" <wojtek@wojtek.tensor.gdynia.pl> Cc: freebsd-questions@freebsd.org Subject: RE: Is this a gmirror bug? Message-ID: <B8A480488C0C6849826655761349EA4338E8@owa.webmail.maxiscale.com> References: <B8A480488C0C6849826655761349EA4338D4@owa.webmail.maxiscale.com><alpine.BSF.2.00.0905262333080.48107@wojtek.tensor.gdynia.pl><20090526230522.GH49013@hal.rescomp.berkeley.edu> <20090527011302.98954329.freebsd@edvax.de> <B8A480488C0C6849826655761349EA4338DA@owa.webmail.maxiscale.com> <alpine.BSF.2.00.0905271921280.53599@wojtek.tensor.gdynia.pl> <B8A480488C0C6849826655761349EA4338E6@owa.webmail.maxiscale.com> <alpine.BSF.2.00.0905280006420.55278@wojtek.tensor.gdynia.pl>
next in thread | previous in thread | raw e-mail | index | archive | help
>How this "reimaging" work if i may ask? bootable DVD with unix and script=20 >that do zcat [partition image.gz] >/dev/partition We have a two step process. First we run a script that creates the master image as a tgz. The image is created at an alternate root using the -C option of pkg_add and the DESTDIR option of the various OS install scripts. We only run this script when we need to make a change to the master image.=20 We use this image to create bootable USB sticks, and when a system is booted from one of these sticks there is automatic startup logic that clones the disk onto the target hard drive of the box (configuring the partitions and mirrors in the process) and then shuts the box down. We then simply have to remove the USB stick and reboot the box, and the system comes up with a clean OS. The whole cloning process only takes five minutes or so, and we can do multiple systems at a time using multiple USB drives. Works extremely well.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B8A480488C0C6849826655761349EA4338E8>