Migration of Jail from one host to another?
Alexander Leidinger
Alexander at Leidinger.net
Wed Oct 1 13:56:17 UTC 2008
Quoting "Scott Lambert" <lambert at lambertfam.org> (from Wed, 2 Jul 2008
15:22:35 -0500):
> I'm probably doing this completely wrong. I setup a couple of jails
> using simple image files because I thought that would make migration
> to another server more straightforward. I am now trying to migrate my
> first jail.
A little bit late, but I moved 2 ezjails today (on 8-current). It was
setup inside a ZFS, not in an image. It worked without problems (I
transferred the ZFS data (zfs send | zfs receive), the fstab file, and
the ezjail config file).
> /usr/local/etc/rc.d/ezjail.sh start
> ezjailConfiguring jails:.
> Starting jails: testnetmount: /home/ezjails/migrate.jail.device :
> Operation not permitted
You have a problem here. You may want to look into ezjail what the
testnetmount is doing. I assume there's some problem with creating the
md device.
> df: /home/ezjails/migrate.jail/dev: No such file or directory
> mount: /home/ezjails/migrate.jail/dev: No such file or directory
I think this and the rest are followup errors of the failed mount of
the disk image.
Bye,
Alexander.
--
You may get an opportunity for advancement today. Watch it!
http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7
http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137
More information about the freebsd-jail
mailing list