[OpenAFS] Re: Unable to delete volume

Aaron Knister aaronk@umbc.edu
Mon, 1 Aug 2011 10:53:09 -0400


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

Hi Derrick,

Thanks for the suggestion. I tried that yesterday but to no avail:

[aaronk@linux2:~ $ ] vos examine 536988827
Volume 536988827 does not exist in VLDB

Dump only information from VLDB

g.ilin22.local
    ROnly: 536988828
    number of sites -> 1
       server solaris10-test1.core.umbc.edu partition /vicepa RO Site

[aaronk@linux2:~ $ ] vos delentry 536988827
Could not delete entry for volume 536988827
You must specify a RW volume name or ID (the entire VLDB entry will be
deleted)
VLDB: no such entry
Deleted 0 VLDB entries

I also tried Andrew's suggestion after realizing I could specify a -server
argument so it wouldn't clobber the other volume by the same name but that
didn't work either:

[aaronk@linux2:~ $ ] vos delent -prefix g.ilin22.local -server 130.85.24.58
-partition /vicepa
Deleting VLDB entries for server 130.85.24.58 partition /vicepa which are
prefixed with g.ilin22.local
Could not delete VDLB entry for  g.ilin22.local
VLDB: no such entry
----------------------
Total VLDB entries deleted: 0; failed to delete: 1

-Aaron

On Mon, Aug 1, 2011 at 10:45 AM, Derrick Brashear <shadow@gmail.com> wrote:

> On Mon, Aug 1, 2011 at 10:40 AM, Aaron Knister <aaronk@umbc.edu> wrote:
> > On Mon, Aug 1, 2011 at 10:18 AM, Andrew Deason <adeason@sinenomine.net>
> > wrote:
> >>
> >> On Sun, 31 Jul 2011 22:24:39 -0400
> >> Aaron Knister <aaronk@umbc.edu> wrote:
> >>
> >> > > As Simon indicates, what you want 'vos delentry', for the entry that
> >> > > 'vos listvldb' showed you.
> >> >
> >> > vos delentry doesn't work-- I tried that a bunch of times before I
> >> > posted to the list. Heres the error I get:
> >> >
> >> > 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
> >>
> >> You can't delete by non-RW id. Just give the volume name like the
> >> message says, and it will delete the entry.
> >>
> >
> > I can't, because as mentioned the volume name is also associated with
> > another volume id that I definitely don't want to delete. To illustrate
> what
> > I mean, 130.85.24.58 is the server I want to delete and the RO volume
> > associated with it that I want to delete is named g.ilin22.local:
> > -------
> > $ vos listvldb -server 130.85.24.58
> > VLDB entries for server 130.85.24.58
> > g.ilin22.local
> >     ROnly: 536988828
> >     number of sites -> 1
> >        server solaris10-test1.core.umbc.edu partition /vicepa RO Site
> > Total entries: 1
>
> ah, so, your problem is this id isn't the RO id associated with the
> same name below.
> wild guess:
> vos ex 536988827 and see what it is. if nothing, try vos delentry
> 536988827 and see
> if that's more helpful. would be sad if it is....
>
> > -------
> > However, if I query the vldb for the volume g.ilin22.local you'll see
> > (below) that it and its RO replicas exist with a different set of volume
> > IDs. As I mentioned, I can't delete this volume by name. Doing so would
> be
> > very bad for me.
> > -------
> > vos listvldb g.ilin22.local
> > g.ilin22.local
> >     RWrite: 537195552     ROnly: 537195559     Backup: 537195686
> >     number of sites -> 3
> >        server ifs1.afs.umbc.edu partition /vicepd RW Site
> >        server ifs1.afs.umbc.edu partition /vicepd RO Site
> >        server ifs2.afs.umbc.edu partition /vicepd RO Site
> > -------
> >>
> >> --
> >> Andrew Deason
> >> adeason@sinenomine.net
> >>
> >> _______________________________________________
> >> OpenAFS-info mailing list
> >> OpenAFS-info@openafs.org
> >> https://lists.openafs.org/mailman/listinfo/openafs-info
> >
> >
> >
> > --
> > Aaron Knister
> > Systems Administrator
> > Division of Information Technology
> > University of Maryland, Baltimore County
> > aaronk@umbc.edu
> >
>
>
>
> --
> Derrick
>



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

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

