Share volume with jails

Status
Not open for further replies.

armsby

Dabbler
Joined
Apr 20, 2014
Messages
14
I have created a volume named vol0 in that volume I have created dataset like this

/vol0
/vol0/media
/vol0/media/Movies
/vol0/media/TV

I have added storage to my Jail in form of /vol0/media linked to /media

in the Jail I can see the 2 folders Movies and TV but not the content of them, is that normal and do I have to link the 2 (Movies and TV) as storage in the jail?

EDIT: after spotting some changes in my post do to formatting I have now put the hole path on the datasets, the 2 datasets are under media and can be seen under the jail but the content can not be seen if I only add storage of the first dataset /vol0/media to the jail.
 
D

dlavigne

Guest
From http://doc.freenas.org/index.php/Adding_Jails#Adding_Storage:

NOTE: a mounted dataset will not automatically mount any of its child datasets. While the child datasets may appear browsable inside the jail, any changes will not be visible. Since each dataset is considered to be its own filesystem, each child dataset must have its own mount point, meaning that you need to create a separate storage for any child datasets which need to be mounted.
 

armsby

Dabbler
Joined
Apr 20, 2014
Messages
14
Thank you that answers my question, i dont know why I did not see that note in the bottom of the page

Sent from my HTC One max using Tapatalk
 
Status
Not open for further replies.
Top