[OpenAFS] Non existent RO volumes for root.afs and root.cell

Steven Jenkins steven.jenkins@gmail.com
Tue, 13 Jan 2009 17:24:45 -0500


On Fri, Dec 12, 2008 at 6:45 PM, Shigeki Misawa <misawa@bnl.gov> wrote:
> Hello,
>
> I have a problem with an AFS cell where the root.afs and root.cell volumes
> appear
> to reference non-existent read only volumes.
>
> vos examine root.afs yields :
>>  root.afs                          536870912 RW         21 K  On-line
>>      testafs01.bnl.gov /vicepa
>>      RWrite  536870912 ROnly  536870921 Backup  536871046
>>      MaxQuota       5000 K
>>      Creation    Tue Oct 23 11:49:12 2001
>>      Copy        Wed May 23 12:31:55 2007
>>      Backup      Fri Dec 12 02:06:01 2008
>>      Last Update Fri Oct 29 16:37:42 2004
>>     151 accesses in the past day (i.e., vnode references)
>> >     RWrite: 536870912     Backup: 536871046
>>     number of sites -> 1
>>        server testafs01.bnl.gov partition /vicepa RW Site
>
>
> Note that the 3rd line says "ROnly 536870921" but the 11th line does not
> mention a read only volume.
>
> Running "vos examine 536870921" yields:
>
>>  Volume 536870921 does not exist in VLDB
>> >  Dump only information from VLDB
>> >  root.afs
>>      RWrite: 536870912     Backup: 536871046
>>        number of sites -> 1
>>        server testafs01.bnl.gov partition /vicepa RW Site
>
> vos examine of root.cell yields similar problems.
>
> Is there a way to recover from this state ?
>

You should do (while having credentials as the AFS admin):

vos addsite testafs01.bnl.gov /vicepa root.afs
vos release root.afs

to recover the root.afs replica, and

vos addsite testafs01.bnl.gov /vicepa root.cell
vos release root.cell

to replicate root.cell.

-- 
Steven Jenkins
End Point Corporation
http://www.endpoint.com/