Hi Derrick,<div><br></div><div>Thanks for the suggestion. I tried that yest=
erday but to no avail:</div><div><br></div><div><div>[aaronk@linux2:~ $ ] v=
os examine 536988827</div><div>Volume 536988827 does not exist in VLDB</div=
>

<div><br></div><div>Dump only information from VLDB</div><div><br></div><di=
v>g.ilin22.local=A0</div><div>=A0 =A0 ROnly: 536988828=A0</div><div>=A0 =A0=
 number of sites -&gt; 1</div><div>=A0 =A0 =A0 =A0server <a href=3D"http://=
solaris10-test1.core.umbc.edu">solaris10-test1.core.umbc.edu</a> partition =
/vicepa RO Site=A0</div>

<div><br></div><div>[aaronk@linux2:~ $ ] vos delentry 536988827</div><div>C=
ould not delete entry for volume 536988827</div><div>You must specify a RW =
volume name or ID (the entire VLDB entry will be deleted)</div><div>VLDB: n=
o such entry</div>

<div>Deleted 0 VLDB entries</div><div><br></div><div>I also tried Andrew&#3=
9;s suggestion after realizing I could specify a -server argument so it wou=
ldn&#39;t clobber the other volume by the same name but that didn&#39;t wor=
k either:</div>

<div><br></div><div><div>[aaronk@linux2:~ $ ] vos delent -prefix g.ilin22.l=
ocal -server 130.85.24.58 -partition /vicepa</div><div>Deleting VLDB entrie=
s for server 130.85.24.58 partition /vicepa which are prefixed with g.ilin2=
2.local=A0</div>

<div>Could not delete VDLB entry for =A0g.ilin22.local</div><div>VLDB: no s=
uch entry</div><div>----------------------</div><div>Total VLDB entries del=
eted: 0; failed to delete: 1</div></div><div><br></div><div>-Aaron</div>
<br>
<div class=3D"gmail_quote">On Mon, Aug 1, 2011 at 10:45 AM, Derrick Brashea=
r <span dir=3D"ltr">&lt;<a href=3D"mailto:shadow@gmail.com">shadow@gmail.co=
m</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margi=
n:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<div><div></div><div class=3D"h5">On Mon, Aug 1, 2011 at 10:40 AM, Aaron Kn=
ister &lt;<a href=3D"mailto:aaronk@umbc.edu">aaronk@umbc.edu</a>&gt; wrote:=
<br>
&gt; On Mon, Aug 1, 2011 at 10:18 AM, Andrew Deason &lt;<a href=3D"mailto:a=
deason@sinenomine.net">adeason@sinenomine.net</a>&gt;<br>
&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; On Sun, 31 Jul 2011 22:24:39 -0400<br>
&gt;&gt; Aaron Knister &lt;<a href=3D"mailto:aaronk@umbc.edu">aaronk@umbc.e=
du</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; &gt; &gt; As Simon indicates, what you want &#39;vos delentry&#39;=
, for the entry that<br>
&gt;&gt; &gt; &gt; &#39;vos listvldb&#39; showed you.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; vos delentry doesn&#39;t work-- I tried that a bunch of times=
 before I<br>
