[OpenAFS] How do I delete 127.0.0.1 enties in vldb, my vldb_check looks wrong!

Jerry Normandin Jerry.Normandin@dafca.com
Tue, 18 Dec 2007 07:57:12 -0800


This is a multi-part message in MIME format.

------_=_NextPart_001_01C8418E.90CB9E4A
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

It's difficult to know what it should be since vos listaddr -noresolve
does not show it

[root@eng02 root]# vos listaddr -noresolve

10.5.1.13

10.5.1.210

10.5.1.212

10.5.1.14

=20

Yet if I go to remove it:

# vos changeaddr -oldaddr 127.0.0.1 -remove

Could not remove server 127.0.0.1 from the VLDB

VLDB: volume Id exists in the vldb

=20

And when I check the vldb with vos listvldb I do not see an entry.

=20

Is there a debug tool that I can use to dig further?    Eng02 is the
host with ubik issues.  Is it possible that the entry 127.0.0.1 that is
not showing up with vos listaddr but showing up with vldb_check is
actually eng02?  =20

=20

________________________________

From: openafs-info-admin@openafs.org
[mailto:openafs-info-admin@openafs.org] On Behalf Of Derrick Brashear
Sent: Tuesday, December 18, 2007 10:39 AM
To: OpenAFS Info
Subject: Re: [OpenAFS] How do I delete 127.0.0.1 enties in vldb, my
vldb_check looks wrong!

=20

=20

On Dec 18, 2007 10:32 AM, Jerry Normandin <Jerry.Normandin@dafca.com>
wrote:

DEBUG|EXEC: /usr/bin/ssh -2 -l root afs02.dafca.local "vldb_check
-servers /usr/afs/db/vldb.DB0"

INFO |OUT:  Ubik header size is 0 (should be 64)

INFO |OUT:  Header's maximum volume id is 536871653 and largest id found
in VLDB is 536871649

INFO |OUT:  MH block 0, index 1: 10.5.1.13

INFO |OUT:  MH block 0, index 5: 10.5.1.210

INFO |OUT:  MH block 0, index 6: 10.5.1.212

INFO |OUT:  MH block 0, index 8: 10.5.1.14

INFO |OUT:     Server ip addr 0 =3D MH block 0, index 1

INFO |OUT:     Server ip addr 1 =3D 127.0.0.1

INFO |OUT:     Server ip addr 2 =3D MH block 0, index 6

INFO |OUT:     Server ip addr 3 =3D 10.5.1.211

INFO |OUT:     Server ip addr 7 =3D MH block 0, index 8

INFO |OUT:     Server ip addr 8 =3D MH block 0, index 5

INFO |OUT:     Server ip addr 9 =3D 10.5.1.211

INFO |OUT:  Scanning 1057 entries for possible repairs

=20

What's the best way to fix this?


vos changeaddr the 127.0.0.1 server to what it should be, or remove it
with changeaddr -remove.


------_=_NextPart_001_01C8418E.90CB9E4A
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns=3D"http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman";}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{color:blue;
	text-decoration:underline;}
p
	{mso-margin-top-alt:auto;
	margin-right:0in;
	mso-margin-bottom-alt:auto;
	margin-left:0in;
	font-size:12.0pt;
	font-family:"Times New Roman";}
span.EmailStyle18
	{mso-style-type:personal-reply;
	font-family:Arial;
	color:navy;}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
	{page:Section1;}
-->
</style>

</head>

<body lang=3DEN-US link=3Dblue vlink=3Dblue>

<div class=3DSection1>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>It&#8217;s difficult to know what =
it
should be since vos listaddr &#8211;noresolve does not show =
it<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>[root@eng02 root]# vos listaddr =
-noresolve<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>10.5.1.13<o:p></o:p></span></font></=
p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>10.5.1.210<o:p></o:p></span></font><=
/p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>10.5.1.212<o:p></o:p></span></font><=
/p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>10.5.1.14<o:p></o:p></span></font></=
p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>Yet if I go to remove =
it:<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'># vos changeaddr -oldaddr 127.0.0.1
-remove<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>Could not remove server 127.0.0.1 =
from the
VLDB<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>VLDB: volume Id exists in the =
vldb<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>And when I check the vldb with vos
listvldb I do not see an entry.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>Is there a debug tool that I can =
use to
dig further?&nbsp;&nbsp;&nbsp; Eng02 is the host with ubik issues.&nbsp; =
Is it
possible that the entry 127.0.0.1 that is not showing up with vos =
listaddr but
showing up with vldb_check is actually eng02?&nbsp;&nbsp; =
<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<div>

<div class=3DMsoNormal align=3Dcenter style=3D'text-align:center'><font =
size=3D3
face=3D"Times New Roman"><span style=3D'font-size:12.0pt'>

<hr size=3D2 width=3D"100%" align=3Dcenter tabindex=3D-1>

</span></font></div>

<p class=3DMsoNormal><b><font size=3D2 face=3DTahoma><span =
style=3D'font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font =
size=3D2
face=3DTahoma><span style=3D'font-size:10.0pt;font-family:Tahoma'> =
openafs-info-admin@openafs.org
[mailto:openafs-info-admin@openafs.org] <b><span =
style=3D'font-weight:bold'>On
Behalf Of </span></b>Derrick Brashear<br>
<b><span style=3D'font-weight:bold'>Sent:</span></b> Tuesday, December =
18, 2007
10:39 AM<br>
<b><span style=3D'font-weight:bold'>To:</span></b> OpenAFS Info<br>
<b><span style=3D'font-weight:bold'>Subject:</span></b> Re: [OpenAFS] =
How do I
delete 127.0.0.1 enties in vldb, my vldb_check looks =
wrong!</span></font><o:p></o:p></p>

