From owner-freebsd-stable@FreeBSD.ORG Thu Jul 21 19:34:34 2005 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 16F7116A41F for ; Thu, 21 Jul 2005 19:34:34 +0000 (GMT) (envelope-from gmulder@infotechfl.com) Received: from pigeon.infotechfl.com (mailrelay.infotechfl.com [209.251.147.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8A09D43D6D for ; Thu, 21 Jul 2005 19:34:33 +0000 (GMT) (envelope-from gmulder@infotechfl.com) Received: from localhost (gmulder@localhost) by pigeon.infotechfl.com (8.11.6/8.11.6) with ESMTP id j6LJYOD22500; Thu, 21 Jul 2005 15:34:24 -0400 Date: Thu, 21 Jul 2005 15:34:23 -0400 (EDT) From: Gary Mulder To: "Eli K. Breen" In-Reply-To: <42DFF582.1050406@unixforge.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-stable@freebsd.org Subject: Re: Machine Replication X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jul 2005 19:34:34 -0000 On Thu, 21 Jul 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) > Try dump and restore. They seem to be fast and reliable (although not under Linux from all accounts). I usually use "tar" and "disklabel -B /dev/XXX" out of habit, but have found that tar doesn't honour the permissions on /tmp and /var/tmp. The sticky bit is set on these two dirs, but the permissions are not set to 777. This has me wondering what other (dir) perms are not correctly set. Gary