[OpenAFS] Re: Unable to delete volume

Aaron Knister aaronk@umbc.edu
Mon, 1 Aug 2011 11:33:49 -0400


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

On Mon, Aug 1, 2011 at 11:21 AM, Andrew Deason <adeason@sinenomine.net>wrote:

> On Mon, 1 Aug 2011 10:53:09 -0400
> Aaron Knister <aaronk@umbc.edu> wrote:
>
> > 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:
>
> Well, that wasn't my suggestion, and yeah, that's not going to work.
> Using those flags is just a convenience thing and isn't going to let you
> do anything a regular 'delent' can't do; they're just a shortcut from
> grepping 'vos listvl' and running 'vos delent' on the parsed names.
>
> If you give derrick or me or someone a copy of your vldb.DB0, we might
> be able to tell you what you can delete... but really, the easiest way
> is just to delete both vldb entries. If you really really don't want to
> temporarily delete the other one, you could just rename it ('vos
> rename') out of the way, and then vos delentry, and rename it back.
>

[aaronk@linux2:~ $ ] vos rename g.ilin22.local g.ilin22.local.tmp
Renamed volume g.ilin22.local to g.ilin22.local.tmp
[aaronk@linux2:~ $ ] vos delent g.ilin22.local
VLDB: no such entry
Deleted 0 VLDB entries
[aaronk@linux2:~ $ ] vos rename g.ilin22.local.tmp g.ilin22.local
Renamed volume g.ilin22.local.tmp to g.ilin22.local

sigh...the vldb clearly is unhappy. I'll send you a copy of the vldb.DB0

Thanks for your help


>
> --
> 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

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

<div><div class=3D"gmail_quote">On Mon, Aug 1, 2011 at 11:21 AM, Andrew Dea=
son <span dir=3D"ltr">&lt;<a href=3D"mailto:adeason@sinenomine.net">adeason=
@sinenomine.net</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;">

On Mon, 1 Aug 2011 10:53:09 -0400<br>
<div class=3D"im">Aaron Knister &lt;<a href=3D"mailto:aaronk@umbc.edu">aaro=
nk@umbc.edu</a>&gt; wrote:<br>
<br>
</div><div class=3D"im">&gt; I also tried Andrew&#39;s suggestion after rea=
lizing I could specify a<br>
&gt; -server argument so it wouldn&#39;t clobber the other volume by the sa=
me<br>
&gt; name but that didn&#39;t work either:<br>
<br>
</div>Well, that wasn&#39;t my suggestion, and yeah, that&#39;s not going t=
o work.<br>
Using those flags is just a convenience thing and isn&#39;t going to let yo=
u<br>
do anything a regular &#39;delent&#39; can&#39;t do; they&#39;re just a sho=
rtcut from<br>
grepping &#39;vos listvl&#39; and running &#39;vos delent&#39; on the parse=
d names.<br>
<br>
If you give derrick or me or someone a copy of your vldb.DB0, we might<br>
be able to tell you what you can delete... but really, the easiest way<br>
is just to delete both vldb entries. If you really really don&#39;t want to=
<br>
temporarily delete the other one, you could just rename it (&#39;vos<br>
rename&#39;) out of the way, and then vos delentry, and rename it back.<br>=
</blockquote><div><br></div><div><div>[aaronk@linux2:~ $ ] vos rename g.ili=
n22.local g.ilin22.local.tmp</div><div>Renamed volume g.ilin22.local to g.i=
lin22.local.tmp</div>

<div>[aaronk@linux2:~ $ ] vos delent g.ilin22.local</div><div>VLDB: no such=
 entry</div><div>Deleted 0 VLDB entries</div><div>[aaronk@linux2:~ $ ] vos =
rename g.ilin22.local.tmp g.ilin22.local</div><div>Renamed volume g.ilin22.=
local.tmp to g.ilin22.local</div>

</div><div><br></div><div>sigh...the vldb clearly is unhappy. I&#39;ll send=
 you a copy of the vldb.DB0</div><div><br></div><div>Thanks for your help</=
div><div>=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .=
8ex;border-left:1px #ccc solid;padding-left:1ex;">


<font color=3D"#888888"><br>
--<br>
</font><div><div></div><div class=3D"h5">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>


</div>

--bcaec51d2552bd679c04a9735cec--