From: "J. Bruce Fields" <bfields@fieldses.org>
To: Trond Myklebust <trond.myklebust@primarydata.com>
Cc: Andreas Fenkart <afenkart@gmail.com>,
Linux NFS Mailing List <linux-nfs@vger.kernel.org>,
Daniel Mack <zonque@gmail.com>
Subject: Re: `ls` shows no files in mounted nfs folder, but ls 'file' works
Date: Tue, 26 Aug 2014 15:50:33 -0400 [thread overview]
Message-ID: <20140826195033.GB25117@fieldses.org> (raw)
In-Reply-To: <CAHQdGtS34K6S_59Huvx8EK+mh1QwSrjtUXaNogGYSm5aQZCA=w@mail.gmail.com>
On Fri, Jul 25, 2014 at 06:12:40PM -0400, Trond Myklebust wrote:
> On Wed, Jul 16, 2014 at 11:45 AM, Andreas Fenkart <afenkart@gmail.com> wrote:
> > 2014-07-16 16:47 GMT+02:00 Trond Myklebust <trond.myklebust@primarydata.com>:
> >> On Wed, Jul 16, 2014 at 1:21 AM, Andreas Fenkart <afenkart@gmail.com> wrote:
> >
> >> That unfortunately only shows a few READ requests, probably because
> >> the readdirs etc are cached. Could you try again with a directory that
> >> is not in cache and/or try "echo 3 >/proc/sys/vm/drop_caches" before
> >> retrying the 'ls /'?
> >
> > # tcpdump -s 0 -w /tmp/nfs-client_v4.dump
> > # echo 3 >/proc/sys/vm/drop_caches
> > # ls -l /
> >
> > file is logged to tmpfs, then copied
> > http://www.pcapr.net/view/afenkart/2014/6/3/8/nfs-client_v4.dump.html
> >
> >> Note: I am a little surprised that there are no GETATTRs in that dump.
> >> Even if the readdir is cached, the client is supposed to revalidate
> >> the directory.
> >
> > should be there now
>
> Still not seeing the readdir, but the getattrs are there and all looks OK.
> Question: the server is knfsd from a Linux 3.14.4 kernel, is that
> correct? So it does have commit 83b19121522 (nfsd: revert v2 half of
> "nfsd: don't return high mode bits")?
Yeah, you can even see the high bits set (correctly) in the stat
returns, so he has that patch.
Andreas, are you still seeing this problem?
--b.
next prev parent reply other threads:[~2014-08-26 19:50 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-23 10:07 `ls` shows no files in mounted nfs folder, but ls 'file' works Andreas Fenkart
2014-07-10 17:51 ` J. Bruce Fields
2014-07-14 6:44 ` Andreas Fenkart
2014-07-15 23:54 ` Trond Myklebust
2014-07-16 8:21 ` Andreas Fenkart
2014-07-16 14:47 ` Trond Myklebust
2014-07-16 15:45 ` Andreas Fenkart
2014-07-25 22:12 ` Trond Myklebust
2014-08-26 19:50 ` J. Bruce Fields [this message]
2014-08-27 8:30 ` Andreas Fenkart
2014-08-27 13:26 ` J. Bruce Fields
2014-08-28 7:42 ` Andreas Fenkart
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=20140826195033.GB25117@fieldses.org \
--to=bfields@fieldses.org \
--cc=afenkart@gmail.com \
--cc=linux-nfs@vger.kernel.org \
--cc=trond.myklebust@primarydata.com \
--cc=zonque@gmail.com \
/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