diskdiddler
Wizard
- Joined
- Jul 9, 2014
- Messages
- 2,377
EDIT:
It's possible the script works a lot better now, I haven't tested it, but see this bug track for it.
https://redmine.ixsystems.com/issues/27236#change-306289
You might not need all the information below.
Here's some tips for novices which will help if you have issues migrating your jails, I was worried and there wasn't enough info
The command is
migrate_warden.py -v -j <WARDEN> -p <POOL>
It's the exact warden name, example "sickrage_1" or "couchpotato_2" etc.
The pool is just your poolname, no it doesn't damage the pool, it puts it in the iocage section.
So it will end up going from:
/mnt/POOL/jails/sickrage_1
to
/mnt/POOL/iocage/jails/sickrage_1/root/
No, it won't damage your old jail in any way!
(Do remember to edit the warden jail and disable auto-start though)
ALSO:
Several issues you may have
1, you may need to manually set a nameserver in the networking section on the host, I don't know why but I had to, to fix some networking issues.
2, you might need to add a manual gateway / route on the FreeNAS host, I'm not sure, but I did this, it fixed my problems
3, you may need the 'tunables fix' for networking - there's many posts on this now, 2 lines to be added to rc.conf
4, it will import with a weird mac address like 01:0a:44:11:ac:66,01:0a:44:11:ac:66
This is _bad_. If you look at other, 'properly' created jails / plugins under iocage, you will see the correct format is actually
010a4411ac66,010a4411ac67
Note the increment last digit on the mac address, it's to do with virtual adapters or something? Fix this under the networking part of the jail in the new UI, strip out the : just for the heck of it.
5, you may need to change the ipv6 address from VNET0|none to just "none"
6, you may need to set a manual ipv4 route (gateway) in the jail, not just the FreeNAS host
7. you may need to reconfigure the mount points on the jails to be at the correct paths.
I know that sounds like a lot, once you've done it once, it's easy as heck. As soon as you do, all the jails work, they migrate flawlessly and you can most likely truly disable warden entirely.
It's possible the script works a lot better now, I haven't tested it, but see this bug track for it.
https://redmine.ixsystems.com/issues/27236#change-306289
You might not need all the information below.
Here's some tips for novices which will help if you have issues migrating your jails, I was worried and there wasn't enough info
The command is
migrate_warden.py -v -j <WARDEN> -p <POOL>
It's the exact warden name, example "sickrage_1" or "couchpotato_2" etc.
The pool is just your poolname, no it doesn't damage the pool, it puts it in the iocage section.
So it will end up going from:
/mnt/POOL/jails/sickrage_1
to
/mnt/POOL/iocage/jails/sickrage_1/root/
No, it won't damage your old jail in any way!
(Do remember to edit the warden jail and disable auto-start though)
ALSO:
Several issues you may have
1, you may need to manually set a nameserver in the networking section on the host, I don't know why but I had to, to fix some networking issues.
2, you might need to add a manual gateway / route on the FreeNAS host, I'm not sure, but I did this, it fixed my problems
3, you may need the 'tunables fix' for networking - there's many posts on this now, 2 lines to be added to rc.conf
4, it will import with a weird mac address like 01:0a:44:11:ac:66,01:0a:44:11:ac:66
This is _bad_. If you look at other, 'properly' created jails / plugins under iocage, you will see the correct format is actually
010a4411ac66,010a4411ac67
Note the increment last digit on the mac address, it's to do with virtual adapters or something? Fix this under the networking part of the jail in the new UI, strip out the : just for the heck of it.
5, you may need to change the ipv6 address from VNET0|none to just "none"
6, you may need to set a manual ipv4 route (gateway) in the jail, not just the FreeNAS host
7. you may need to reconfigure the mount points on the jails to be at the correct paths.
I know that sounds like a lot, once you've done it once, it's easy as heck. As soon as you do, all the jails work, they migrate flawlessly and you can most likely truly disable warden entirely.
Last edited: