All of lore.kernel.org
 help / color / mirror / Atom feed
* 'NFS stale file handle' with 2.5
@ 2003-07-12 20:00 Jan Dittmer
  2003-07-13  1:25 ` Jeff Lightfoot
  2003-07-13 21:37 ` Neil Brown
  0 siblings, 2 replies; 6+ messages in thread
From: Jan Dittmer @ 2003-07-12 20:00 UTC (permalink / raw)
  To: Trond Myklebust; +Cc: linux-kernel

Hi,

I'm experiencing really big problems with nfs on 2.5 - and I'm a bit 
stuck debugging.

Server:
Pentium II SMP Dual Server with Raid5/dm and nfs running 2.5.7[045][-mm]

Clients:
Athlon, same kernels
P3 800, same kernels and 2.4

Problem:
Accessing the nfs shares on the Server gives lots of 'nfs stale file 
handles', making it unusuable. A simple cp from nfs to nfs triggers it 
in a matter of seconds.
The shares are mounted with (hard,intr), that used to work with 2.4.20 
on the server, but I also tried no option, only hard and only soft, 
problem persists. Also I tried to remove nfs_directio from the build and 
only compiled in nfs2, all the same.
Being curious whats wrong I set up an export on the P3 800 and mounted 
it from the athlon (both running 2.5.75-mm1). This seems to work fine 
(just tested for 10 minutes or so, but typically the problem is 
triggered much earlier).
I also tried enabling the VERBOSE_DEBUG define in nfs source. But that 
doesn't give any more information.
Only one line that gets my attention:
NFS: giant filename in readdir (len 0x2f0a0969)

I'm really lost here. What can I try/do to further narrow this down? Any 
specific kernel revision I could try to go back, notice that already 
2.5.70 triggered it. With 2.4 on the server nothing of this happens.
Only thing left is to try booting the server without smp support, but I 
get some 'hde: lost interrupt' messages and it doesn't boot.
Note that I also tried to export a partition not on dm. Filesystem is 
ext3. I also tried the patches you posted some days ago in another thread.

Thanks for any suggestions,

Jan

# grep NFS .config
CONFIG_NFS_FS=m
CONFIG_NFS_V3=y
CONFIG_NFS_V4=y
CONFIG_NFS_DIRECTIO=y
CONFIG_NFSD=m
CONFIG_NFSD_V3=y
CONFIG_NFSD_V4=y
CONFIG_NFSD_TCP=y


-- 
Linux rubicon 2.5.75-mm1-jd10 #1 SMP Sat Jul 12 19:40:28 CEST 2003 i686


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2003-07-20  8:11 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-12 20:00 'NFS stale file handle' with 2.5 Jan Dittmer
2003-07-13  1:25 ` Jeff Lightfoot
2003-07-13 21:37 ` Neil Brown
2003-07-15 14:00   ` Jan Dittmer
2003-07-15 15:20   ` Jan Dittmer
2003-07-20  8:26   ` Jan Dittmer

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.