ZFS Jail loses visibility of recursive null mounts

I'm running a FreeNAS box and asked the question on their forum, but didn't find a suitable answer. I'm still seeing this problem and a reboot is the only thing that seems to bring the mounts back up without deadlocking the machine. Here is the link to the original thread:
https://forums.freenas.org/index.php?threads/jail-loses-visibility-of-recursive-mount.26512/

In summary, I have a set of ZFS datasets that I mount recursively both under /mnt/storage, then as null/loop mounts into the jails. Everything works fine for a while, but eventually the jails just have empty directories instead of the mounted datasets. Looking at the logs doesn't show any errors.

I'm not super familiar with freebsdFreeBSD, so any place I can look for more information, or to turn up log levels on certain things would be appreciated.
 
Does fstat show any processes having those directories open? Additionally, what causes a panic? An umount ..., umount -f ..., or the mount ... afterwards?
 
Well, sorry for the super late reply. I was just putting up with having to reboot the machine periodically, and now finally have time to look into this again.

I don't see a /etc/jail.conf, I'm assuming that FreeNAS has a custom jail setup located elsewhere... a quick google did not reveal its location to me.

The last time I noticed the jails losing the mounts was when my scheduled ZFS scrub started. I'll take a look at forcing a scrub and see what happens then too.
 
Back
Top