[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 -> 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=
9;s suggestion after realizing I could specify a -server argument so it wou=
ldn't clobber the other volume by the same name but that didn'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"><<a href=3D"mailto:shadow@gmail.com">shadow@gmail.co=
m</a>></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 <<a href=3D"mailto:aaronk@umbc.edu">aaronk@umbc.edu</a>> wrote:=
<br>
> On Mon, Aug 1, 2011 at 10:18 AM, Andrew Deason <<a href=3D"mailto:a=
deason@sinenomine.net">adeason@sinenomine.net</a>><br>
> wrote:<br>
>><br>
>> On Sun, 31 Jul 2011 22:24:39 -0400<br>
>> Aaron Knister <<a href=3D"mailto:aaronk@umbc.edu">aaronk@umbc.e=
du</a>> wrote:<br>
>><br>
>> > > As Simon indicates, what you want 'vos delentry'=
, for the entry that<br>
>> > > 'vos listvldb' showed you.<br>
>> ><br>
>> > vos delentry doesn't work-- I tried that a bunch of times=
before I<br>
>> > posted to the list. Heres the error I get:<br>
>> ><br>
>> > Could not delete entry for volume 536988828<br>
>> > You must specify a RW volume name or ID (the entire VLDB entr=
y will be<br>
>> > deleted)<br>
>> > VLDB: no such entry<br>
>> > Deleted 0 VLDB entries<br>
>><br>
>> You can't delete by non-RW id. Just give the volume name like =
the<br>
>> message says, and it will delete the entry.<br>
>><br>
><br>
> I can't, because as mentioned the volume name is also associated w=
ith<br>
> another volume id that I definitely don't want to delete. To illus=
trate what<br>
> I mean, 130.85.24.58 is the server I want to delete and the RO volume<=
br>
> associated with it that I want to delete is named g.ilin22.local:<br>
> -------<br>
> $=A0vos listvldb -server 130.85.24.58<br>
> VLDB entries for server 130.85.24.58<br>
> g.ilin22.local<br>
> =A0 =A0 ROnly: 536988828<br>
> =A0 =A0 number of sites -> 1<br>
> =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>
> Total entries: 1<br>
<br>
</div></div>ah, so, your problem is this id isn'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's more helpful. would be sad if it is....<br>
<div class=3D"im"><br>
> -------<br>
> However, if I query the vldb for the volume g.ilin22.local you'll =
see<br>
> (below) that it and its RO replicas exist with a different set of volu=
me<br>
> IDs. As I mentioned, I can't delete this volume by name. Doing so =
would be<br>
> very bad for me.<br>
> -------<br>
> vos listvldb g.ilin22.local<br>
> g.ilin22.local<br>
> =A0 =A0 RWrite: 537195552 =A0 =A0 ROnly: 537195559 =A0 =A0 Backup: 537=
195686<br>
> =A0 =A0 number of sites -> 3<br>
> =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>
> =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>
> =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>
> -------<br>
>><br>
>> --<br>
>> Andrew Deason<br>
>> <a href=3D"mailto:adeason@sinenomine.net">adeason@sinenomine.net</=
a><br>
>><br>
>> _______________________________________________<br>
>> OpenAFS-info mailing list<br>
>> <a href=3D"mailto:OpenAFS-info@openafs.org">OpenAFS-info@openafs.o=
rg</a><br>
>> <a href=3D"https://lists.openafs.org/mailman/listinfo/openafs-info=
" target=3D"_blank">https://lists.openafs.org/mailman/listinfo/openafs-info=
</a><br>
><br>
><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">aaronk@umbc.edu</a><br>
><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--