Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Jun 2005 12:47:56 -0700
From:      Sarath ER <sarath@linuxtechs.net>
To:        Tony Shadwick <tshadwick@goinet.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: system cloning
Message-ID:  <42A9EE6C.2010906@linuxtechs.net>
In-Reply-To: <20050610142559.S78603@mail.goinet.com>
References:  <20050610142559.S78603@mail.goinet.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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"





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?42A9EE6C.2010906>