[OpenAFS] More Quick Start Woes: afsd: Can't mount AFS on /afs(22)
Derrick Brashear
shadow@gmail.com
Wed, 29 Sep 2010 09:33:07 -0400
does it mount if you enable -dynroot?
On Wed, Sep 29, 2010 at 8:29 AM, Phillip Moore
<w.phillip.moore@gmail.com> wrote:
> The Quick Start Guide has clearly atrophied (not just whining -- I *will*
> patch it... :-)
> Thanks to the help so far, I've gotten as far as rebooting and trying to
> mount /afs, but no further. =A0 I discovered the CellServDB.dist and
> CellServDB.local files (neat trick) which are not documented in the QSG,
> sorted those files out, but still I'm getting:
> afsd: Can't mount AFS on /afs(22)
> I ran afsd with -verbose, and the output seems to indicate that everythin=
g's
> fine up to mounting root.afs (see below). As suggested by the QSG, I remo=
ved
> -dynroot from /etc/sysconfig/openafs, and I have created my root.afs volu=
me,
> but that is the ONLY volume I have.
> I am starting to get the impression that I need to pre-create some more
> volume infrastructure, perhaps. =A0 Do I need anything other than root.af=
s to
> get started? =A0 The QSG doesn't have you create anything other than root=
.afs
> until AFTER you have started the client for the first time.
> I believe my client config files are correct:
> [root@fhcore ~]# cat /usr/vice/etc/ThisCell
> d.fh.nyc.us.boot.efs[root@fhcore ~]#
> [root@fhcore ~]# cat /usr/vice/etc/CellServDB
>>d.fh.nyc.us.boot.efs #Cell name
> 192.168.1.121 =A0 =A0#fhcore
> My root.afs volume, while boring, is online:
> [root@fhcore ~]# vos examine root.afs
> vsu_ClientInit: Could not get afs tokens, running unauthenticated.
> root.afs =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0536870912 RW =
=A0 =A0 =A0 =A0 =A02 K =A0On-line
> =A0=A0 =A0fhcore.boot.efs /vicepa
> =A0=A0 =A0RWrite =A0536870912 ROnly =A0536870913 Backup =A0 =A0 =A0 =A0 =
=A00
> =A0=A0 =A0MaxQuota =A0 =A0 =A0 5000 K
> =A0=A0 =A0Creation =A0 =A0Tue Sep 28 16:33:36 2010
> =A0=A0 =A0Copy =A0 =A0 =A0 =A0Tue Sep 28 16:33:36 2010
> =A0=A0 =A0Backup =A0 =A0 =A0Never
> =A0=A0 =A0Last Update Tue Sep 28 16:33:36 2010
> =A0=A0 =A00 accesses in the past day (i.e., vnode references)
> =A0=A0 =A0RWrite: 536870912 =A0 =A0 ROnly: 536870913
> =A0=A0 =A0number of sites -> 2
> =A0=A0 =A0 =A0 server fhcore.boot.efs partition /vicepa RW Site
> =A0=A0 =A0 =A0 server fhcore.boot.efs partition /vicepa RO Site
> What am I missing?
> ---verbose afsd startup---
> [root@fhcore etc]# /etc/rc.d/init.d/openafs-client start
> Updating CellServDB:
> Starting openafs-client: afsd: enabling dynamically allocated vcaches
> afsd: My home cell is 'd.fh.nyc.us.boot.efs'
> afsd: cacheFiles autotuned to 3125
> afsd: dCacheSize autotuned to 2000
> afsd: cacheStatEntries autotuned to 3000
> SScall(183, 28, 17)=3D0 afsd: Forking rx listener daemon.
> SScall(183, 28, 48)=3D0 afsd: Forking rx callback listener.
> SScall(183, 28, 0)=3D0 afsd: Forking rxevent daemon.
> SScall(183, 28, 19)=3D0 SScall(183, 28, 36)=3D0 afsd: Calling AFSOP_CACHE=
INIT:
> 3000 stat cache entries, 3125 optimum cache files, 100000 blocks in the
> cache, flags =3D 0x0, dcache entries 2000
> SScall(183, 28, 6)=3D0 afsd: Sweeping workstation's AFS cache directory.
> afsd: 3125 out of 3125 data cache files found in sweep 1.
> SScall(183, 28, 7)=3D0 SScall(183, 28, 34)=3D0 afsd: Enabling fakestat su=
pport
> in kernel.
> SScall(183, 28, 33)=3D0 SScall(183, 28, 29)=3D0 SScall(183, 28, 35)=3D0 a=
fsd:
> Forking AFS daemon.
> SScall(183, 28, 1)=3D0 afsd: Forking Check Server Daemon.
> SScall(183, 28, 4)=3D0 afsd: Forking 2 background daemons.
> <<2-3 pages of SScall() noise ommited -- assuming the details aren't
> useful>>
> afsd: Forking trunc-cache daemon.
> SScall(183, 28, 3)=3D0 afsd: Mounting the AFS root on '/afs', flags: 0.
> afsd: Can't mount AFS on /afs(22)
>
--=20
Derrick