From: Neil Brown <neilb@suse.de>
To: Christoph Bartoschek
<bartoschek-eefaeeawk+jFLWzOrOlZPg@public.gmane.org>
Cc: linux-nfs@vger.kernel.org
Subject: Re: Invisible files and input/output errors
Date: Thu, 6 Dec 2007 10:31:17 +1100 [thread overview]
Message-ID: <18263.13509.397157.489566@notabene.brown> (raw)
In-Reply-To: message from Christoph Bartoschek on Tuesday December 4
On Tuesday December 4, bartoschek-eefaeeawk+jFLWzOrOlZPg@public.gmane.org wrote:
>
> > Sounds a lot like directory cookie problems.
> >
> > Can you get a network trace of the NFS packets.
> > Something like
> >
> > tcpdump -s 0 -w /tmp/trace host NAME-OF-SERVER
> >
> > then cause the failure while that is running.
> > Either compress and attach the result to an Email, or if it is too
> > big, stick it on a website somewhere.
>
> I have attached a trace of a "ls" that does not show some directories.
There is one interesting feature of this trace.
The 'cookie' assigned to each directory entry normally is 32 more than
the previous entry, though in some places the gap is 64 or another
large multiple of 32.
The whole directory is fetched in three requests - each request
sending the cookie from the last name in the previous reply.
For the last request, the cookie for the first entry returned is 992
more than that last cookie in the previous reply.
This is by far that largest gap, and that fact that it aligns with a
break between two requests seems a little suspicious.
It might be interesting to remove some of the files that appear early
in the list, e.g.
COUNT8SF manga.tcl test-run tanga.tcl flex sopec mopec thumper
and see how that affects the returned list of files.
In any case, it looks from the trace that the Linux client so doing
the right thing based on the information returned, so I would
suggested reporting this to whoever provided your NFS-DFS gateway.
NeilBrown
next prev parent reply other threads:[~2007-12-05 23:31 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-03 23:37 Invisible files and input/output errors Christoph Bartoschek
2007-12-04 0:23 ` Neil Brown
[not found] ` <18260.40472.276614.78174-wvvUuzkyo1EYVZTmpyfIwg@public.gmane.org>
2007-12-04 10:06 ` Christoph Bartoschek
2007-12-05 23:31 ` Neil Brown [this message]
[not found] ` <18263.13509.397157.489566-wvvUuzkyo1EYVZTmpyfIwg@public.gmane.org>
2007-12-06 6:22 ` Christoph Bartoschek
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=18263.13509.397157.489566@notabene.brown \
--to=neilb@suse.de \
--cc=bartoschek-eefaeeawk+jFLWzOrOlZPg@public.gmane.org \
--cc=linux-nfs@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox