[OpenAFS] More Quick Start Woes: afsd: Can't mount AFS on /afs(22)

Phillip Moore w.phillip.moore@gmail.com
Wed, 29 Sep 2010 09:44:57 -0400


--001517503cc8c71f7f0491662a98
Content-Type: text/plain; charset=ISO-8859-1

No, I just tried with -dynroot, and the only visible difference is another
line of verbose output:

afsd: Enabling dynroot support in kernel.

Fails with the same error.

On Wed, Sep 29, 2010 at 9:33 AM, Derrick Brashear <shadow@gmail.com> wrote:

> 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.   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
> everything's
> > fine up to mounting root.afs (see below). As suggested by the QSG, I
> removed
> > -dynroot from /etc/sysconfig/openafs, and I have created my root.afs
> volume,
> > 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.   Do I need anything other than root.afs
> to
> > get started?   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    #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                          536870912 RW          2 K  On-line
> >     fhcore.boot.efs /vicepa
> >     RWrite  536870912 ROnly  536870913 Backup          0
> >     MaxQuota       5000 K
> >     Creation    Tue Sep 28 16:33:36 2010
> >     Copy        Tue Sep 28 16:33:36 2010
> >     Backup      Never
> >     Last Update Tue Sep 28 16:33:36 2010
> >     0 accesses in the past day (i.e., vnode references)
> >     RWrite: 536870912     ROnly: 536870913
> >     number of sites -> 2
> >        server fhcore.boot.efs partition /vicepa RW Site
> >        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)=0 afsd: Forking rx listener daemon.
> > SScall(183, 28, 48)=0 afsd: Forking rx callback listener.
> > SScall(183, 28, 0)=0 afsd: Forking rxevent daemon.
> > SScall(183, 28, 19)=0 SScall(183, 28, 36)=0 afsd: Calling
> AFSOP_CACHEINIT:
> > 3000 stat cache entries, 3125 optimum cache files, 100000 blocks in the
> > cache, flags = 0x0, dcache entries 2000
> > SScall(183, 28, 6)=0 afsd: Sweeping workstation's AFS cache directory.
> > afsd: 3125 out of 3125 data cache files found in sweep 1.
> > SScall(183, 28, 7)=0 SScall(183, 28, 34)=0 afsd: Enabling fakestat
> support
> > in kernel.
> > SScall(183, 28, 33)=0 SScall(183, 28, 29)=0 SScall(183, 28, 35)=0 afsd:
> > Forking AFS daemon.
> > SScall(183, 28, 1)=0 afsd: Forking Check Server Daemon.
> > SScall(183, 28, 4)=0 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)=0 afsd: Mounting the AFS root on '/afs', flags: 0.
> > afsd: Can't mount AFS on /afs(22)
> >
>
>
>
> --
> Derrick
>

--001517503cc8c71f7f0491662a98
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

