NFS exporting imports?
Long ago I remember that Linux had an unusual feature wherein you could export /home and on the NFS server you could import something and it would be exported. It was different than other NFS servers and this was so long ago it may very well have been the user level NFS server code that did this (in fact, I'll bet it was, it makes sense).
Regardless, I've finally hit a situation where that would be a nice feature and I was wondering if there was some way to make the current (2.4) NFS code do the same thing.
And while I'm here, is anyone maintaining the user level NFS server? Or has anyone made it work on a recent kernel?
--lm
Larry McVoy wrote:
<snip>
Quoted 2 lines
And while I'm here, is anyone maintaining the user level NFS server? Or has anyone made it work on a recent kernel?
When I was in sudden need for NFS on a server with a nonstandard kernel installation and didn't have time to recompile, it worked just fine. This was with kernel 2.4.24 or 2.4.25, on Debian Sarge (package "nfs-user-server"). Upstream maintainers looks pretty dead, but Debian has a at least kept it in a working state in their archive.
Quoted 4 lines · Larry McVoy
Long ago I remember that Linux had an unusual feature wherein you could
export /home and on the NFS server you could import something and it would be exported. It was different than other NFS servers and this was so long ago it may very well have been the user level NFS server code that
did this (in fact, I'll bet it was, it makes sense).
You are talking about re-exporting a filesystem? This is doable with any v3 server/client using the "nohide" option in /etc/exports. You have to explicitely export all filesystem mount points that you import, but once you do, you can transparently switch between them on a client with a single mount.