Moving jails from one computer to another

albi albinootje albinootje at gmail.com
Wed Oct 25 19:43:29 UTC 2006


On 10/25/06, Doug Poland <doug at polands.org> wrote:

> I'm curious if anyone has comments on moving a jail environment from
> one computer to another.  Not having actually tried it yet, it would
> seem to be possible given:
>
> Both computers:
>    are the same arch (i386, in my case).
>    are running the same kernel and userland (e.g., FreeBSD RELENG_6_1)
>    have identical jail environments (e.g., sysutils/ezjail)


by coincidence i've finished moving a jail-environment from 1 disc to
a bigger disc and then to another machine today

unfortunately i "had" to rebuild world because the clock was wrong and
got a "touch: file not found" which turned out to be a FAQ after i
already restarted with "time make buildworld" etc. but of course
normally that shouldn't happen

in your case you already have another disc ready, and if e.g. your
jails are in /usr/jails/ then
you would replicate the relevant /etc/rc.conf content (without ezjail that is)

not sure where ezjail saves it's config-files, but that's probably
easy to replicate too


More information about the freebsd-questions mailing list