The following scenario is happening on two freshly installed FreeBSD 13.0-RELEASE hosts.
Host A acts as an NFSv4 server. It provides the following share:
Host B can successfully mount and browse the share using
Host B also hosts a jail named myjail. My goal is to make the NFS share available to the jail.
My jail's data directory is located under /ssd/cbsd/jails-data/myjail-data.
Inside the jail I created the directory /usr/local/storage. This directory was created with the jail's root user.
After unmounting the NFS share from Host A's /mnt I attempt to do this:
Now the funny part: On host A, I can do
What exactly causes this behavior? What am I missing?
Host A acts as an NFSv4 server. It provides the following share:
192.168.250.61:/myshare
Host B can successfully mount and browse the share using
mount -t nfs -o nfsv4,rw 192.168.250.61:/mysare /mnt
.Host B also hosts a jail named myjail. My goal is to make the NFS share available to the jail.
My jail's data directory is located under /ssd/cbsd/jails-data/myjail-data.
Inside the jail I created the directory /usr/local/storage. This directory was created with the jail's root user.
After unmounting the NFS share from Host A's /mnt I attempt to do this:
mount -t nfs -o nfsv4,rw 192.168.250.61:/mysare /ssd/cbsd/jails-data/myjail-data/usr/local/storage
.Now the funny part: On host A, I can do
ls /ssd/cbsd/jails-data/myjail-data/usr/local/storage
and I can see the files present at the NFS share. However, if I log into the jail and do ls /usr/local/storage
the directory appears empty (using the jail's root user again).What exactly causes this behavior? What am I missing?