NFS within a Jail?!
fbsd8 at a1poweruser.com
Wed Aug 8 14:03:09 UTC 2012
> Hi everybody!
> I'm wondering if it's possible to run in a "clear fashion" an NFS server
> within a jail on FreeBSD 9.0.
> I'm having some issues that make me think this is not supposed to work.
> I've googled it but I couldn't find much especially on releases prior
> A quick tip would be great .... I don't really wanna waste hours on this
> not very relevant issue.
> Many thanks in advance.
Quick answer is "No, NFS only runs on the host system".
Long answer is; NFS requires rpcbind to function. rpcbind is dependent
on a network stack. Jails do not have their own network stack, they use
the hosts network stack. There is some experimental software to give
each jail its own network stack but I sure would not deploy a production
system based on this.
More information about the freebsd-questions