[OpenAFS] Duplicate VLDB entries

Jeff Quinn quinnje2@msu.edu
Wed, 9 Apr 2008 11:09:18 -0400


This is a multipart message in MIME format.

------=_NextPart_000_0015_01C89A32.2793D060
Content-Type: text/plain;
	charset="US-ASCII"
Content-Transfer-Encoding: 7bit

We recently lost a partition on one of our servers and restored from tape.
The volumes were all recovered, but when we did a vos exam on any of the
restored volumes, it would have 2 identical entries in the vldb:

 

    number of sites -> 2

       server afsfs10.cl.msu.edu partition /vicepa RW Site

       server afsfs10.cl.msu.edu partition /vicepa RW Site

 

After moving the volume:

 

    number of sites -> 2

       server afsfs5.cl.msu.edu partition /vicepa RW Site 

       server afsfs10.cl.msu.edu partition /vicepa RW Site

 

We moved all of the volumes off of that partition, so now they all look like
above.   A vos listvol of afsfs10 vicepa returns 0 volumes, but a vos
listvldb returns all 1989 of them.    We then tried to do a vos syncvldb
with a volume.  It reports that it has been synced, but there are still 2
entries in the vldb.  We have also tried vos syncserv with the whole
partition with the same result.  

 

We have also tried to manually remove an entry from the vldb using vos
delentry, but you cannot specify a server/partition AND a volume.  A vos
delentry on the volume removed both entries from the vldb.

 

All volumes are accessible via their mount points.

 

Any ideas on how to remedy the vldb discrepancy?   

 

Thanks,

-Jeff Quinn


------=_NextPart_000_0015_01C89A32.2793D060
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:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
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 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 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:11.0pt;
	font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Calibri","sans-serif";
	color:windowtext;}
.MsoChpDefault
	{mso-style-type:export-only;}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
	{page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext=3D"edit">
  <o:idmap v:ext=3D"edit" data=3D"1" />
 </o:shapelayout></xml><![endif]-->
</head>

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

<div class=3DSection1>

<p class=3DMsoNormal>We recently lost a partition on one of our servers =
and
restored from tape.&nbsp; The volumes were all recovered, but when we =
did a vos
exam on any of the restored volumes, it would have 2 identical entries =
in the
vldb:<o:p></o:p></p>

<p class=3DMsoNormal><o:p>&nbsp;</o:p></p>

<p class=3DMsoNormal>&nbsp;&nbsp;&nbsp; number of sites -&gt; =
2<o:p></o:p></p>

<p class=3DMsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; server
afsfs10.cl.msu.edu partition /vicepa RW Site<o:p></o:p></p>

<p class=3DMsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; server
afsfs10.cl.msu.edu partition /vicepa RW Site<o:p></o:p></p>

<p class=3DMsoNormal><o:p>&nbsp;</o:p></p>

<p class=3DMsoNormal>After moving the volume:<o:p></o:p></p>

<p class=3DMsoNormal><o:p>&nbsp;</o:p></p>

<p class=3DMsoNormal>&nbsp;&nbsp;&nbsp; number of sites -&gt; =
2<o:p></o:p></p>

<p class=3DMsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; server
afsfs5.cl.msu.edu partition /vicepa RW Site <o:p></o:p></p>

<p class=3DMsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; server
afsfs10.cl.msu.edu partition /vicepa RW Site<o:p></o:p></p>

<p class=3DMsoNormal><o:p>&nbsp;</o:p></p>

<p class=3DMsoNormal>We moved all of the volumes off of that partition, =
so now they
all look like above.&nbsp;&nbsp; A vos listvol of afsfs10 vicepa returns =
0
volumes, but a vos listvldb returns all 1989 of them.&nbsp;&nbsp;&nbsp; =
We then
tried to do a vos syncvldb with a volume.&nbsp; It reports that it has =
been
synced, but there are still 2 entries in the vldb.&nbsp; We have also =
tried vos
syncserv with the whole partition with the same result.&nbsp; =
<o:p></o:p></p>

<p class=3DMsoNormal><o:p>&nbsp;</o:p></p>

<p class=3DMsoNormal>We have also tried to manually remove an entry from =
the vldb
using vos delentry, but you cannot specify a server/partition AND a
volume.&nbsp; A vos delentry on the volume removed both entries from the =
vldb.<o:p></o:p></p>

<p class=3DMsoNormal><o:p>&nbsp;</o:p></p>

<p class=3DMsoNormal>All volumes are accessible via their mount =
points.<o:p></o:p></p>

<p class=3DMsoNormal><o:p>&nbsp;</o:p></p>

<p class=3DMsoNormal>Any ideas on how to remedy the vldb discrepancy? =
&nbsp;&nbsp;<o:p></o:p></p>

<p class=3DMsoNormal><o:p>&nbsp;</o:p></p>

<p class=3DMsoNormal>Thanks,<o:p></o:p></p>

<p class=3DMsoNormal>-Jeff Quinn<o:p></o:p></p>

</div>

</body>

</html>

------=_NextPart_000_0015_01C89A32.2793D060--