[OpenAFS] Why is /afs empty?

Andrew Leahy aleahy@knox.edu
Fri, 18 Oct 2002 14:04:04 -0400


Hello,

I'm pulling my hair out trying to figure this out:  I have a test set-up 
  consisting of one AFS client/server and a separate AFS client.  On the 
server, I can see into /afs with no problem--everything that should be 
there is there:

[root@pc14341 home]# ls /afs/my.domain.com/
home  shared

However, on the client, /afs is empty--nothing appears when you list the 
contents.   Everything else on the client system--including the three 
configuration files in /usr/vice/etc--appears to be fine and other AFS 
services don't have a problem:

[root@feddual config]# /etc/rc.d/init.d/afs start
Found libafs-2.4.7-10-i686.o from SymTable... Loading...
Starting AFS services.....
afsd: All AFS daemons started.
[root@feddual config]# ls /afs
[root@feddual config]# ls -axl /afs
total 6
drwxrwxrwx    2 root     root         2048 Oct 18 13:16 .
drwxr-xr-x   20 root     root         4096 Oct 18 13:43 ..
[root@feddual config]# klog admin
Password:
[root@feddual config]# tokens

Tokens held by the Cache Manager:

User's (AFS ID 1) tokens for afs@my.domain.com [Expires Oct 19 15:12]
    --End of list--
[root@feddual config]# ls /afs
[root@feddual config]# vos listvldb
VLDB entries for all servers

root.afs
     RWrite: 536870912     ROnly: 536870913
     number of sites -> 2
        server pc14341.my.domain.com partition /vicepa RW Site
        server pc14341.my.domain.com partition /vicepa RO Site

root.cell
     RWrite: 536870915     ROnly: 536870916
     number of sites -> 2
        server pc14341.my.domain.com partition /vicepa RW Site
        server pc14341.my.domain.com partition /vicepa RO Site

root.home
     RWrite: 536870918
     number of sites -> 1
        server pc14341.my.domain.com partition /vicepa RW Site

root.shared
     RWrite: 536870921
     number of sites -> 1
        server pc14341.my.domain.com partition /vicepa RW Site

Total entries: 4


Am I missing something obvious here?  Does anybody have suggestions for 
what could be causing this? The client system is a RH 7.2 system with 
Openafs 1.2.6.

Thanks for your help.

Andrew Leahy

P.S.  Hmmm, just noticed this error on the server:

[root@pc14341 home]# ls -axl /afs
ls: /afs/.: Stale NFS file handle
total 6
drwxr-xr-x   21 root     root         4096 Oct 18 13:15 ..
drwxrwxrwx    2 root     root         2048 Oct 18 13:16 my.domain.com

Any explanations for this?