[OpenAFS] vos remsite

Chaskiel M Grundman cg2v@andrew.cmu.edu
Thu, 21 Mar 2002 14:09:38 -0500


--On Thursday, March 21, 2002 16:27:21 +0100 Martin Schulz 
<schulz@iwrmm.math.uni-karlsruhe.de> wrote:

> What exactly is the "vos remsite" for then?

It compliments the "vos addsite" command. It precisely undoes what vos 
addsite did. There are several reasons you might do this.

You might have typo'd the addsite, and want to undo it before releasing the 
volume.
You might be decomissioning a fileserver that only has readonly volumes on 
it. You're going to wipe the disk anyway before you dispose of it, so why 
bother waiting for AFS to delete all the volumes.


The real reason this command exists, is that old afs clients (AFS 3.3 and 
older. maybe only AFS 3.2 and older) only refresh their idea of what 
replication sites exist once an hour, not even if they encounter an error 
accessing a particular site. This means that if you vos remove'd a read 
only volume, clients would start behaving erratically for about an hour. 
The solution to this at the time, was to do the remove in two steps. First, 
use vos remsite to remove the site from the vldb. Then, an hour later, use 
vos zap to remove the volume from the server.