</div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-bottom:12.0pt'><font size=3D3
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>On Dec 18, 2007 10:32 AM, Jerry Normandin &lt;<a
href=3D"mailto:Jerry.Normandin@dafca.com">Jerry.Normandin@dafca.com</a>&g=
t;
wrote:<o:p></o:p></span></font></p>

<div link=3Dblue vlink=3Dpurple>

<div>

<p><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:10.0pt;font-family:
Arial;color:navy'>DEBUG|EXEC: /usr/bin/ssh -2 -l root afs02.dafca.local
&quot;vldb_check -servers =
/usr/afs/db/vldb.DB0&quot;</span></font><o:p></o:p></p>

<p><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:10.0pt;font-family:
Arial;color:navy'>INFO |OUT:&nbsp; Ubik header size is 0 (should be =
64)</span></font><o:p></o:p></p>

<p><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:10.0pt;font-family:
Arial;color:navy'>INFO |OUT:&nbsp; Header's maximum volume id is =
536871653 and
largest id found in VLDB is 536871649</span></font><o:p></o:p></p>

<p><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:10.0pt;font-family:
Arial;color:navy'>INFO |OUT:&nbsp; MH block 0, index 1: <a
href=3D"http://10.5.1.13" =
target=3D"_blank">10.5.1.13</a></span></font><o:p></o:p></p>

<p><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:10.0pt;font-family:
Arial;color:navy'>INFO |OUT:&nbsp; MH block 0, index 5: <a
href=3D"http://10.5.1.210" =
target=3D"_blank">10.5.1.210</a></span></font><o:p></o:p></p>

<p><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:10.0pt;font-family:
Arial;color:navy'>INFO |OUT:&nbsp; MH block 0, index 6: <a
href=3D"http://10.5.1.212" =
target=3D"_blank">10.5.1.212</a></span></font><o:p></o:p></p>

<p><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:10.0pt;font-family:
Arial;color:navy'>INFO |OUT:&nbsp; MH block 0, index 8: <a
href=3D"http://10.5.1.14" =
target=3D"_blank">10.5.1.14</a></span></font><o:p></o:p></p>

<p><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:10.0pt;font-family:
Arial;color:navy'>INFO |OUT:&nbsp;&nbsp;&nbsp;&nbsp; Server ip addr 0 =
=3D MH
block 0, index 1</span></font><o:p></o:p></p>

<p><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:10.0pt;font-family:
Arial;color:navy'>INFO |OUT:&nbsp;&nbsp;&nbsp;&nbsp; Server ip addr 1 =
=3D <a
href=3D"http://127.0.0.1" =
target=3D"_blank">127.0.0.1</a></span></font><o:p></o:p></p>

<p><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:10.0pt;font-family:
Arial;color:navy'>INFO |OUT:&nbsp;&nbsp;&nbsp;&nbsp; Server ip addr 2 =
=3D MH
block 0, index 6</span></font><o:p></o:p></p>

<p><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:10.0pt;font-family:
Arial;color:navy'>INFO |OUT:&nbsp;&nbsp;&nbsp;&nbsp; Server ip addr 3 =
=3D <a
href=3D"http://10.5.1.211" =
target=3D"_blank">10.5.1.211</a></span></font><o:p></o:p></p>

<p><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:10.0pt;font-family:
Arial;color:navy'>INFO |OUT:&nbsp;&nbsp;&nbsp;&nbsp; Server ip addr 7 =
=3D MH
block 0, index 8</span></font><o:p></o:p></p>

<p><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:10.0pt;font-family:
Arial;color:navy'>INFO |OUT:&nbsp;&nbsp;&nbsp;&nbsp; Server ip addr 8 =
=3D MH
block 0, index 5</span></font><o:p></o:p></p>

<p><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:10.0pt;font-family:
Arial;color:navy'>INFO |OUT:&nbsp;&nbsp;&nbsp;&nbsp; Server ip addr 9 =
=3D <a
href=3D"http://10.5.1.211" =
target=3D"_blank">10.5.1.211</a></span></font><o:p></o:p></p>

<p><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:10.0pt;font-family:
Arial;color:navy'>INFO |OUT:&nbsp; Scanning 1057 entries for possible =
repairs</span></font><o:p></o:p></p>

<p><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:10.0pt;font-family:
Arial;color:navy'>&nbsp;</span></font><o:p></o:p></p>

<p><font size=3D2 color=3Dnavy face=3DCalibri><span =
style=3D'font-size:11.0pt;
font-family:Calibri;color:navy'>What's the best way to fix =
this?</span></font><o:p></o:p></p>

</div>

</div>

</div>

<p class=3DMsoNormal style=3D'margin-bottom:12.0pt'><font size=3D3
face=3D"Times New Roman"><span style=3D'font-size:12.0pt'><br>
vos changeaddr the <a href=3D"http://127.0.0.1">127.0.0.1</a> server to =
what it
should be, or remove it with changeaddr =
-remove.<o:p></o:p></span></font></p>

</div>

</body>

</html>

------_=_NextPart_001_01C8418E.90CB9E4A--