Invisible file problem
Subsystems (2)
I have come on a situation where a file in a directory is not showing up in any directory listings, yet is still accessible by direct access. It shows up in listings on the server but not on the client. I did a capture of the NFS protocol traffic, and the file is showing up in the readdir call results. If I recreate the directory using the same file names but empty files, the behavior persists.
I am running vanilla 2.6.37.1 on both client and server, using NFSv4. The server filesystem is ext4.
Is this a kernel NFS client bug? Is there anything else I can do to diagnose the source of the problem, or any way to work around it?
Thanks.
Signature · 1 line
Bruce Guenter <[email protected]> http://untroubled.org/
Quoted 7 lines · Bruce Guenter
I have come on a situation where a file in a directory is not showing up in any directory listings, yet is still accessible by direct access. It shows up in listings on the server but not on the client. I did a capture of the NFS protocol traffic, and the file is showing up in the readdir call results. If I recreate the directory using the same file names but empty files, the behavior persists.
Quoted 7 lines
I am running vanilla 2.6.37.1 on both client and server, using NFSv4. The server filesystem is ext4.
Is this a kernel NFS client bug? Is there anything else I can do to diagnose the source of the problem, or any way to work around it?
Thanks.
There is a known bug in readdir that has been fixed in 2.6.38-rc6, but hasn't yet hit the 2.6.37 stable series. Please check the patch at
and see if it fixes your problem.
Cheers
Trond
Quoted 6 lines · Trond Myklebust
There is a known bug in readdir that has been fixed in 2.6.38-rc6, but hasn't yet hit the 2.6.37 stable series. Please check the patch at
and see if it fixes your problem.
Yes it did, thank you very much.
Signature · 1 line
Bruce Guenter <[email protected]> http://untroubled.org/
Quoted 9 lines · Bruce Guenter
Quoted 6 lines · Trond Myklebust
There is a known bug in readdir that has been fixed in 2.6.38-rc6, but hasn't yet hit the 2.6.37 stable series. Please check the patch at
and see if it fixes your problem.
Yes it did, thank you very much.
Is this a server or client side issue BTW? I am trying to track something that could be related to this down.
Thanks!
Joe
Signature · 2 lines
Joe Landman [email protected]
Quoted 2 lines · Joe Landman
Is this a server or client side issue BTW? I am trying to track something that could be related to this down.
Client side.
Signature · 1 line
Bruce Guenter <[email protected]> http://untroubled.org/