From owner-freebsd-questions@FreeBSD.ORG Fri Jun 10 19:48:09 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3472216A424 for ; Fri, 10 Jun 2005 19:48:09 +0000 (GMT) (envelope-from sarath@linuxtechs.net) Received: from venus.mediacatch.com (ns13.mediacatch.com [216.27.201.20]) by mx1.FreeBSD.org (Postfix) with ESMTP id E53A543D4C for ; Fri, 10 Jun 2005 19:48:08 +0000 (GMT) (envelope-from sarath@linuxtechs.net) Received: from [202.83.54.67] (helo=[202.83.54.67]) by venus.mediacatch.com with esmtpa (Exim 4.50) id 1DgpUB-0008B0-AI; Fri, 10 Jun 2005 15:48:16 -0400 Message-ID: <42A9EE6C.2010906@linuxtechs.net> Date: Fri, 10 Jun 2005 12:47:56 -0700 From: Sarath ER User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Tony Shadwick References: <20050610142559.S78603@mail.goinet.com> In-Reply-To: <20050610142559.S78603@mail.goinet.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - venus.mediacatch.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [47 12] X-AntiAbuse: Sender Address Domain - linuxtechs.net X-Source: X-Source-Args: X-Source-Dir: Cc: freebsd-questions@freebsd.org Subject: Re: system cloning X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Jun 2005 19:48:09 -0000 This is how I do it on linux.. Correct me if I am wrong. rsync -vrplogDtH /* /new chroot and edit the fstab etc I do not know how to fix the bootrecord in freebsd, please find howto. boot from the array lets hope this helps. - Sarath Tony Shadwick wrote: > Here's my scenario: > > I have a system that we are running in production that there was an > oversight on, and it has a single hard drive installed (32GB SCSI I > believe), rather than a 3 drive raid5 array. We would like to correct > this, but we have all sorts of up-to-date packages and config files > that we've tweaked that we would hate to just start over on it. > > There's a tool for OSX called "Carbon Copy Cloner" that would take > care of this for me, which is basically a series of copy commands that > takes the filesystem from one drive to another, preserving EVERYTHING > important, and then bless the boot volume. > > Is there anything similar I can do on FreeBSD? My boss thinks I > should be able to tar up the entire filesystem, create the raid array, > and untar the whole thing on the new array. I seem to think this will > fail due to block devices that have changed, fstab entries that have > changed (though this is correctable), and symlinks that don't nicely > come across. > > Thoughts? > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org"