I would like to use a ZFS dataset within a jail. I have tried this:
host:
/etc/sysctl.conf
/etc/rc.conf
I have also unhidden the devices:
While I can see the dataset, it is not mounted in the jail, but on the host it is.
Any ideas what I'm missing?
host:
/etc/sysctl.conf
Code:
security.jail.mount_zfs_allowed=1
security.jail.enforce_statfs=0
security.jail.mount_allowed=1
/etc/rc.conf
Code:
zfs_enable="YES"
Code:
zfs jail <jail-id> <dataset>
service jail start
I have also unhidden the devices:
While I can see the dataset, it is not mounted in the jail, but on the host it is.
Any ideas what I'm missing?