Hi all,
As I searched through the Internet, I've found some posts about the combination of NFS and Jail, but I've not found any working solution. Maybe something has changed and someone figured out how to make this work.
What I want to achieve is to have each service working in separate environment. Not working NFS stopped me with continuing with jails so I switched to VirtualBox. In VB I observed decreased performance, specially network delays within multiple virtual machines. Nothing huge, but it bothers me. I tried several combination of sysctl options but it's not working yet.
So before I decide what to do next I would like to ask if someone has made NFS work in Jail. Specially NFSv4, because I want to use Kerberos with it.
When I try to start NFS with [cmd=]/etc/rc.d/nfsd start[/cmd] I got:
After this, RPC and mountd are running except nfsd.
nfsd error log:
(I tried to run NFSv4 on the host machine first and it's working without problems.)
Do any of you have any hint/modifications or any direction I can follow? There must be some workaround, but unfortunately my knowledge here is not sufficient. Is even NFSv3 working for any of you who tried?
Thanks very much.
As I searched through the Internet, I've found some posts about the combination of NFS and Jail, but I've not found any working solution. Maybe something has changed and someone figured out how to make this work.
What I want to achieve is to have each service working in separate environment. Not working NFS stopped me with continuing with jails so I switched to VirtualBox. In VB I observed decreased performance, specially network delays within multiple virtual machines. Nothing huge, but it bothers me. I tried several combination of sysctl options but it's not working yet.
So before I decide what to do next I would like to ask if someone has made NFS work in Jail. Specially NFSv4, because I want to use Kerberos with it.
When I try to start NFS with [cmd=]/etc/rc.d/nfsd start[/cmd] I got:
Code:
sysctl: vfs.nfsd.nfs_privport: Operation not permitted
sysctl: vfs.nfsd.server_max_nfsvers: Operation not permitted
Starting rpcbind.
Starting mountd.
Starting nfsd.
After this, RPC and mountd are running except nfsd.
Code:
Mountd error log:[/B]
Jun 2 23:59:32 MCBSD_J mountd[4474]: Can't delete exports for V4:
Jun 2 23:59:32 MCBSD_J mountd[4474]: can't delete exports for /: Operation not permitted
Code:
Jun 2 23:59:32 MCBSD_J nfsd[4477]: Can't read stable storage file
(I tried to run NFSv4 on the host machine first and it's working without problems.)
Do any of you have any hint/modifications or any direction I can follow? There must be some workaround, but unfortunately my knowledge here is not sufficient. Is even NFSv3 working for any of you who tried?
Thanks very much.