Skip to contentSkip to conversation

Stale NFS Handles in 2.6

DISCUSSION Robert L. Harris 1 participant 1 message Oct 11, 2003

lore
Share & tools
lore
#0 lore raw
Quoted 9 lines
Quoted 9 lines

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.

Quoted 7 lines
Quoted 1 line

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)

---------------------------------

Quoted 15 lines
Quoted 7 lines

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.

Quoted 5 lines

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:

Quoted 8 lines

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.