[OpenAFS] Re: cannot cd to /afs

Mike Lee mike.li@bamboonetworks.com
Wed, 30 Jan 2002 13:33:52 +0800


Thanks

kas examine afs -admin admin

Password: < password for admin>

User data for afs
key (0) chsum is 816968215, last cpw: Fri Jan 25 14:38:16 2002
password will never expire.
An unlimited number of unsuccessful authentications is permitted.
entry never expires. Max ticket lifetime 100.00 hours.
last mod on Fri Jan 25 14:38:16 2002 by <none>
permit password reuse
-------------------------------------------------------------------------------------------

bos listkey <servername>

key 0 has cksum 816968215
Keys last changed on Fri Jan 25 14:42:55 2002.
All done.
--------------------------------------------------------------------------------------
-----

cat /usr/vice/etc/ThisCell (symbol to /usr/afs/etc/ThisCell)
bamboo.com
--------------------------------------------------------------------------------------
-----


cat /usr/vice/etc/CellServDB (symbol to /usr/afs/etc/CellServDB)
>bamboo.com #Cell name
192.168.2.151 #afssvr
--------------------------------------------------------------------------------------
-----

cat /usr/vice/etc/cacheinfo
/afs:/usr/vice/cache:60000
--------------------------------------------------------------------------------------
-----

cat /usr/afs/etc/ThisCell (symbol to /usr/afs/etc/openafs/server/ThisCell)
bamboo.com
--------------------------------------------------------------------------------------
-----

cat /usr/afs/etc/CellServDB (symbol to
/usr/afs/etc/openafs/server/CellServDB)

>bamboo.com #Cell name
192.168.2.151 #afssvr
--------------------------------------------------------------------------------------
-----

"df" or equivalent.-- I want to see the partition info

Filesystem           1k-blocks      Used Available Use% Mounted on
/dev/hda1              2767116   2139620    486932  82% /
none                     31168         0     31168   0% /dev/shm
/dev/hda2              1027800     16556    959036   2% /vicepa
/dev/hdc1               199236         4    188945   1% /vicepb
AFS                    9000000         0   9000000   0% /afs

--------------------------------------------------------------------------------------
-----

"ps -ef | grep afsd" -- to see the command-line arguments to afsd (the
"-ef" may not work, and I just realized I'm assuming a UNIX variant --
is that correct?)

ps ax|grep afs

 7029 ?        S      0:00 /usr/afs/bin/kaserver
 7030 ?        S      0:00 /usr/afs/bin/buserver
 7031 ?        S      0:00 /usr/afs/bin/ptserver
 7032 ?        S      0:00 /usr/afs/bin/vlserver
 7034 ?        S      0:00 /usr/afs/bin/upserver -clear /usr/afs/bin
 7042 ?        S<     0:00 /usr/afs/bin/fileserver
 7043 ?        S      0:00 /usr/afs/bin/volserver
 7044 ?        S<     0:00 /usr/afs/bin/fileserver
 7045 ?        S<     0:00 /usr/afs/bin/fileserver
 7046 ?        S<     0:00 /usr/afs/bin/fileserver
 7047 ?        S<     0:00 /usr/afs/bin/fileserver
 7048 ?        S<     0:00 /usr/afs/bin/fileserver
 7049 ?        S<     0:00 /usr/afs/bin/fileserver
 7050 ?        S<     0:00 /usr/afs/bin/fileserver
 7051 ?        S<     0:00 /usr/afs/bin/fileserver
 7052 ?        S<     0:00 /usr/afs/bin/fileserver
 7053 ?        S<     0:00 /usr/afs/bin/fileserver
 7054 ?        S<     0:00 /usr/afs/bin/fileserver
 7055 ?        S<     0:00 /usr/afs/bin/fileserver
 7056 ?        S<     0:00 /usr/afs/bin/fileserver
 7057 ?        S<     0:00 /usr/afs/bin/fileserver
 7058 ?        S<     0:00 /usr/afs/bin/fileserver
 7059 ?        S<     0:00 /usr/afs/bin/fileserver
 7060 ?        S<     0:00 /usr/afs/bin/fileserver
 7062 pts/1    S<     0:00 afsd
 7063 pts/1    S      0:00 afsd
 7064 pts/1    S<     0:00 afsd
 7065 pts/1    S      0:00 afsd
 7066 pts/1    S      0:00 afsd
 7067 pts/1    S      0:00 afsd
 7068 pts/1    S      0:00 afsd
 7069 pts/1    S      0:00 afsd

--------------------------------------------------------------------------------------
-----
BTW: I m using Linux kernel 2.4.7-10(RH7.2), It could be problem? I
found the rpm version come with libafs-2.4.9.