[OpenAFS] AFS outage, impact of "moving" root.cell.readonly, root.afs.readonly

Kim Kimball dhk@ccre.com
Thu, 10 May 2007 13:00:41 -0600

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<body bgcolor="#ffffff" text="#000000">
Actually, <br>
vos remove &lt;server&gt; &lt;partition&gt; &lt;volumename&gt;.readonly<br>
&nbsp;is the easier command<br>
vos remsite removes only the RO site info from the VLDB<br>
vos zap removes only the RO volume from the server/partition<br>
Done one after the other in either order will work fine as you have
vos remove does both<br>
-- if I vos zap a volume the VLDB refers to it but it cannot be found
where indicated.<br>
-- if I vos remsite a volume the VLDB no longer refers to it and it
won't be found (after cached volume info is refreshed)<br>
-- if I vos remove the VLDB site info is removed and the volume is
'vos remove' is the definitive way to remove .readonly volumes.&nbsp; If
removing the clone (RO on same server and partition as RW) be sure to
specify .readonly suffix or the RW will be removed without warning.<br>
Christopher D. Clausen wrote:
<blockquote cite="mid27860804.1178813775488.JavaMail.root@m11"
  <pre wrap="">Kim Kimball <a class="moz-txt-link-rfc2396E" href="mailto:dhk@ccre.com">&lt;dhk@ccre.com&gt;</a> wrote:
  <blockquote type="cite">
    <pre wrap="">Sorry for the delay in answering this.  Went out of town for a while.

Four file servers, all with root.cell.readonly/root.afs.readonly

Used "vos remove" to remove one instance of each from one file server.
  <pre wrap=""><!---->
And you did NOT use vos remsite on the replication point first?  I 
suspect that would be a problem.

I always vos remsite before vos remove / vos zap the old RO replica.  If 
you don't, I suspect that the vldb might still reference those servers 
as having RO replicas, even though you removed them with vos remove.

Perhaps someone else has the definative guide on removing RO replicas 
from servers and then removing the .readonly volume.


OpenAFS-info mailing list
<a class="moz-txt-link-abbreviated" href="mailto:OpenAFS-info@openafs.org">OpenAFS-info@openafs.org</a>
<a class="moz-txt-link-freetext" href="https://lists.openafs.org/mailman/listinfo/openafs-info">https://lists.openafs.org/mailman/listinfo/openafs-info</a>