[OpenAFS] Re: Volume missing

Andrew Deason adeason@sinenomine.net
Fri, 2 Sep 2011 17:51:58 -0500


On Fri, 02 Sep 2011 17:31:58 -0500
"Douglas E. Engert" <deengert@anl.gov> wrote:

> It looks like your two database servers each thinking they are the
> only server in the cell. So they don't communicate with each other.
> You are in fact running two cells both having the same name and used
> the same key.
> 
> Because of this the file servers can still move volumes between them,
> and the updates for the databases goes to one or the other database
> server.

In order to fix this, alter the /usr/afs/etc/CellServDB file on both
server0 and server1, and make sure it contains entries for both server0
and server1. Then restart the server processes on both server0 and
server1. Wait a couple of minutes for the servers to resynchronize.

Afterwards, the VLDB will likely be missing volume entries. In order to
correct this, run:

vos syncvldb server0
vos syncvldb server1
vos syncserv server0
vos syncserv server1

At that point, all of the volumes that exist on server0 and server1
should be in the VL database.

-- 
Andrew Deason
adeason@sinenomine.net