[OpenAFS] Volume off-line after DB upgrade and VLDB lists wrong location
Brandon Allbery
allbery.b@gmail.com
Sun, 25 Nov 2012 09:49:47 -0500
--20cf300fb4cda352a804cf52ed3e
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
On Sun, Nov 25, 2012 at 2:10 AM, Staffan H=C3=A4m=C3=A4l=C3=A4 <sh@ltu.se> =
wrote:
> I happened to have a record of the location of the volume, where I saw
> that the volume used to be in partition a, not c.
>
> On the file server, I've checked:
> $ ls -l /vicepc/*537689471*
> -rw-r--r-- 1 root root 76 21 okt 19.19 /vicepc/V0537689471.vol
> $ ls -l /vicepa/*537689471*
> -rw-r--r-- 1 root root 76 21 okt 16.26 /vicepa/V0537689471.vol
>
This is a broken situation: you can have replicas of a volume on
different servers, but not on different partitions of the same server.
This is why you're getting the error messages you reported.
Figure out which one of these is the correct volume; then I think you "vos
zap" the other and then resync the VLDB.
FileLog on the server has these errors:
> Sat Nov 24 16:02:26 2012 Warning: Duplicate volume id 537689471 detected.
> Sat Nov 24 16:34:06 2012 Volume 537689471 offline: not in service
>
--=20
brandon s allbery kf8nh sine nomine associate=
s
allbery.b@gmail.com ballbery@sinenomine.ne=
t
unix/linux, openafs, kerberos, infrastructure http://sinenomine.ne=
t
--20cf300fb4cda352a804cf52ed3e
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr">On Sun, Nov 25, 2012 at 2:10 AM, Staffan H=C3=A4m=C3=A4l=
=C3=A4 <span dir=3D"ltr"><<a href=3D"mailto:sh@ltu.se" target=3D"_blank"=
>sh@ltu.se</a>></span> wrote:<br><div class=3D"gmail_quote"><blockquote =
class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid=
;padding-left:1ex">
<div id=3D":1k9">I happened to have a record of the location of the volume,=
where I saw that the volume used to be in partition a, not c.<br>
<br>
On the file server, I've checked:<br>
$ ls -l /vicepc/*537689471*<br>
-rw-r--r-- 1 root root 76 21 okt 19.19 /vicepc/V0537689471.vol<br>
$ ls -l /vicepa/*537689471*<br>
-rw-r--r-- 1 root root 76 21 okt 16.26 /vicepa/V0537689471.vol<br></div></b=
lockquote><div><br></div><div>This is a broken situation: =C2=A0 you can ha=
ve replicas of a volume on different servers, but not on different partitio=
ns of the same server. =C2=A0This is why you're getting the error messa=
ges you reported.</div>
<div><br></div><div>Figure out which one of these is the correct volume; th=
en I think you "vos zap" the other and then resync the VLDB.</div=
><div><br></div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8e=
x;border-left:1px #ccc solid;padding-left:1ex">
<div id=3D":1k9">FileLog on the server has these errors:<br>
Sat Nov 24 16:02:26 2012 Warning: Duplicate volume id 537689471 detected.<b=
r>
Sat Nov 24 16:34:06 2012 Volume 537689471 offline: not in service<br></div>=
</blockquote><div>=C2=A0</div></div>-- <br><div dir=3D"ltr"><div>brandon s =
allbery kf8nh =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 sine nomine associates</div><=
div>
<a href=3D"mailto:allbery.b@gmail.com" target=3D"_blank">allbery.b@gmail.co=
m</a> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0<a href=3D"mailto:ballbery=
@sinenomine.net" target=3D"_blank">ballbery@sinenomine.net</a></div><div>un=
ix/linux, openafs, kerberos, infrastructure =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0<a href=3D"http://sinenomine.net" target=3D"_blank">http://sinenomine.ne=
t</a></div>
</div><br>
</div>
--20cf300fb4cda352a804cf52ed3e--