&gt;&gt; &gt; posted to the list. Heres the error I get:<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Could not delete entry for volume 536988828<br>
&gt;&gt; &gt; You must specify a RW volume name or ID (the entire VLDB entr=
y will be<br>
&gt;&gt; &gt; deleted)<br>
&gt;&gt; &gt; VLDB: no such entry<br>
&gt;&gt; &gt; Deleted 0 VLDB entries<br>
&gt;&gt;<br>
&gt;&gt; You can&#39;t delete by non-RW id. Just give the volume name like =
the<br>
&gt;&gt; message says, and it will delete the entry.<br>
&gt;&gt;<br>
&gt;<br>
&gt; I can&#39;t, because as mentioned the volume name is also associated w=
ith<br>
&gt; another volume id that I definitely don&#39;t want to delete. To illus=
trate what<br>
&gt; I mean, 130.85.24.58 is the server I want to delete and the RO volume<=
br>
&gt; associated with it that I want to delete is named g.ilin22.local:<br>
&gt; -------<br>
&gt; $=A0vos listvldb -server 130.85.24.58<br>
&gt; VLDB entries for server 130.85.24.58<br>
&gt; g.ilin22.local<br>
&gt; =A0 =A0 ROnly: 536988828<br>
&gt; =A0 =A0 number of sites -&gt; 1<br>
&gt; =A0 =A0 =A0 =A0server <a href=3D"http://solaris10-test1.core.umbc.edu"=
 target=3D"_blank">solaris10-test1.core.umbc.edu</a> partition /vicepa RO S=
ite<br>
&gt; Total entries: 1<br>
<br>
</div></div>ah, so, your problem is this id isn&#39;t the RO id associated =
with the<br>
same name below.<br>
wild guess:<br>
vos ex 536988827 and see what it is. if nothing, try vos delentry<br>
536988827 and see<br>
if that&#39;s more helpful. would be sad if it is....<br>
<div class=3D"im"><br>
&gt; -------<br>
&gt; However, if I query the vldb for the volume g.ilin22.local you&#39;ll =
see<br>
&gt; (below) that it and its RO replicas exist with a different set of volu=
me<br>
&gt; IDs. As I mentioned, I can&#39;t delete this volume by name. Doing so =
would be<br>
&gt; very bad for me.<br>
&gt; -------<br>
&gt; vos listvldb g.ilin22.local<br>
&gt; g.ilin22.local<br>
&gt; =A0 =A0 RWrite: 537195552 =A0 =A0 ROnly: 537195559 =A0 =A0 Backup: 537=
195686<br>
&gt; =A0 =A0 number of sites -&gt; 3<br>
&gt; =A0 =A0 =A0 =A0server <a href=3D"http://ifs1.afs.umbc.edu" target=3D"_=
blank">ifs1.afs.umbc.edu</a> partition /vicepd RW Site<br>
&gt; =A0 =A0 =A0 =A0server <a href=3D"http://ifs1.afs.umbc.edu" target=3D"_=
blank">ifs1.afs.umbc.edu</a> partition /vicepd RO Site<br>
&gt; =A0 =A0 =A0 =A0server <a href=3D"http://ifs2.afs.umbc.edu" target=3D"_=
blank">ifs2.afs.umbc.edu</a> partition /vicepd RO Site<br>
&gt; -------<br>
&gt;&gt;<br>
&gt;&gt; --<br>
&gt;&gt; Andrew Deason<br>
&gt;&gt; <a href=3D"mailto:adeason@sinenomine.net">adeason@sinenomine.net</=
a><br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; OpenAFS-info mailing list<br>
&gt;&gt; <a href=3D"mailto:OpenAFS-info@openafs.org">OpenAFS-info@openafs.o=
rg</a><br>
&gt;&gt; <a href=3D"https://lists.openafs.org/mailman/listinfo/openafs-info=
" target=3D"_blank">https://lists.openafs.org/mailman/listinfo/openafs-info=
</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Aaron Knister<br>
&gt; Systems Administrator<br>
&gt; Division of Information Technology<br>
&gt; University of Maryland, Baltimore County<br>
&gt; <a href=3D"mailto:aaronk@umbc.edu">aaronk@umbc.edu</a><br>
&gt;<br>
<br>
<br>
<br>
</div>--<br>
<font color=3D"#888888">Derrick<br>
</font></blockquote></div><br><br clear=3D"all"><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>


</div>

--bcaec501625b5049de04a972cb5a--