NFS within a Jail?!

Ruben de Groot mail25 at bzerk.org
Fri Aug 10 16:06:25 UTC 2012


On Fri, Aug 10, 2012 at 10:42:45AM -0400, Fbsd8 typed:
> Ruben de Groot wrote:
> >On Fri, Aug 10, 2012 at 08:36:04AM -0400, Fbsd8 typed:
> >>Wojciech Puchar wrote:
> >>>>>Many thanks in advance.
> >>>>>
> >>>>Quick answer is "No, NFS only runs on the host system".
> >>>>
> >>>but user space nfsd works. in ports - unfsd
> >>>
> >>>
> >>Close but no cigar.
> >>
> >>In the ports system it's named unfs3 and described as
> >>
> >>UNFS3 is a user-space implementation of the NFSv3 server specification. 
> >                                              ^^^^^^^^^^^^^^^^^^^^^^^^^^
> >>It provides a daemon for the MOUNT and NFS protocols, which are used by 
> >                ^^^^^^         ^^^^^^^^^^^^^^^^^^^^^^^            ^^^^
> >>NFS clients for accessing files on the server.
> >> http://unfs3.sourceforge.net/
> >>
> >>Now here is the KEY. No where does it say it has the "server" side 
> >>function, only the client side.
> >
> >It sais so very clearly.
> >
> >Ruben
> >
> >
> What you say: Just 2 words further on in that sentence "used by NFS 
> clients".
> 
> Read as unfs3 is run as client to access kernel nfs on host.

No you read wrong. It is a userspace daemon that provides nfs service.
It is a daemon. Not a client.

> No where in any documentation on unfs3 does it ever say unfs3 has to be 
> run on both client and service side. 

Because it is not a client.


More information about the freebsd-questions mailing list