[OpenAFS] can't mount AFS on /afs(22)

Mike Lee mike.li@bamboonetworks.com
Wed, 23 Jan 2002 13:58:22 +0800


--------------090600030406080003010601
Content-Type: text/plain; charset=GB2312
Content-Transfer-Encoding: 7bit

Think you

I just type wrong char (bamboo.net --> bamboo.com) in email, on the
server it is right
I donot think DNS have problem, I can visit afssvr by type
afssvr.bamboo.com or afssvr




Derek Atkins wrote:

>Mike Lee <mike.li@bamboonetworks.com> writes:
>
>>Because of I run configure --prefix=/usr/afs
>>I found the bosserver create two symbol link
>>/usr/afs/etc/openafs/ThisCell -->/usr/afs/etc/openafs/server/ThisCell
>>/usr/afs/etc/openafs/CellServDB-->/usr/afs/etc/openafs/server/CellServDB
>>
>
>These symlinks may not work as a normal user, because bos will
>restrict the permissions on /usr/afs/etc/openafs/server.  But
>let's ignore that for now.
>
>>in my ThisCell:
>>bamboo.com
>>
>>CellservDB:
>>
>>>bamboo.com #cell name
>>>
>>192.168.2.151 #afssvr.bamboo.net
>>
>
>The host named "afssvr.bamboo.net" does not seem to exist in the DNS.
>How is the AFS client supposed to find this host?
>
>>now I only have one afs server (and I also want it to run as client)
>>and my client config file in /usr/afs/etc/openafs
>>my cacheinfo file also in /usr/afs/etc/openafs
>>
>
>Understood.  Can you show the contents of the cacheinfo file?
>
>-derek
>
>>
>>
>>
>>
>>
>>Jason Garman wrote:
>>
>>>On Tue, Jan 22, 2002 at 10:15:30AM -0500, Derek Atkins wrote:
>>>
>>>>You need the client ThisCell and CellServDB files.  You only have 
>>>>the server ThisCell and CellServDB files installed.  I'm not
>>>>100% sure where they go, but I think:
>>>>       /usr/afs/etc/ThisCell
>>>>       /usr/afs/etc/CellServDB
>>>>
>>>>Yes, you need both client _AND_ server CellServDB/ThisCell, because
>>>>one machine could be a client in cell A and a server for cell B.
>>>>
>>>The other reason to have separate client and server CellServDB & ThisCell
>>>is because the server will change the permissions on /usr/afs/etc and
>>>nobody will be able to read the symlinks that the IBM documentation
>>>instructs you to create earlier...  that one confused me for a bit.
>>>
>>>Btw- the client configs are in /usr/vice/etc (at least for the
>>>--enable-transarc-paths)
>>>
>

-- 

Mike Lee mike.li@bamboonetworks.com <mailto:mike.li@bamboonetworks.com>
room 1122-1123 international bank tower
191 dong feng rd west guangzhou, p.r.c.
t) 8620-8135 1210 ext. 58
f) 8620-8135 1207

</temp/mailfoot/logo.gif> <http://www.bamboonetworks.com>

hong kong  guangzhou  seoul tokyo



--------------090600030406080003010601
Content-Type: multipart/related;
 boundary="------------020501080006080308000407"


--------------020501080006080308000407
Content-Type: text/html; charset=GB2312
Content-Transfer-Encoding: 7bit

