[OpenAFS] Re: vos create fails with "no quorum elected"

Qing Chang qchang@sri.utoronto.ca
Wed, 18 Jul 2012 10:13:41 -0400


This is a multi-part message in MIME format.
--------------050203010702050601090309
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit


On 17/07/2012 12:34 PM, Andrew Deason wrote:
> [sorry for delays, I am rather busy]
>
> On Mon, 16 Jul 2012 15:44:19 -0400
> Qing Chang<qchang@sri.utoronto.ca>  wrote:
>
>> [root@smb1 logs]# udebug  smb1 7003 -long
>> Host's addresses are: (smb1's IP)
>> Host's(smb1's IP) time is Mon Jul 16 15:37:57 2012
>> Local time is Mon Jul 16 15:37:58 2012 (time differential 1 secs)
>> Last yes vote not cast yet
>> Local db version is 1342191857.6
>> I am sync site forever (0 server)
>> Recovery state 0
> So, the vlserver thinks you have 0 servers in your cell. That's
> peculiar. What is in your /usr/afs/etc/CellServDB? This is your
> server-side CellServDB, which is different than the client-side
> CellServDB in /usr/vice/etc/CellServDB.
[root@smb1 logs]# cat /usr/afs/etc/CellServDB
 >openafs.sri.utoronto.ca        #Cell name
142.76.x.x    #smb1.sri.utoronto.ca
[root@smb1 logs]# cat /usr/vice/etc/CellServDB
 >openafs.sri.utoronto.ca        #Cell name
142.76.x.x    #smb1.sri.utoronto.ca
> In the quick start guide, this should have been configured around the
> 'Defining Cell Name and Membership for Server Processes' step.
>
I think I followed the instruction by running this:

*bos setcellname*  </|machine name|/>  </|cell name|/>  *-noauth
*

I may have done something wrong with the client side stuff, I did not remove
the symlink in /usr/vice/etc that point to CellDBServ and ThisCell in
/usr/afs/etc. I have removed them now.

Thanks,
Qing

--------------050203010702050601090309
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <br>
    On 17/07/2012 12:34 PM, Andrew Deason wrote:
    <blockquote
      cite="mid:20120717113451.ad2c2e92.adeason@sinenomine.net"
      type="cite">
      <pre wrap="">
[sorry for delays, I am rather busy]

On Mon, 16 Jul 2012 15:44:19 -0400
Qing Chang <a class="moz-txt-link-rfc2396E" href="mailto:qchang@sri.utoronto.ca">&lt;qchang@sri.utoronto.ca&gt;</a> wrote:

</pre>
      <blockquote type="cite">
        <pre wrap="">[root@smb1 logs]# udebug  smb1 7003 -long
Host's addresses are: (smb1's IP)
Host's(smb1's IP) time is Mon Jul 16 15:37:57 2012
Local time is Mon Jul 16 15:37:58 2012 (time differential 1 secs)
Last yes vote not cast yet
Local db version is 1342191857.6
I am sync site forever (0 server)
Recovery state 0
</pre>
      </blockquote>
      <pre wrap="">
So, the vlserver thinks you have 0 servers in your cell. That's
peculiar. What is in your /usr/afs/etc/CellServDB? This is your
server-side CellServDB, which is different than the client-side
CellServDB in /usr/vice/etc/CellServDB.
</pre>
    </blockquote>
    [root@smb1 logs]# cat /usr/afs/etc/CellServDB<br>
    &gt;openafs.sri.utoronto.ca&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #Cell name<br>
    142.76.x.x &nbsp;&nbsp; #smb1.sri.utoronto.ca<br>
    [root@smb1 logs]# cat /usr/vice/etc/CellServDB<br>
    &gt;openafs.sri.utoronto.ca&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #Cell name<br>
    142.76.x.x &nbsp;&nbsp; #smb1.sri.utoronto.ca<br>
    <blockquote
      cite="mid:20120717113451.ad2c2e92.adeason@sinenomine.net"
      type="cite">
      <pre wrap="">
In the quick start guide, this should have been configured around the
'Defining Cell Name and Membership for Server Processes' step.

</pre>
    </blockquote>
    I think I followed the instruction by running this:<br>
    <pre class="programlisting" style="color: rgb(0, 0, 0); font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); "><span class="bold"><strong>bos setcellname</strong></span> &lt;<em class="replaceable"><code>machine name</code></em>&gt; &lt;<em class="replaceable"><code>cell name</code></em>&gt; <span class="bold"><strong>-noauth
</strong></span>
</pre>
    I may have done something wrong with the client side stuff, I did
    not remove<br>
    the symlink in /usr/vice/etc that point to CellDBServ and ThisCell
    in <br>
    /usr/afs/etc. I have removed them now.<br>
    <br>
    Thanks,<br>
    Qing<br>
  </body>
</html>

--------------050203010702050601090309--