SOLVED Dataset not accessible from Jails -> Mount Points

leonardorame

Contributor
Joined
Jun 30, 2018
Messages
106
In TrueNAS-12.0-U7, I want to mount the marked dataset (datos/imagenes) in a jail.

1643804907196.png


From Jails -> my jail I go to mount_points then add, and I can't see the /mnt/datos/imagenes dataset. Also there's a weird thing, both mnt/datos and mnt/datos/imagenes are listed in the mnt directory of the jail.

1643805076067.png


What I would like to do (I'm sure I did this on previous releases) is to mount the /mnt/datos/imagenes dataset into the jail.
 

leonardorame

Contributor
Joined
Jun 30, 2018
Messages
106
Follow up. If I go to shell and do an ls /mnt/datos I only see iocage but not imagenes.
 

leonardorame

Contributor
Joined
Jun 30, 2018
Messages
106
I found the solution.

The problem was the dataset was "jailed", so I did this:
Code:
zfs set jailed=off datos/imagenes

This removes the "jailed" state, but the dataset is unmounted after that. So, I had to mount it:
Code:
zfs mount datos/imagenes

And that's it!, now I can correcty mount into my jail.
 
Last edited:
Top