[OpenAFS] Problem in creating/replicating volumes

Kim Kimball dhk@ccre.com
Thu, 21 Dec 2006 13:53:38 -0700


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

shailesh_joshi@persistent.co.in wrote:
> Hi.
>
> I have added 2 servers in my cell.
> My CellServDB is as follows.
>
>   
>> ps2750.pspl.co.in        #Cell name
>>     
> 10.77.5.155    #ps2095.pspl.co.in
> 10.88.88.41    #ps2750.pspl.co.in
>
> When I try to create a volume to any of these servers/ replicate  a volume using "vos addsite" command I'm getting following error.
>
> #vos addsite  ps2095.persistent.co.in /vicepa root.afs -cell ps2750.pspl.co.in -verbose -noauth
>
>  Could not lock the VLDB entry for the volume 536870912
> u: no quorum elected
> Error in vos addsite command.
> u: no quorum elected
>
>   
According to the CellServDB you're running AFS DB processes 
(ptserver,vlserver, perhaps buserver and ideally _not_ kaserver) on

10.77.5.155    #ps2095.pspl.co.in
10.88.88.41    #ps2750.pspl.co.in

Since there are more than one DB server instance AFS elects a 'synch' 
site -- a.k.a. a writeable site

Determining a synch site requires that one of the two listed hosts 
receives votes that constitute a quorum.

My guess is that you're not running DB server processes on both of the 
listed machines.

If this is true then you may have thought that file servers are listed 
in the CellServDB?  [Only DB servers are listed in the CellServDB]

The warning/failure you're seeing is due to the lack of a writeable site

"u: no quorum elected"  translates to "Can't elect any DB server; no 
synch site/writeable site is available"

Can't lock the VLDB entry -- because it requires a write operation to 
flag the VLDB entry as locked.
Can't add a replication site -- because it require a write operation to 
list the new site in the VLDB entry.

Am I close?

Kim

> #vos create ps2750 /vicepa test.afs -cell ps2750.pspl.co.in -noauth
> Could not get an Id for volume test.afs
>    u: no quorum elected.............
>
> If I keep only 1 server info in CellServDB, creating a volume is working fine. 
>
> Is it happening because the IP addresses are not in a particular sequence?
>
> Thanks and Regards,
> Shailesh 
>
> DISCLAIMER
> ==========
> This e-mail may contain privileged and confidential information which is the property of Persistent Systems Pvt. Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Pvt. Ltd. does not accept any liability for virus infected mails.
> _______________________________________________
> OpenAFS-info mailing list
> OpenAFS-info@openafs.org
> https://lists.openafs.org/mailman/listinfo/openafs-info
>
>   


--------------050209020400030806060006
Content-Type: text/x-vcard; charset=utf-8;
 name="dhk.vcf"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="dhk.vcf"

begin:vcard
fn:Dexter  'Kim' Kimball
n:Kimball;Dexter 
email;internet:dhk@ccre.com
tel;work:970-207-1474
tel;fax:866-514-9676
tel;home:970-215-6359
tel;cell:818-726-6392
x-mozilla-html:TRUE
version:2.1
end:vcard


--------------050209020400030806060006--