<html>
<head>
</head>
<body>
Think you<br>
<br>
I just type wrong char (bamboo.net --&gt; bamboo.com) in email, on the server
it is right<br>
I donot think DNS have problem, I can visit afssvr by type afssvr.bamboo.com
or afssvr<br>
<br>
<br>
<br>
<br>
Derek Atkins wrote:<br>
<blockquote type="cite" cite="mid:sjmpu413gie.fsf@kikki.mit.edu">
  <pre wrap="">Mike Lee <a class="moz-txt-link-rfc2396E" href="mailto:mike.li@bamboonetworks.com">&lt;mike.li@bamboonetworks.com&gt;</a> writes:<br><br></pre>
  <blockquote type="cite">
    <pre wrap="">Because of I run configure --prefix=/usr/afs<br>I found the bosserver create two symbol link<br>/usr/afs/etc/openafs/ThisCell --&gt;/usr/afs/etc/openafs/server/ThisCell<br>/usr/afs/etc/openafs/CellServDB--&gt;/usr/afs/etc/openafs/server/CellServDB<br></pre>
    </blockquote>
    <pre wrap=""><!----><br>These symlinks may not work as a normal user, because bos will<br>restrict the permissions on /usr/afs/etc/openafs/server.  But<br>let's ignore that for now.<br><br></pre>
    <blockquote type="cite">
      <pre wrap="">in my ThisCell:<br>bamboo.com<br><br>CellservDB:<br></pre>
      <blockquote type="cite">
        <pre wrap="">bamboo.com #cell name<br></pre>
        </blockquote>
        <pre wrap="">192.168.2.151 #afssvr.bamboo.net<br></pre>
        </blockquote>
        <pre wrap=""><!----><br>The host named "afssvr.bamboo.net" does not seem to exist in the DNS.<br>How is the AFS client supposed to find this host?<br><br></pre>
        <blockquote type="cite">
          <pre wrap="">now I only have one afs server (and I also want it to run as client)<br>and my client config file in /usr/afs/etc/openafs<br>my cacheinfo file also in /usr/afs/etc/openafs<br></pre>
          </blockquote>
          <pre wrap=""><!----><br>Understood.  Can you show the contents of the cacheinfo file?<br><br>-derek<br><br></pre>
          <blockquote type="cite">
            <pre wrap=""><br><br><br><br><br>Jason Garman wrote:<br><br></pre>
            <blockquote type="cite">
              <pre wrap="">On Tue, Jan 22, 2002 at 10:15:30AM -0500, Derek Atkins wrote:<br><br></pre>
              <blockquote type="cite">
                <pre wrap="">You need the client ThisCell and CellServDB files.  You only have <br>the server ThisCell and CellServDB files installed.  I'm not<br>100% sure where they go, but I think:<br>       /usr/afs/etc/ThisCell<br>       /usr/afs/etc/CellServDB<br><br>Yes, you need both client _AND_ server CellServDB/ThisCell, because<br>one machine could be a client in cell A and a server for cell B.<br><br></pre>
                </blockquote>
                <pre wrap="">The other reason to have separate client and server CellServDB &amp; ThisCell<br>is because the server will change the permissions on /usr/afs/etc and<br>nobody will be able to read the symlinks that the IBM documentation<br>instructs you to create earlier...  that one confused me for a bit.<br><br>Btw- the client configs are in /usr/vice/etc (at least for the<br>--enable-transarc-paths)<br><br></pre>
                </blockquote>
                </blockquote>
                <pre wrap=""><!----><br></pre>
                </blockquote>
                <br>
                <div class="moz-signature">-- <br>
                <title>Untitled Document</title>
                <meta http-equiv="Content-Type" content="text/html; ">
                <meta content="MSHTML 5.50.4611.1300" name="GENERATOR">
                <table width="509" border="0">
                  <tbody>
                    <tr>
                      <td width="338" height="122" valign="Top">
                      <p><font face="Arial, Helvetica, sans-serif" size="-1"><b>
Mike Lee</b><a href="mailto:mike.li@bamboonetworks.com"><font color="#006600">
mike.li@bamboonetworks.com</font></a>
                      <br>
         room 1122-1123 international bank tower<br>
         191 dong feng rd west guangzhou, p.r.c.<br>
         t) 8620-8135 1210 ext. 58</font><font face="Arial, Helvetica, sans-serif" size="-1"><br>
         f) 8620-8135 1207</font></p>
                      </td>
                      <td width="161" height="122"><a href="http://www.bamboonetworks.com"><img src="/temp/mailfoot/logo.gif" width="140" height="86" border="0">
                      </a>
                      </td>
                    </tr>
                  </tbody>
                </table>
                <pre>&nbsp;<font face="Arial, Helvetica, sans-serif"><b>hong kong&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  guangzhou&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  seoul&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;tokyo</b></font></pre>
                </div>
                <br>
                </body>
                </html>

--------------020501080006080308000407--

--------------090600030406080003010601--