Exposing a hierarchy of ZFS datasets inside multiple jails
Christian Degen
bubulein at freenas.org
Fri Jun 17 21:15:12 UTC 2011
Moin,
On 06/17/2011 18:46, Lars Kellogg-Stedman wrote:
> My first thought was simply to use nullfs to mount /home inside the
> jail, but nullfs doesn't provide any way to access subordinate
> filesystems.
Why dont you create a NFS-loopback? You can create a fstab for each jail
and use this to mount the nfs-shares.
from rc.conf
jail_alcatraz_fstab="/mnt/tank/freebsd/fstab.alcatraz"
fstab.alcatraz
127.0.0.1:/foo/bar /var/jails/alcatraz/mnt/bar nfs rw 0 0
yours,
bubulein
More information about the freebsd-jail
mailing list