[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-nfs
Subject:    [NFS] Is a directory??? Not really
From:       Eric Whiting <ewhiting () amis ! com>
Date:       2001-10-30 18:48:29
[Download RAW message or body]

bash$ ls -la
total 18
drwxrwxr-x   2 hea   foundry      109 Oct 30  2001 .
drwxrwxr-x   9 hea   foundry      185 Oct 30  2001 ..
-rw-rw-r--   1 hea   foundry      152 Oct 30  2001
catssubmit.101:10:30:10:48:20:
-rw-rw-r--   1 hea   foundry     2454 Oct 30  2001 mc_5x.cinc
bash$ more mc_5x.cinc
mc_5x.cinc: Is a directory

NFS server is NFSV3 2.4.13 reiserfs 3.6 (also same error on 2.4.8pre4)
NFS client is solaris8

We used to see this sort of error before the knfsd/reiserfs generation
number patch. Now it has been showing up again a little bit. 

Questions:

1. IS this a solaris issue? I can go to another identical solaris box
and it works. I reboot the linux nfs server and it still fails. Is
Solaris NFS caching attributes wrong? Most of our sun boxes lack the
latest solaris NFS patch 108727-08, yet our solaris boxes don't have
confusion/trouble with sun or netapps nfs servers like this.

2. This solaris box sometimes mounts the linux NFS tree at different
locations (via the automounter) -- /export/home and /export/home/subdir
are both on the same linux filesystem, but will get mounted on the
solaris box as /home/host1 and /home/special1 at the same time. Will
that confuse things on the linux nfs server?

eric

Tcpdump looks something like this: (full tcpdump available)
penett is the linux nfs server
whitney is the sun nfs client
----------------------------------
23:15:04.890730 whitney.3440783913 > penett.nfs: 108 getattr [|nfs] (DF)
23:15:04.890812 penett.nfs > whitney.3440783913: reply ok 112 getattr
DIR 40775 ids 14397/61 sz 0  (DF)
23:15:04.905034 whitney.3440783930 > penett.nfs: 108 getattr [|nfs] (DF)
23:15:04.905061 penett.nfs > whitney.3440783930: reply ok 112 getattr
DIR 40775 ids 14397/61 sz 0  (DF)
23:15:04.905538 whitney.3440783931 > penett.nfs: 120 readlink [|nfs]
(DF)
23:15:04.905570 penett.nfs > whitney.3440783931: reply ok 116 readlink
ERROR: Is a directory (DF)
23:15:07.006149 whitney.3440783952 > penett.nfs: 108 getattr [|nfs] (DF)
23:15:07.006179 penett.nfs > whitney.3440783952: reply ok 112 getattr
DIR 40775 ids 14397/61 sz 0  (DF)
23:15:07.006602 whitney.3440783953 > penett.nfs: 120 readlink [|nfs]
(DF)
23:15:07.006629 penett.nfs > whitney.3440783953: reply ok 116 readlink
ERROR: Is a directory (DF)
23:15:07.596841 whitney.3440783955 > penett.nfs: 108 getattr [|nfs] (DF)
23:15:07.596869 penett.nfs > whitney.3440783955: reply ok 112 getattr
DIR 40775 ids 14397/61 sz 0  (DF)
23:15:07.611629 whitney.3440783962 > penett.nfs: 120 readlink [|nfs]
(DF)
23:15:07.611656 penett.nfs > whitney.3440783962: reply ok 116 readlink
ERROR: Is a directory (DF)

_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic