Skip to contentSkip to conversation

FC3 server -> Solaris client, directories come and go

DISCUSSION Steven A. Falco 3 participants 3 messages May 2, 2005 – May 4, 2005

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 1 line · Steven A. Falco

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:

This bug is in Red Hats Bugzilla: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=150759. This is a big problem for us as well.

Signature · 4 lines
Peter Åstrand		Chief Developer
Cendio			www.thinlinc.com
Teknikringen 3		www.cendio.se
583 30 Linköping        Phone: +46-13-21 46 00
#2 lore raw
Quoted 10 lines · Peter =C5strand wrote:

On Mon, 2 May 2005, Steven A. Falco wrote:
=20

Quoted 4 lines

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

=20
=20
This bug is in Red Hats Bugzilla:=20
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=3D150759. This is =

a=20

Quoted 1 line

big problem for us as well.

yes.. we have been looking into this... just curious what local filesystem are you using? ext3?

steved.

-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs