From owner-freebsd-isp Tue Feb 18 18: 1: 4 2003 Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B076937B401 for ; Tue, 18 Feb 2003 18:01:02 -0800 (PST) Received: from emerald.crystal.com.au (emerald.crystal.com.au [203.21.47.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7106043F75 for ; Tue, 18 Feb 2003 18:01:01 -0800 (PST) (envelope-from shaun@crystal.com.au) Received: from crystal.com.au ([202.165.76.30]) by emerald.crystal.com.au (8.12.0.Beta19/8.12.0.Beta19) with ESMTP id h1J24Pdh010252; Wed, 19 Feb 2003 10:04:26 +0800 Message-ID: <3E52E523.5010606@crystal.com.au> Date: Wed, 19 Feb 2003 10:00:03 +0800 From: Shaun Dwyer User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3a) Gecko/20021212 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Adrian Gonzalez , freebsd-isp@freebsd.org Subject: Re: Symantec Ghost-like app for UFS? References: <5.1.1.6.2.20030217190503.0626c2d8@globalpc.net> In-Reply-To: <5.1.1.6.2.20030217190503.0626c2d8@globalpc.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I did this recently on one of my machines using tar... the procedure is: do minimal install on new disk for the purposes of creating partitions and installing the bootloader etc, boot off old disk in single user mode, mount new drive and then use tar to the following... for example, to do /usr, cd /usr tar cvf - --one-file-system * | tar xf - -C /mnt/new_usr --one-file-system stops tar from crossing mount points, so this will work for the root partition too :) This is the way to do it if you are moving to a different sized disk and want to change the paritition sizes. If you want to 'clone' a stack of machines, you can build one up as you want it, and then just use dd in a 3rd machine.. ie, boot off disk 0, clone disk 1 to disk 2. dd if=/dev/rad1 of=/dev/rad2 You may find that specifying a block size (eg bs=1m) helps to increase speed. systat -vmstat will show you how many MB/sec the disks are doing. --Shaun Adrian Gonzalez wrote: > > Is there anything out there that resembles Symantec Ghost but works with > FreeBSD partitions? > > Basically I want to be able to transfer a FreeBSD installation from an > old hard drive to a new one without having to reinstall, reconfigure, etc. > > Thanks > > -Adrian > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-isp" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message