[OpenAFS] Unable to delete volume
Aaron Knister
aaronk@umbc.edu
Sun, 31 Jul 2011 16:15:37 -0400
--bcaec501625bb148cb04a9632efa
Content-Type: text/plain; charset=ISO-8859-1
Make that a vos syncserv not a syncvldb
On Sun, Jul 31, 2011 at 4:09 PM, Aaron Knister <aaronk@umbc.edu> wrote:
> 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
>
--
Aaron Knister
Systems Administrator
Division of Information Technology
University of Maryland, Baltimore County
aaronk@umbc.edu
--bcaec501625bb148cb04a9632efa
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Make that a vos syncserv not a syncvldb<br><br><div class=3D"gmail_quote">O=
n Sun, Jul 31, 2011 at 4:09 PM, Aaron Knister <span dir=3D"ltr"><<a href=
=3D"mailto:aaronk@umbc.edu">aaronk@umbc.edu</a>></span> wrote:<br><block=
quote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc=
solid;padding-left:1ex;">
Gary,<br><br>Thanks for the suggestion, unfortunately that didn'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>
<font color=3D"#888888">
<br>-Aaron</font><div><div></div><div class=3D"h5"><br><br><div class=3D"gm=
ail_quote">On Sun, Jul 31, 2011 at 3:38 PM, Gary Gatling <span dir=3D"ltr">=
<<a href=3D"mailto:gsgatlin@ncsu.edu" target=3D"_blank">gsgatlin@ncsu.ed=
u</a>></span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
<div><br>
On Sun, 31 Jul 2011, Aaron Knister wrote:<br>
<br>
</div><div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;bor=
der-left:1px #ccc solid;padding-left:1ex">
There's a server that was decommissioned many moons ago that I'm tr=
ying to<br>
delete. The problem is there'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>
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>
--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'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 -> 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'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></div></div>-- <br><div><div><=
/div><div class=3D"h5">Aaron Knister<br>Systems Administrator<br>Division o=
f Information Technology<br>University of Maryland, Baltimore County<br><a =
href=3D"mailto:aaronk@umbc.edu" target=3D"_blank">aaronk@umbc.edu</a><br>
</div></div></blockquote></div><br><br clear=3D"all"><br>-- <br>Aaron Knist=
er<br>Systems Administrator<br>Division of Information Technology<br>Univer=
sity of Maryland, Baltimore County<br><a href=3D"mailto:aaronk@umbc.edu" ta=
rget=3D"_blank">aaronk@umbc.edu</a><br>
--bcaec501625bb148cb04a9632efa--