[OpenAFS] Re: Unable to delete volume
Aaron Knister
aaronk@umbc.edu
Mon, 1 Aug 2011 10:40:48 -0400
--20cf306845e528fd4104a9729f97
Content-Type: text/plain; charset=ISO-8859-1
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
-------
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
--20cf306845e528fd4104a9729f97
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
<div class=3D"gmail_quote">On Mon, Aug 1, 2011 at 10:18 AM, Andrew Deason <=
span dir=3D"ltr"><<a href=3D"mailto:adeason@sinenomine.net">adeason@sine=
nomine.net</a>></span> wrote:<br><blockquote class=3D"gmail_quote" style=
=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
On Sun, 31 Jul 2011 22:24:39 -0400<br>
<div class=3D"im">Aaron Knister <<a href=3D"mailto:aaronk@umbc.edu">aaro=
nk@umbc.edu</a>> wrote:<br>
<br>
</div><div class=3D"im">> > As Simon indicates, what you want 'vo=
s 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 entry will be=
deleted)<br>
> VLDB: no such entry<br>
> Deleted 0 VLDB entries<br>
<br>
</div>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>
<div><div></div><div class=3D"h5"><br></div></div></blockquote><div><br></d=
iv><div>I can't, because as mentioned the volume name is also associate=
d with another volume id that I definitely don't want to delete. To ill=
ustrate 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:</=
div>
<div><br></div><div>-------</div><div>$=A0vos listvldb -server 130.85.24.58=
</div><div>VLDB entries for server 130.85.24.58=A0</div><div><br></div><div=
>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>Total entries: 1</div><div>-------</div><div><br></div><div>H=
owever, if I query the vldb for the volume g.ilin22.local you'll see (b=
elow) 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.</div>
<div><br></div><div>-------</div><div>vos listvldb g.ilin22.local</div><div=
><br></div><div>g.ilin22.local=A0</div><div>=A0 =A0 RWrite: 537195552 =A0 =
=A0 ROnly: 537195559 =A0 =A0 Backup: 537195686=A0</div><div>=A0 =A0 number =
of sites -> 3</div>
<div>=A0 =A0 =A0 =A0server <a href=3D"http://ifs1.afs.umbc.edu">ifs1.afs.um=
bc.edu</a> partition /vicepd RW Site=A0</div><div>=A0 =A0 =A0 =A0server <a =
href=3D"http://ifs1.afs.umbc.edu">ifs1.afs.umbc.edu</a> partition /vicepd R=
O Site=A0</div><div>
=A0 =A0 =A0 =A0server <a href=3D"http://ifs2.afs.umbc.edu">ifs2.afs.umbc.ed=
u</a> partition /vicepd RO Site=A0</div><div>-------=A0</div><div><br></div=
><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1=
px #ccc solid;padding-left:1ex;">
<div><div class=3D"h5">
--<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.org</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>
</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>
--20cf306845e528fd4104a9729f97--