All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Steven A. Falco" <sfalco@aastra.com>
To: NFS List <nfs@lists.sourceforge.net>
Subject: FC3 server -> Solaris client, directories come and go
Date: Mon, 02 May 2005 13:40:58 -0400	[thread overview]
Message-ID: <4276662A.5050602@aastra.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1827 bytes --]

I'm having a problem with directories "disappearing" using a Fedora 3 
NFS server and a solaris 5.10 client (NFS v3).  When I first cd into the 
directory, an ls shows what I expect.  If I then wait an hour and redo 
the ls, I get:

    .: No such file or directory

If I then do a pwd, followed by another ls, the diretory contents 
reappear.  For example:

    solara$ ls
    .: No such file or directory
    solara$ pwd
    /proj/videorunner/hw/vr_enc/cae/PLD/lbenc/src
    solara$ ls
    AUDX_NEW/                  mt48lc8m16a2_.vhd
    FLYWHEEL_DEC/              outdata0.txt

I captured the NFS traffic with ethereal.  When I do the initial ls, the 
sequence is a series of LOOKUP calls (walking the pathname) followed by 
a READDIRPLUS call to obtain the file names.

When I later do the ls, an ACCESS call is issued, and that call returns 
ERR_NOENT.  This is the first ACCESS call that I see in the trace.  
After the pwd, when the ls works, I instead see a series of LOOKUPs that 
again traverses the pathname, followed by LOOKUPs for all the filenames 
in the directory (so obviously the directory contents were cached in the 
solaris machine).  So apparently, the ACCESS calls fail, but they are 
only issued by solaris in certain circumstances, in this case when doing 
an ls in a window that has been idle for an hour.

Curiously, all the permissions in the directories of the pathname 
include world read/execute, so I don't understand why the ACCESS call 
would return ERR_NOENT.  Also, if there were a permissions problem, I 
would expect that to show up during the initial cd into the directory.

I have not found anything like this in the archives.  Has anyone else 
seen this, and if so, are there any fixes/workarounds?  I can post all 
or part of the ethereal traces if that would help.

    Steve Falco


[-- Attachment #2: Type: text/html, Size: 2452 bytes --]

             reply	other threads:[~2005-05-02 17:41 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-02 17:40 Steven A. Falco [this message]
2005-05-02 17:49 ` FC3 server -> Solaris client, directories come and go Peter Åstrand
2005-05-04 16:18   ` Steve Dickson
  -- strict thread matches above, loose matches on Subject: below --
2005-05-02 18:15 Kris Vassallo

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=4276662A.5050602@aastra.com \
    --to=sfalco@aastra.com \
    --cc=nfs@lists.sourceforge.net \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.