I am unable to export NSF share that is sitting on zfs. NFS is jailed, and jail is sitting on its own zfs filesystem.
NFS service fires up in jail, but /var/log/messages shows
This is jail's /etc/exports
That's all.
But like I said /b is sitting on tank/ezjail/pxeboot which is separate filesystem.
I tried applying different solutions but couldn't figure it out.
I have nonjailed setup that's using both NFSv3 and NFSv4 and it's working fine.
NFS service fires up in jail, but /var/log/messages shows
Code:
Oct 15 22:35:19 pxeboot mountd[25008]: Can't delete exports for V4:
Oct 15 22:35:19 pxeboot mountd[25008]: can't delete exports for /: Operation not permitted
Oct 15 22:35:19 pxeboot mountd[25008]: can't change attributes for /b
Oct 15 22:35:19 pxeboot mountd[25008]: bad exports list line /b -ro -alldirs
This is jail's /etc/exports
Code:
/b -ro -alldirs
That's all.
But like I said /b is sitting on tank/ezjail/pxeboot which is separate filesystem.
I tried applying different solutions but couldn't figure it out.
I have nonjailed setup that's using both NFSv3 and NFSv4 and it's working fine.