[OpenAFS] Re: vos create fails with "no quorum elected"
Qing Chang
qchang@sri.utoronto.ca
Wed, 18 Jul 2012 16:54:27 -0400
On 18/07/2012 11:10 AM, Andrew Deason wrote:
> On Wed, 18 Jul 2012 10:13:41 -0400
> Qing Chang<qchang@sri.utoronto.ca> wrote:
>
>> [root@smb1 logs]# cat /usr/afs/etc/CellServDB
>> >openafs.sri.utoronto.ca #Cell name
> Hm, and I assume /usr/afs/etc/ThisCell has 'openafs.sri.utoronto.ca' in
> it, correct?
yes
> Can you provide the output of 'bos listhosts<server>' ? If you restart
> the server processes and run that 'udebug' command again, does it still
> say 'I am sync site forever (0 server)'?
>
After a reboot, everything looks OK, strange:
[root@smb1 ~]# udebug smb1 7003 -long
Host's addresses are: 142.76.x.x
Host's 142.76.x.x time is Wed Jul 18 11:20:12 2012
Local time is Wed Jul 18 11:20:13 2012 (time differential 1 secs)
Last yes vote for x.x.76.142 was 0 secs ago (sync site);
Last vote started 0 secs ago (at Wed Jul 18 11:20:13 2012)
Local db version is 1342622470.2
I am sync site forever (1 server)
Recovery state 1f
The last trans I handled was 1342622470.2
Sync site's db version is 1342622470.2
0 locked pages, 0 of them for write
Last time a new db version was labelled was:
2342 secs ago (at Wed Jul 18 10:41:11 2012)
The command runs successfully:
[root@smb1 ~]# vos create smb1 /vicepa afsdoc -maxquota 0
Volume 536870918 created on partition /vicepa of smb1
Thanks,
Qing