* Invisible file problem
@ 2011-02-22 21:52 Bruce Guenter
2011-02-23 7:50 ` Trond Myklebust
0 siblings, 1 reply; 5+ messages in thread
From: Bruce Guenter @ 2011-02-22 21:52 UTC (permalink / raw)
To: linux-nfs
[-- Attachment #1: Type: text/plain, Size: 747 bytes --]
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.
--
Bruce Guenter <bruce@untroubled.org> http://untroubled.org/
[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Invisible file problem
2011-02-22 21:52 Invisible file problem Bruce Guenter
@ 2011-02-23 7:50 ` Trond Myklebust
2011-02-23 14:50 ` Bruce Guenter
0 siblings, 1 reply; 5+ messages in thread
From: Trond Myklebust @ 2011-02-23 7:50 UTC (permalink / raw)
To: Bruce Guenter; +Cc: linux-nfs
On Tue, 2011-02-22 at 15:52 -0600, Bruce Guenter wrote:
> 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.
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
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git&a=commitdiff&h=d1205f87bbb8040c1408bbd9e0a720310b2b0b9b
and see if it fixes your problem.
Cheers
Trond
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2011-02-23 20:23 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-22 21:52 Invisible file problem Bruce Guenter
2011-02-23 7:50 ` Trond Myklebust
2011-02-23 14:50 ` Bruce Guenter
2011-02-23 19:42 ` Joe Landman
2011-02-23 20:23 ` Bruce Guenter
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).