Stale NFS Handles in 2.6

From: Robert L. Harris
Date: Sat Oct 11 2003 - 08:42:13 EST



> > Hi,
> > since 2.6.0-test6 I get "Stale NFS file handle" when transferring huge
> > amounts
> > of data from a nfs-server which is running on -test6.
> > The client also runs -test6. Transfers from a server running kernel
> > 2.4.22
> > work flawless.
> >
> > I use the nfs-kernel-server 1.0.6 on Debian/sid.
>
> Are you using mount options when mounting the NFS volume?
> I had this problem when I used rsize=8192 and wsize=8192 as nfs mount
> options. Just left them out and everything was fine again.
>
> Axel

Will this help the Stale NFS problem I'm getting as well? (Detailed
below)

---------------------------------
> >
> >
> > I've been trying to run my NFS server on 2.6 kernels for a while
> > now.
> > My desktop and my Firewall are both 2.6 already and happy. My
> > fileserver though is giving me an ulcer.
>
> > I get the stale handles. Reverting back to 2.4 and all is well on
> > the
> > same export and mount configs.
> >
> > Thoughts?
> you could search the archives for "NFS Problem" and "STALE", you
> will probably find my post near end of September. The short solution:
>
> Use "no_subtree_check" in /etc/exports like this:
>
> /home \
> tony.local.net(rw,sync,no_root_squash,no_subtree_check)
>
> I think I have found a bug in the nfs server code that always
> returns a failure on subtree checks. I described my findings in
> a post to this list, but nobody answered.
----------------------------------



:wq!
---------------------------------------------------------------------------
Robert L. Harris | GPG Key ID: E344DA3B
@ x-hkp://pgp.mit.edu
DISCLAIMER:
These are MY OPINIONS ALONE. I speak for no-one else.

Life is not a destination, it's a journey.
Microsoft produces 15 car pileups on the highway.
Don't stop traffic to stand and gawk at the tragedy.

Attachment: signature.asc
Description: Digital signature