NFS within a Jail?!

Fbsd8 fbsd8 at a1poweruser.com
Wed Aug 8 18:57:23 UTC 2012


Adam Vande More wrote:
> On Wed, Aug 8, 2012 at 9:02 AM, Fbsd8 <fbsd8 at a1poweruser.com> wrote:
>> 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.
> 
> 
> Dealing with this has been SOP practice in jails since their inception.
>  See man 8 jail.  The best way to run the NFS server is from the jail.
>  Running it host side is the hard part.
> 

http://www.freebsd.org/cgi/query-pr.cgi?pr=133265
The jail code maintainer says NFS server/client will not work jailed. So 
since you say this is SOP (standard operation procedure) then why is 
there no documentation available on how to do it? All the Google hits 
for "NFS running from Freebsd jail" end with no one got it to work. Have 
you done this? Do you have a procedure to post or know of a posted 
procedure giving step-by-step sequence to get NFS running in a jail with 
or without VIMAGE/VNET for Release 8.x or 9.x versions?

> 
>> 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.
>>
> 
> There are a number of people who have reached the
> opposite decision concerning VIMAGE/VNET enabled jails.  They are much
> easier to work with and provide nice capabilities.
> 
Still doesn't change the FACT it's experimental!



More information about the freebsd-questions mailing list