nfsv4 server patches and status

Jeff Layton jlayton at redhat.com
Tue Jul 10 11:08:38 EDT 2007


On Tue, 19 Jun 2007 17:01:05 -0400
"J. Bruce Fields" <bfields at fieldses.org> wrote:

> So that leaves the most annoying one:
> 
> 	- export paths consistent with nfsv2/v3:  No really promising
> 	  progress, though (thanks mainly to Bryce Harrington), we do
> 	  now have some prototype code at:
> 
> 	  git://linux-nfs.org/~bfields/nfs-tuils.git pseudo-export
> 
> 	  which attempts to solve the whole problem in userspace by
> 	  automatically loopback-mounting a file to serve as the NFSv4
> 	  root, bind-mounting under it everything listed in the exports,
> 	  and faking up corresponding exports in mountd.  The code
> 	  more or less works, but I'm not sure it's the right approach.
> 
> This is a really important problem, and not one I've had a lot of time
> to work on lately, so we could definitely still use help here.
>

I've been looking over this problem a bit and have a sparse few
brainstorming notes in the following RH BZ:

https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=237108

I've checked out Bryce's work above. I'm curious as to why he decided
to use a loopback mount here rather than something simple like tmpfs?
In some cursory checking, tmpfs seems to work fine when exported with a
fsid, and for this we know it would be exported with fsid=0.

-- 
Jeff Layton <jlayton at redhat.com>


More information about the NFSv4 mailing list