Bug 8966 - NFSv3 server error in LOOKUP after READDIRPLUS Call
Summary: NFSv3 server error in LOOKUP after READDIRPLUS Call
Status: CLOSED PATCH_ALREADY_AVAILABLE
Alias: None
Product: File System
Classification: Unclassified
Component: NFS (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: Trond Myklebust
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-02 10:55 UTC by Peter Kovář
Modified: 2007-09-04 03:13 UTC (History)
2 users (show)

See Also:
Kernel Version: 2.6.23-rc?
Subsystem:
Regression: Yes
Bisected commit-id:


Attachments
Patch to fix crossmnt problem (941 bytes, patch)
2007-09-03 22:56 UTC, Neil Brown
Details | Diff

Description Peter Kovář 2007-09-02 10:55:01 UTC
Most recent kernel where this bug did not occur: 2.6.22.6
Distribution: Fedora release 7.91 (Rawhide)
Hardware Environment: Intel Core 2 Quad
Problem Description: ls NFS automounted directory through UDP or TCP returns NFS3ERR_NOENT error in LOOKUP reply for directories such as /dev /net /proc 

Steps to reproduce:

€ ls -l /net/Quad
total 432
?---------    ? ?           ?        ?            ? /net/Quad/boot
?---------    ? ?           ?        ?            ? /net/Quad/dev
?---------    ? ?           ?        ?            ? /net/Quad/misc
?---------    ? ?           ?        ?            ? /net/Quad/net
?---------    ? ?           ?        ?            ? /net/Quad/proc
?---------    ? ?           ?        ?            ? /net/Quad/sys
drwxr-xr-x    2 root        root  4096 Aug 31 17:18 bin
drwxr-xr-x  129 root        root 12288 Sep  2 18:09 etc
drwxr-xr-x    7 root        root  4096 Aug 21 23:30 home

It the same in whole 2.6.23-rc? series as well as latest Fedora kernel with identical configuration. 2.6.22.6 is OK.

€ uname -a
Linux Quad 2.6.23-rc1 #1 SMP PREEMPT Sun Sep 2 17:40:25 CEST 2007 x86_64 x86_64 x86_64 GNU/Linux
Linux Quad 2.6.23-rc2 #1 SMP PREEMPT Sun Sep 2 14:57:57 CEST 2007 x86_64 x86_64 x86_64 GNU/Linux
Linux Quad 2.6.23-rc3 #1 SMP PREEMPT Sun Sep 2 15:01:02 CEST 2007 x86_64 x86_64 x86_64 GNU/Linux
Linux Quad 2.6.23-rc4 #1 SMP PREEMPT Sun Sep 2 14:59:25 CEST 2007 x86_64 x86_64 x86_64 GNU/Linux
Linux Quad 2.6.23-rc5 #1 SMP PREEMPT Sat Sep 1 12:52:16 CEST 2007 x86_64 x86_64 x86_64 GNU/Linux
Linux Quad 2.6.23-0.149.rc4.fc8 #1 SMP Wed Aug 29 07:37:52 EDT 2007 x86_64 x86_64 x86_64 GNU/Linux

gcc-4.1.2-19
binutils-2.17.50.0.18-1
Comment 1 Neil Brown 2007-09-03 22:24:02 UTC
Is it correct that all the 'problem' directories are mounted-on on the server,
while the directories that 'stat' ok are not mounted on?

What export options are you using on the server?

While filesystem is being used for the root on the server?
Comment 2 Neil Brown 2007-09-03 22:56:44 UTC
Created attachment 12689 [details]
Patch to fix crossmnt problem

Don't bother with those details - I think I've figured it out.

can you please try the attached patch and confirm that it works?

Thanks,
NeilBrown
Comment 3 Peter Kovář 2007-09-04 03:13:41 UTC
Hi++ Neil,

your patch fixed the problem with Nightmare File System server.

Thank you very much.

Peter Kovář
50 65 74 65 72 20 4B 6F 76 C3 A1 C5 99

Note You need to log in before you can comment on or make changes to this bug.