2 Jul 2008 22:22
Migration of Jail from one host to another?
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. I am using the ezjail tools for creating and maintaining jails. The existing jail host is 6.2-STABLE FreeBSD 6.2-STABLE #1: Sun Mar 11 21:46:01 CDT 2007, ezjail-2.0.1. The new jail host is 7.0-STABLE FreeBSD 7.0-STABLE #0: Sat May 10 06:29:00 CDT 2008, ezjail-2.1. I have created a test jail on the 7.0-STABLE box with ezjail-admin which works perfectly, using what I believe were the exact same parameters given, other than IP/hostname, when I created the 6.2-STABLE jail. # ezjail-admin create -i -s 1G test 192.168.8.237 I have moved over the fstab.migrate_jail file, and the /u/l/e/ezjail/migrate_jail config file for the 6.2-STABLE jail to the 7.0-STABLE box and created an empty directory beside the 7.0 test jail's empty directory. I shut down the jail on the 6.2-STABLE host and scp'd the image file to the 7.0-STABLE box. I put it beside the empty jail directory. I made sure the fstab.test and the fstab.migrate_jail look the same except for jail name changes. I made sure the /u/l/e/ezjail/test and /u/l/e/ezjail/migrate_jail files look the same except for jail name changes. # more /etc/fstab.test(Continue reading)
RSS Feed