nojohnny101
Wizard
- Joined
- Dec 3, 2015
- Messages
- 1,477
Hey everyone,
I have multiple jails setup successfully in 11.2-RELEASE-U1.
I am just trying to better understand how the iocage mount jail storage works. This is what I understand happens when you create a mountpoint and according to the manual:
- the source is a dataset outside of the jail on the host system that the jail can access
- the target dataset is a dataset within the jail that is linked to the source dataset
I have successfully set this up but need a few clarifying points that I couldn't find direct answers to:
- Where is best practice to add the files. If you add files on the "source", are they replicated or just "linked" to inside the jail?
- Does this double count space on the pool because the same file is created in two locations (I guess not)?
- What happens if I delete something from the "target", does it also remove it from the "source" (and vice versa)?
If anyone has any resources that clears up these points, I would appreciate it! Thank you!
I have multiple jails setup successfully in 11.2-RELEASE-U1.
I am just trying to better understand how the iocage mount jail storage works. This is what I understand happens when you create a mountpoint and according to the manual:
- the source is a dataset outside of the jail on the host system that the jail can access
- the target dataset is a dataset within the jail that is linked to the source dataset
I have successfully set this up but need a few clarifying points that I couldn't find direct answers to:
- Where is best practice to add the files. If you add files on the "source", are they replicated or just "linked" to inside the jail?
- Does this double count space on the pool because the same file is created in two locations (I guess not)?
- What happens if I delete something from the "target", does it also remove it from the "source" (and vice versa)?
If anyone has any resources that clears up these points, I would appreciate it! Thank you!