No, I just tried with -dynroot, and the only visible difference is another =
line of verbose output:<div><br></div><div>afsd: Enabling dynroot support i=
n kernel.</div><div><br></div><div>Fails with the same error.=A0<br><br><di=
v class=3D"gmail_quote">
On Wed, Sep 29, 2010 at 9:33 AM, Derrick Brashear <span dir=3D"ltr">&lt;<a =
href=3D"mailto:shadow@gmail.com">shadow@gmail.com</a>&gt;</span> wrote:<br>=
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex;">
does it mount if you enable -dynroot?<br>
<div><div></div><div class=3D"h5"><br>
<br>
On Wed, Sep 29, 2010 at 8:29 AM, Phillip Moore<br>
&lt;<a href=3D"mailto:w.phillip.moore@gmail.com">w.phillip.moore@gmail.com<=
/a>&gt; wrote:<br>
&gt; The Quick Start Guide has clearly atrophied (not just whining -- I *wi=
ll*<br>
&gt; patch it... :-)<br>
&gt; Thanks to the help so far, I&#39;ve gotten as far as rebooting and try=
ing to<br>
&gt; mount /afs, but no further. =A0 I discovered the CellServDB.dist and<b=
r>
&gt; CellServDB.local files (neat trick) which are not documented in the QS=
G,<br>
&gt; sorted those files out, but still I&#39;m getting:<br>
&gt; afsd: Can&#39;t mount AFS on /afs(22)<br>
&gt; I ran afsd with -verbose, and the output seems to indicate that everyt=
hing&#39;s<br>
&gt; fine up to mounting root.afs (see below). As suggested by the QSG, I r=
emoved<br>
&gt; -dynroot from /etc/sysconfig/openafs, and I have created my root.afs v=
olume,<br>
&gt; but that is the ONLY volume I have.<br>
&gt; I am starting to get the impression that I need to pre-create some mor=
e<br>
&gt; volume infrastructure, perhaps. =A0 Do I need anything other than root=
.afs to<br>
&gt; get started? =A0 The QSG doesn&#39;t have you create anything other th=
an root.afs<br>
&gt; until AFTER you have started the client for the first time.<br>
&gt; I believe my client config files are correct:<br>
&gt; [root@fhcore ~]# cat /usr/vice/etc/ThisCell<br>
&gt; d.fh.nyc.us.boot.efs[root@fhcore ~]#<br>
&gt; [root@fhcore ~]# cat /usr/vice/etc/CellServDB<br>
&gt;&gt;d.fh.nyc.us.boot.efs #Cell name<br>
&gt; 192.168.1.121 =A0 =A0#fhcore<br>
&gt; My root.afs volume, while boring, is online:<br>
&gt; [root@fhcore ~]# vos examine root.afs<br>
&gt; vsu_ClientInit: Could not get afs tokens, running unauthenticated.<br>
&gt; root.afs =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0536870912 =
RW =A0 =A0 =A0 =A0 =A02 K =A0On-line<br>
&gt; =A0=A0 =A0fhcore.boot.efs /vicepa<br>
&gt; =A0=A0 =A0RWrite =A0536870912 ROnly =A0536870913 Backup =A0 =A0 =A0 =
=A0 =A00<br>
&gt; =A0=A0 =A0MaxQuota =A0 =A0 =A0 5000 K<br>
&gt; =A0=A0 =A0Creation =A0 =A0Tue Sep 28 16:33:36 2010<br>
&gt; =A0=A0 =A0Copy =A0 =A0 =A0 =A0Tue Sep 28 16:33:36 2010<br>
&gt; =A0=A0 =A0Backup =A0 =A0 =A0Never<br>
&gt; =A0=A0 =A0Last Update Tue Sep 28 16:33:36 2010<br>
&gt; =A0=A0 =A00 accesses in the past day (i.e., vnode references)<br>
&gt; =A0=A0 =A0RWrite: 536870912 =A0 =A0 ROnly: 536870913<br>
&gt; =A0=A0 =A0number of sites -&gt; 2<br>
&gt; =A0=A0 =A0 =A0 server fhcore.boot.efs partition /vicepa RW Site<br>
&gt; =A0=A0 =A0 =A0 server fhcore.boot.efs partition /vicepa RO Site<br>
&gt; What am I missing?<br>
&gt; ---verbose afsd startup---<br>
&gt; [root@fhcore etc]# /etc/rc.d/init.d/openafs-client start<br>
&gt; Updating CellServDB:<br>
&gt; Starting openafs-client: afsd: enabling dynamically allocated vcaches<=
br>
&gt; afsd: My home cell is &#39;d.fh.nyc.us.boot.efs&#39;<br>
&gt; afsd: cacheFiles autotuned to 3125<br>
&gt; afsd: dCacheSize autotuned to 2000<br>
&gt; afsd: cacheStatEntries autotuned to 3000<br>
&gt; SScall(183, 28, 17)=3D0 afsd: Forking rx listener daemon.<br>
&gt; SScall(183, 28, 48)=3D0 afsd: Forking rx callback listener.<br>
&gt; SScall(183, 28, 0)=3D0 afsd: Forking rxevent daemon.<br>
&gt; SScall(183, 28, 19)=3D0 SScall(183, 28, 36)=3D0 afsd: Calling AFSOP_CA=
CHEINIT:<br>
&gt; 3000 stat cache entries, 3125 optimum cache files, 100000 blocks in th=
e<br>
&gt; cache, flags =3D 0x0, dcache entries 2000<br>
&gt; SScall(183, 28, 6)=3D0 afsd: Sweeping workstation&#39;s AFS cache dire=
ctory.<br>
&gt; afsd: 3125 out of 3125 data cache files found in sweep 1.<br>
&gt; SScall(183, 28, 7)=3D0 SScall(183, 28, 34)=3D0 afsd: Enabling fakestat=
 support<br>
&gt; in kernel.<br>
&gt; SScall(183, 28, 33)=3D0 SScall(183, 28, 29)=3D0 SScall(183, 28, 35)=3D=
0 afsd:<br>
&gt; Forking AFS daemon.<br>
&gt; SScall(183, 28, 1)=3D0 afsd: Forking Check Server Daemon.<br>
&gt; SScall(183, 28, 4)=3D0 afsd: Forking 2 background daemons.<br>
&gt; &lt;&lt;2-3 pages of SScall() noise ommited -- assuming the details ar=
en&#39;t<br>
&gt; useful&gt;&gt;<br>
&gt; afsd: Forking trunc-cache daemon.<br>
&gt; SScall(183, 28, 3)=3D0 afsd: Mounting the AFS root on &#39;/afs&#39;, =
flags: 0.<br>
&gt; afsd: Can&#39;t mount AFS on /afs(22)<br>
&gt;<br>
<br>
<br>
<br>
</div></div>--<br>
<font color=3D"#888888">Derrick<br>
</font></blockquote></div><br></div>

--001517503cc8c71f7f0491662a98--