[lkml]   [2001]   [Jan]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Bugs in knfsd -- Problem re-exporting an NFS share
On Wed, Jan 03, 2001 at 09:14:21AM -0200, Jorge L. deLyra wrote:
> > Date: Wed, 3 Jan 2001 11:52:36 +0100
> > From: Andi Kleen <>
> > To: "Jorge L. deLyra" <>
> > Cc: Neil Brown <>,
> > Andrzej Krzysztofowicz <>,
> >, kernel list <>
> > Subject: Re: Bugs in knfsd -- Problem re-exporting an NFS share
> >
> > On Wed, Jan 03, 2001 at 08:37:08AM -0200, Jorge L. deLyra wrote:
> > > It would be nice if a way was found to implement this feature on knfsd.
> >
> > There is: just run unfsd too, bound to an own IP address to not conflict.
> Hum, interesting, I didn't know you could run both servers at the same
> time. The problem is that the old server is not being developed any more,
> as dully advised on the 2.2.18 kernel help messages. In fact, we have been
> having some problems with it for some time, I/O errors and mounts hanging,
> mostly. In fact, upgrading to 2.2.18 broke old NFS exports in some cases
> around here, until we migrated to knfsd: gave us sure-fire I/O errors and
> hangs. So this might be a stopgap measure for some time, but no permanent
> solution. In any case, knfsd seems so much more solid, we want to use it!

That's a bit surprising that you have so many problems with unfsd, I know
lots of installations where it is (still) used successfully in its limits.
I did recently some mainteance work on it to fix it for reiserfs.

> > More efficient would probably be a proxy though that just forwards packets.
> > I see no reason in core NFS why multiple clients could not share a single
> > multiplexed mount. It could need some lockd support though.
> I'm afraid you lost me here... If this would have to be some kind of new
> daemon or kernel module that filters out NFS packets and forwards them,
> wouldn't this be equivalent to making knfsd do the same thing? Humm, on
> second thoughts, maybe not, because this beast would not have to interpret
> the mount as a filesystem on the front end. Am I following you correctly?

(when you ignore locking and NFS over TCP ATM) All you need is to forward
UDP packets. This can either be done by a normal user space daemon that
uses portmap and just sends the packets out again, or alternatively by using
UDP masquerading and appropiate routes on the internal boxes.
Only forwarding packets is very different from full reexport support in knfsd
and much simpler.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

 \ /
  Last update: 2005-03-22 12:52    [W:0.037 / U:0.192 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site