This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
freenas [2020/05/29 20:15] k2patel [Memory leak] |
freenas [2020/10/30 17:11] (current) k2patel [Jail Issues] |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== FreeNAS ====== | ====== FreeNAS ====== | ||
- | === Memory leak === | + | ==== Memory leak ==== |
1G in system processes for python3.6 \\ | 1G in system processes for python3.6 \\ | ||
:!: This is fixed in latest stable. | :!: This is fixed in latest stable. | ||
Line 12: | Line 12: | ||
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 === | + | ==== Jail migration warden to iocage ==== |
After upgrading from 11.1 to 11.3, one must migrate all jain from 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. | In order to migrate there is utility provided but need some tweaking. | ||
Line 24: | Line 25: | ||
+ _dir = "/mnt/<zpool>/Jails" | + _dir = "/mnt/<zpool>/Jails" | ||
</code> | </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> | ||
+ | |||
+ |