Today I boot up my TrueNAS box (shutdown over half a year) as I want to test application using Jails.
I create a new Jail (Base Jail) using the 12.3-RELEASE-p5 Image, but after reboot the Jails cannot start and throw the following error:
I find that the
My pool are encrypted. I am using TrueNAS Core 12.0U8.1
-----------------------------------------------------------------------------------------------------------------------
Not sure if it is solved, I have to use Basejail to create a persistent Jails. Using Basejail Type the root will not be emptied.
-----------------------------------------------------------------------------------------------------------------------
Solved, please see the reply
I create a new Jail (Base Jail) using the 12.3-RELEASE-p5 Image, but after reboot the Jails cannot start and throw the following error:
Error: [EFAULT] [Errno 2] No such file or directory: '/mnt/iocagePool/iocage/jails/NewJailName/root/etc/rc.conf'
I find that the
/mnt/iocagePool/iocage/jails/NewJailName/root/
is empty. I tried to create multiple new Jail and get the same result. The root directory is not empty before I reboot the NAS, but it goes empty after the reboot. My old Jails do not have problem and their /mnt/iocagePool/iocage/jails/OldJailName/root/
is not empty. What is going on?My pool are encrypted. I am using TrueNAS Core 12.0U8.1
-----------------------------------------------------------------------------------------------------------------------
Not sure if it is solved, I have to use Basejail to create a persistent Jails. Using Basejail Type the root will not be emptied.
-----------------------------------------------------------------------------------------------------------------------
Solved, please see the reply
Last edited: