[OpenAFS] Unable to delete volume

Aaron Knister aaronk@umbc.edu
Sun, 31 Jul 2011 16:09:36 -0400


--bcaec51d25522de49904a9631958
Content-Type: text/plain; charset=ISO-8859-1

Gary,

Thanks for the suggestion, unfortunately that didn't work:

$ vos remsite -server 130.85.24.58 -partition /vicepa -id 536988828
 Could not lock the VLDB entry for volume 536988828
VLDB: no such entry
Error in vos remsite command.
VLDB: no such entry

Something I did just now was change the address of the non-existent server
on the subnet we no-loner use to a temporary afs file server on a subnet we
are using:

vos changeaddr -oldaddr 130.85.60.43 -newaddr 130.85.24.58

I did read the caveats in the man page before running the above command.
This at least points references to the non-existent fileserver to an
existing server. I was hoping I could do a syncvldb and it would clean up
the reference to the invalid volume but to no avail.

-Aaron

On Sun, Jul 31, 2011 at 3:38 PM, Gary Gatling <gsgatlin@ncsu.edu> wrote:

>
> On Sun, 31 Jul 2011, Aaron Knister wrote:
>
>  There's a server that was decommissioned many moons ago that I'm trying to
>> delete. The problem is there's a volume still associated with it [1], a RO
>> volume at that. When I attempt to remove the volume usin its volume id I
>> get
>> this message:
>>
>
> Try vos remsite:
>
> http://www.inf.ed.ac.uk/**systems/AFS/1/vos_remsite.html<http://www.inf.ed.ac.uk/systems/AFS/1/vos_remsite.html>
>
> I think you will want to give it a volumeID intead of a volume name.
>
> Hope that helps,
>
> Gary Gatling      | ITECS Systems
>
>
>> --BEGIN--
>> Could not delete entry for volume 536988828
>> You must specify a RW volume name or ID (the entire VLDB entry will be
>> deleted)
>> VLDB: no such entry
>> Deleted 0 VLDB entries
>> --END--
>>
>> Here's the output of vos listvldb -server for the server in question:
>>
>> --BEGIN--
>> VLDB entries for server 130.85.60.43
>>
>> g.ilin22.local
>>     ROnly: 536988828
>>     number of sites -> 1
>>        server 130.85.60.43 partition /vicepa RO Site
>>
>> Total entries: 1
>> --END--
>>
>> To make matters more interesting, there's another volume of the same name
>> but with a different volume ID.
>>
>> Does anyone have any suggestions?
>>
>> -Aaron
>>
>> --
>> Aaron Knister
>> Systems Administrator
>> Division of Information Technology
>> University of Maryland, Baltimore County
>> aaronk@umbc.edu
>>
>>


-- 
Aaron Knister
Systems Administrator
Division of Information Technology
University of Maryland, Baltimore County
aaronk@umbc.edu

--bcaec51d25522de49904a9631958
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Gary,<br><br>Thanks for the suggestion, unfortunately that didn&#39;t work:=
<br><br>$ vos remsite -server 130.85.24.58 -partition /vicepa -id 536988828=
<br>=A0Could not lock the VLDB entry for volume 536988828 <br>VLDB: no such=
 entry<br>

Error in vos remsite command.<br>VLDB: no such entry<br><br>Something I did=
 just now was change the address of the non-existent server on the subnet w=
e no-loner use to a temporary afs file server on a subnet we are using:<br>

<br>vos changeaddr -oldaddr 130.85.60.43 -newaddr 130.85.24.58<br><br>I did=
 read the caveats in the man page before running the above command. This at=
 least points references to the non-existent fileserver to an existing serv=
er. I was hoping I could do a syncvldb and it would clean up the reference =
to the invalid volume but to no avail.<br>

<br>-Aaron<br><br><div class=3D"gmail_quote">On Sun, Jul 31, 2011 at 3:38 P=
M, Gary Gatling <span dir=3D"ltr">&lt;<a href=3D"mailto:gsgatlin@ncsu.edu">=
gsgatlin@ncsu.edu</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote=
" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<div class=3D"im"><br>
On Sun, 31 Jul 2011, Aaron Knister wrote:<br>
<br>
</div><div class=3D"im"><blockquote class=3D"gmail_quote" style=3D"margin:0=
 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
There&#39;s a server that was decommissioned many moons ago that I&#39;m tr=
ying to<br>
delete. The problem is there&#39;s a volume still associated with it [1], a=
 RO<br>
volume at that. When I attempt to remove the volume usin its volume id I ge=
t<br>
this message:<br>
</blockquote>
<br></div><div class=3D"im">
Try vos remsite:<br>
<br>
<a href=3D"http://www.inf.ed.ac.uk/systems/AFS/1/vos_remsite.html" target=
=3D"_blank">http://www.inf.ed.ac.uk/<u></u>systems/AFS/1/vos_remsite.html</=
a><br>
<br>
I think you will want to give it a volumeID intead of a volume name.<br>
<br>
Hope that helps,<br>
<br>
Gary Gatling =A0 =A0 =A0| ITECS Systems<br>
<br>
</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-l=
eft:1px #ccc solid;padding-left:1ex">
<br><div><div></div><div class=3D"h5">
--BEGIN--<br>
Could not delete entry for volume 536988828<br>
You must specify a RW volume name or ID (the entire VLDB entry will be<br>
deleted)<br>
VLDB: no such entry<br>
Deleted 0 VLDB entries<br>
--END--<br>
<br>
Here&#39;s the output of vos listvldb -server for the server in question:<b=
r>
<br>
--BEGIN--<br>
VLDB entries for server 130.85.60.43<br>
<br>
g.ilin22.local<br>
=A0=A0=A0 ROnly: 536988828<br>
=A0=A0=A0 number of sites -&gt; 1<br>
=A0=A0=A0=A0=A0=A0 server 130.85.60.43 partition /vicepa RO Site<br>
<br>
Total entries: 1<br>
--END--<br>
<br>
To make matters more interesting, there&#39;s another volume of the same na=
me<br>
but with a different volume ID.<br>
<br>
Does anyone have any suggestions?<br>
<br>
-Aaron<br>
<br>
--<br>
Aaron Knister<br>
Systems Administrator<br>
Division of Information Technology<br>
University of Maryland, Baltimore County<br>
<a href=3D"mailto:aaronk@umbc.edu" target=3D"_blank">aaronk@umbc.edu</a><br=
>
<br>
</div></div></blockquote>
</blockquote></div><br><br clear=3D"all"><br>-- <br>Aaron Knister<br>System=
s Administrator<br>Division of Information Technology<br>University of Mary=
land, Baltimore County<br><a href=3D"mailto:aaronk@umbc.edu" target=3D"_bla=
nk">aaronk@umbc.edu</a><br>



--bcaec51d25522de49904a9631958--