[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.
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
>    #ps2095.pspl.co.in
>    #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    #ps2095.pspl.co.in    #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?


> #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 
> ==========
> 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

Content-Type: text/x-vcard; charset=utf-8;
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;

fn:Dexter  'Kim' Kimball