SOLVED Newbie question: Jails mount point can't see storage files, only folders

Joined
Jan 12, 2019
Messages
7
Running 11.2
My main dataset is called mainstorage.
Parallell to the auto-created iocage dataset I have created a dataset "mainshare".

I have a jail called jotta (it's for jottacloud service/plugin)

Jottas mount point is:
Source: /mnt/mainstorage/mainshare
Destination: /mnt/mainstorage/iocage/jails/jotta/root/mnt/sharedfolders

Under my dataset "mainshare" I have created another dataset called "foto".

When I'm inside the jotta jail, browsing the /mnt/sharedfolders folder, the folder "foto" shows up! Hooray!
But any and all files inside this folder are independent from the two systems.
I create a file over SSH in FreeNAS inside "foto" folder, it only shows up there and not in the jail. And vice versa.

Am I missing something basic here?

You might wonder what my permissions are for this. Well, I'm going through permission hell currently since I'm trying to set up Windows shares that allows for private folders and guest folders which seems nigh impossible currently. But for this issue alone I've tried setting the dataset shares to both Unix and Windows types, but no difference.

Any suggestion?
 
Joined
Jan 12, 2019
Messages
7
For future reference - I solved this.
The problem was I created mount points that was the "parent" share. The system is unable to handle any child shares under that.

So solution for me was to create multiple mount points for each dataset I had under the main dataset.
 
Top