[OpenAFS] Re: Cannot cd to /afs

Mike Lee mike.li@bamboonetworks.com
Tue, 29 Jan 2002 14:59:15 +0800


Thank you,

that is all
and what is worng

Kim Kimball wrote:

>I'm probably covering old territory again, having joined the thread late,
>but here are some things I would try:
>
>1.  bos status <afs server hostname or IP>
>
#bos status afssvr -long

Instance kaserver, (type is simple) currently running normally.
    Process last started at Mon Jan 28 11:58:08 2002 (1 proc starts)
    Command 1 is '/usr/afs/bin/kaserver'

Instance buserver, (type is simple) currently running normally.
    Process last started at Mon Jan 28 11:58:08 2002 (1 proc starts)
    Command 1 is '/usr/afs/bin/buserver'

Instance ptserver, (type is simple) currently running normally.
    Process last started at Mon Jan 28 11:58:08 2002 (1 proc starts)
    Command 1 is '/usr/afs/bin/ptserver'

Instance vlserver, (type is simple) currently running normally.
    Process last started at Mon Jan 28 11:58:08 2002 (1 proc starts)
    Command 1 is '/usr/afs/bin/vlserver'

Instance fs, (type is fs) currently running normally.
    Auxiliary status is: file server running.
    Process last started at Mon Jan 28 11:58:10 2002 (3 proc starts)
    Last exit at Mon Jan 28 11:58:10 2002
    Command 1 is '/usr/afs/bin/fileserver'
    Command 2 is '/usr/afs/bin/volserver'
    Command 3 is '/usr/afs/bin/salvager'

Instance upserver, (type is simple) currently running normally.
    Process last started at Mon Jan 28 11:58:08 2002 (1 proc starts)
    Command 1 is '/usr/afs/bin/upserver -clear /usr/afs/bin'


>
>    You should see the ptserver, kaserver, and fs "trio"  (fileserver,
>volserver, salvager), at least.
>    If you are running the AFS backup server, you should also see the
>buserver.
>
>2.  If you get reasonable output from above, see if you can list the VLDB.
>    vos listvl
>

# vos listvl -server afssvr -partition a
VLDB entries for server afssvr partition /vicepa 

root.afs 
    RWrite: 536870918 
    number of sites -> 1
       server afssvr.bamboo.com partition /vicepa RW Site 

root.cell 
    RWrite: 536870921 
    number of sites -> 1
       server afssvr.bamboo.com partition /vicepa RW Site 

user.admin 
    RWrite: 536870924 
    number of sites -> 1
       server afssvr.bamboo.com partition /vicepa RW Site 

Total entries: 3


>3.  If you can, see if you have a "root.afs" volume
>    vos listvl root.afs
>
>
>4.  If you do, see if it is "healthy"
>    vos listvol <server> <partition> root.afs
>
# vos listvol afssvr -long
Total number of volumes on server afssvr partition /vicepa: 3 
root.afs                          536870918 RW          2 K  On-line
    afssvr.bamboo.com /vicepa 
    RWrite  536870918 ROnly          0 Backup          0 
    MaxQuota       5000 K 
    Creation    Fri Jan 25 17:08:25 2002
    Last Update Fri Jan 25 17:08:25 2002
    3 accesses in the past day (i.e., vnode references)

root.cell                         536870921 RW          2 K  On-line
    afssvr.bamboo.com /vicepa 
    RWrite  536870921 ROnly          0 Backup          0 
    MaxQuota       5000 K 
    Creation    Fri Jan 25 17:51:38 2002
    Last Update Fri Jan 25 17:51:38 2002
    0 accesses in the past day (i.e., vnode references)

user.admin                        536870924 RW          2 K  On-line
    afssvr.bamboo.com /vicepa 
    RWrite  536870924 ROnly          0 Backup          0 
    MaxQuota       5000 K 
    Creation    Mon Jan 28 18:04:09 2002
    Last Update Mon Jan 28 18:04:09 2002
    0 accesses in the past day (i.e., vnode references)


Total volumes onLine 3 ; Total volumes offLine 0 ; Total busy 0

Total number of volumes on server afssvr partition /vicepb: 0 

Total volumes onLine 0 ; Total volumes offLine 0 ; Total busy 0


>
>    (I may have the syntax wrong -- I learned it backwards and am right
>about 50%
>     use "vos help listvol" to get the syntax)
>
>    The volume should not be "off line" and it should not report that it
>needs to be
>    salvaged.
>
>Let me know, we'll take it from here.
>
>Kim
>