[OpenAFS] Can't mount AFS on /afs(22) on redhat EWS 4 client system.

Derek Atkins warlord@MIT.EDU
Thu, 8 Dec 2005 14:08:54 -0500


Looks properly configured.  But it also looks like AFS half-started.
You'll need to reboot to recover.

-derek

Quoting George Cebulka <ghc4@imap.pitt.edu>:

> Derek,
>    To answer your questions:
>
> /usr/vice/etc/ThisCell:
> pitt.edu
>
> Does that cell have data in /usr/vice/etc/CellServDB
> [root@noc-wks-02 etc]# grep pitt.edu CellServDB
> >pitt.edu               #University of Pittsburgh
> 136.142.8.15                    #afs09.srv.cis.pitt.edu
> 136.142.8.20                    #afs10.srv.cis.pitt.edu
> 136.142.8.21                    #afs11.srv.cis.pitt.edu
> >cs.pitt.edu            #University of Pittsburgh - Computer Science
> 130.49.220.11                   #afs01.cs.pitt.edu
> 130.49.220.12                   #afs02.cs.pitt.edu
> 130.49.220.13                   #afs03.cs.pitt.edu
>
> # more /etc/sysconfig/openafs
>
> # OpenAFS Client Configuration
> AFSD_ARGS="-dynroot -fakestat"
>
> # OpenAFS Server Configuration
> BOSSERVER_ARGS=
>
> [root@noc-wks-02 etc]# ps auwx | grep afs
> root      3910  0.0  0.0     0    0 ?        S    12:37   0:00 [afs_rxevent]
> root      3913  0.0  0.0     0    0 ?        S    12:37   0:00 
> [afs_checkserver]
> root      3915  0.0  0.0     0    0 ?        S    12:37   0:00 
> [afs_background]
> root      3917  0.0  0.0     0    0 ?        S    12:37   0:00 
> [afs_background]
> root      3919  0.0  0.0     0    0 ?        S    12:37   0:00 
> [afs_cachetrim]
>
>
> Derek Atkins wrote:
>> What's the contents of /usr/vice/etc/ThisCell ?
>> Does that cell have data in /usr/vice/etc/CellServDB?
>> What are your AFSD_ARGS in /etc/sysconfig/openafs?
>>
>> It looks like AFS wasn't completely stopped during the update
>> (or whatever you did) -- so you'll probably need to reboot
>> this machine right now, I'm afraid.
>>
>> -derek
>>
>> Quoting George Cebulka <ghc4@imap.pitt.edu>:
>>
>>> Hello All,
>>>   Have mercy on me, I'm a newbie....:(
>>> I have installed the openafs client code for redhat EWS 4 per the 
>>> info give in the linux quick start guide. I'm am trying to get my 
>>> client to run in an existing AFS cell, pitt.edu. Can anyone give me 
>>> a hand and help me get the client to run.
>>>
>>>   When I try to start the client I get the following error:
>>>       ./openafs-client start
>>>       Starting openafs-client: afsd: All AFS daemons started.
>>>       afsd: Can't mount AFS on /afs(22)
>>>
>>>   I also get the following entry in /var/log/messages:
>>> Dec  8 11:56:06 noc kernel: You must reload the AFS kernel 
>>> extensions before remounting AFS.
>>>
>>> Uname -a
>>> noc.pitt.edu 2.6.9-22.0.1.EL #1 Tue Oct 18 18:29:40 EDT 2005 i686 
>>> i686 i386 GNU/Linux
>>>
>>> I installed the following rpm's
>>> openafs-1.4.0-rhel4.1.i386.rpm
>>> openafs-client-1.4.0-rhel4.1.i386.rpm
>>> openafs-kernel-1.4.0-2.6.9_22.EL_1.i686.rpm
>>>
>>> I ran lsmod and the kernel mod seems to be loaded:
>>>
>>> Output from lsmod
>>> # lsmod
>>> Module                  Size  Used by
>>> parport_pc             24577  1
>>> lp                     12077  0
>>> parport                37129  2 parport_pc,lp
>>> openafs               519232  0
>>> autofs4                23237  0
>>> i2c_dev                11329  0
>>> i2c_core               22081  1 i2c_dev
>>> ( The rest of the output has been chopped)
>>>
>>> ps output!ps
>>> ps auwwx | grep afs
>>> root      3910  0.0  0.0     0    0 ?        S    12:37   0:00 
>>> [afs_rxevent]
>>> root      3913  0.0  0.0     0    0 ?        S    12:37   0:00 
>>> [afs_checkserver]
>>> root      3915  0.0  0.0     0    0 ?        S    12:37   0:00 
>>> [afs_background]
>>> root      3917  0.0  0.0     0    0 ?        S    12:37   0:00 
>>> [afs_background]
>>> root      3919  0.0  0.0     0    0 ?        S    12:37   0:00 
>>> [afs_cachetrim]
>>> root      3921  0.0  0.0  4812  640 pts/1    R+   12:37   0:00 grep afs
>>>
>>> Thanks in advance,
>>> George Cebulka
>>> _______________________________________________
>>> OpenAFS-info mailing list
>>> OpenAFS-info@openafs.org
>>> https://lists.openafs.org/mailman/listinfo/openafs-info
>>>
>>
>>
>>
>
>



-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord@MIT.EDU                        PGP key available