Re: 2.2.7 NFS v2 server "mutant" filehandles hurt on Solaris

Philippe Troin (phil@fifi.org)
05 May 1999 21:52:27 -0700


hjl@lucon.org (H.J. Lu) writes:

> > I had quite a few troubles connecting Solaris NFS v2 clients on linux
> > servers. Some typical behavior:
> >
> > o Mounting goes fine for a while...
> > o After some time, various clients get error in getpwd().
> > o If the mount point is not at the root of the exported fs, one can
> > chdir() above the mount point but under the exported region.
> > Eg: linux exports linux:/foo
> > linux:/foo/bar is mounted on solaris:/mnt
> > chdir(/mnt/junk)
> > chdir(..)
> > chdir(..)
> > now you're in linux:/foo rather than being in solaris:/
> >
> > o When this happens, the tcpdump shows that .. is looked up in the
> > root of the exported filesystem (linux:/foo), and linux returns
> > NFSERR_ACCESS (note that solaris returns NFSERR_NOENT).
> >
> > o The trouble also happens when the linux server is rebooted.
> >
>
> Which nfsd are you running? If you have none-Linux clients, you have to
> apply the kernel patches in knfsd 1.2.2a. I will make knfsd 1.3 soon
> to fix another bug.

Ok, that seems to work better now and is way cleaner than what I
did. Now the question is: why isn't this code part of the official
kernel ?

Phil.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/