User Tools

Site Tools


freenas

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
freenas [2020/03/13 17:03]
k2patel created
freenas [2020/10/30 17:11] (current)
k2patel [Jail Issues]
Line 11: Line 11:
  
 You can do this live while in production. This will only restart the middleware process that effects the WebUI. You can do this live while in production. This will only restart the middleware process that effects the WebUI.
 +
 +==== Jail migration warden to iocage ====
 +
 +After upgrading from 11.1 to 11.3, one must migrate all jain from warden to iocage.\\
 +In order to migrate there is utility provided but need some tweaking.
 +<code bash>
 +/​usr/​local/​sbin/​migrate_warden.py
 +</​code>​
 +After fresh update it gives error :!: Warden does not have a path set, please set one in the GUI.\\
 +In order to fix issue change as follow.
 +<code python | /​usr/​local/​sbin/​migrate_warden.py>​
 +- _dir = None
 ++ _dir = "/​mnt/<​zpool>/​Jails"​
 +</​code>​
 +Next step is to run migration script.
 +<code bash>
 +/​usr/​local/​sbin/​migrate_warden.py -v -j <​Jail_name>​ -p <​zpool>​
 +</​code>​
 +
 +==== Jails ====
 +
 +=== Upgrading Jail after major update ===
 +:!: Select the appropriate version
 +<code bash>
 +iocage fetch
 +iocage upgrade backuppc -r 12.2-RELEASE
 +</​code>​
 +
 +=== pkg command broken after major version update ===
 +:!:When //iocage pkg backuppc update// does not work.
 +
 +Check if file //​**/​usr/​local/​etc/​pkg/​repos/​FreeBSD.conf**//​ using the correct ABI.\\
 +Once the version confirmed, run following commands in jail.
 +
 +<code bash>
 +# pkg-static install -f pkg
 +pkg-static bootstrap -f
 +pkg update -f
 +pkg upgrade
 +</​code>​
 +
  
freenas.txt ยท Last modified: 2020/10/30 17:11 by k2patel