[OpenAFS] Can't move a volume / confused VLDB?

Alexander Lazarević alexander@lazarevic.de
Fri, 20 Jan 2012 12:22:53 +0100


--bcaec54c518a327c9904b6f3e89f
Content-Type: text/plain; charset=UTF-8

Hi!

I was trying to move a volume to another fileserver, when I found out, that
my vldb seems to be confused.
What is about these orphaned volumes and why are there duplicate site
entries in root.afs and root.cell?
I appreciate any help on this.

Alex

smith@hostAAAA:~$ vos syncvldb HOSTbbbb
VLDB synchronized with state of server HOSTbbbb

smith@hostAAAA:~$ vos syncvldb -verbose hostAAAA

[...]
---------------------------------------------------------------------------

Processing volume entry 4: some.vol (536871004) on server
hostAAAA.mydomain.com /vicepa...
*** Warning: Orphaned RW volume 536871004 exists on hostAAAA.mydomain.com/vicepa
    VLDB reports RW volume 536871004 exists on hostAAAA.mydomain.com /vicepa
_______________________________

-- status before --

some.vol
    RWrite: 536871004     ROnly: 536871005
   number of sites -> 2
       server hostAAAA.mydomain.com partition /vicepa RW Site
      server HOSTbbbb.mydomain.com partition /vicepa RO Site

-- status after --

**no change**

_______________________________
...done entry 4

[...]
---------------------------------------------------------------------------

Processing volume entry 21: root.cell (536870915) on server
hostAAAA.mydomain.com /vicepa...
*** Warning: Orphaned RW volume 536870915 exists on hostAAAA.mydomain.com/vicepa
    VLDB reports RW volume 536870915 exists on hostAAAA.mydomain.com /vicepa
_______________________________

-- status before --

root.cell
    RWrite: 536870915     ROnly: 536870916
   number of sites -> 4
       server hostAAAA.mydomain.com partition /vicepa RW Site
      server hostAAAA.mydomain.com partition /vicepa RO Site
       server HOSTbbbb.mydomain.com partition /vicepa RO Site
      server hostAAAA.mydomain.com partition /vicepa RO Site

-- status after --

**no change**

_______________________________
...done entry 21

Processing volume entry 22: root.cell.readonly (536870916) on server
hostAAAA.mydomain.com /vicepa...
_______________________________

-- status before --

root.cell
   RWrite: 536870915     ROnly: 536870916
    number of sites -> 4
      server hostAAAA.mydomain.com partition /vicepa RW Site
       server hostAAAA.mydomain.com partition /vicepa RO Site
      server HOSTbbbb.mydomain.com partition /vicepa RO Site
       server hostAAAA.mydomain.com partition /vicepa RO Site

-- status after --

**no change**

_______________________________
...done entry 22

Processing volume entry 23: root.afs (536870912) on server
hostAAAA.mydomain.com /vicepa...
*** Warning: Orphaned RW volume 536870912 exists on hostAAAA.mydomain.com/vicepa
    VLDB reports RW volume 536870912 exists on hostAAAA.mydomain.com /vicepa
_______________________________

-- status before --

root.afs
    RWrite: 536870912     ROnly: 536870913
   number of sites -> 4
       server hostAAAA.mydomain.com partition /vicepa RW Site
      server hostAAAA.mydomain.com partition /vicepa RO Site
       server HOSTbbbb.mydomain.com partition /vicepa RO Site
      server hostAAAA.mydomain.com partition /vicepa RO Site

-- status after --

**no change**

_______________________________
...done entry 23

Processing volume entry 24: root.afs.readonly (536870913) on server
hostAAAA.mydomain.com /vicepa...
_______________________________

-- status before --

root.afs
   RWrite: 536870912     ROnly: 536870913
    number of sites -> 4
      server hostAAAA.mydomain.com partition /vicepa RW Site
       server hostAAAA.mydomain.com partition /vicepa RO Site
      server HOSTbbbb.mydomain.com partition /vicepa RO Site
       server hostAAAA.mydomain.com partition /vicepa RO Site

-- status after --

**no change**

_______________________________
...done entry 24

Total entries: 24, Failed to process 0, Changed 0
VLDB synchronized with state of server hostAAAA

smith@hostAAAA:~$ vos move -v some.vol hostAAAA vicepa HOSTbbbb vicepa
The volume 536871004 is not on the specified site.
The current site is : server hostAAAA.mydomain.com partition /vicepa
Error in vos move command.
VOLSER: volume has moved

--bcaec54c518a327c9904b6f3e89f
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Hi!<br><br>I was trying to move a volume to another fileserver, when I foun=
d out, that my vldb seems to be confused.<br>What is about these orphaned v=
olumes and why are there duplicate site entries in root.afs and root.cell?<=
br>

I appreciate any help on this.<br><br>Alex <br><br><span style=3D"font-fami=
ly:courier new,monospace">smith@hostAAAA:~$ vos syncvldb HOSTbbbb</span><br=
 style=3D"font-family:courier new,monospace"><span style=3D"font-family:cou=
rier new,monospace">VLDB synchronized with state of server HOSTbbbb</span><=
br style=3D"font-family:courier new,monospace">

<br style=3D"font-family:courier new,monospace"><span style=3D"font-family:=
courier new,monospace">smith@hostAAAA:~$ vos syncvldb -verbose hostAAAA</sp=
an><br style=3D"font-family:courier new,monospace"><br style=3D"font-family=
:courier new,monospace">

<span style=3D"font-family:courier new,monospace">[...] -------------------=
--------------------------------------------------------</span><br style=3D=
"font-family:courier new,monospace"><br style=3D"font-family:courier new,mo=
nospace">

<span style=3D"font-family:courier new,monospace">Processing volume entry 4=
: some.vol (536871004) on server <a href=3D"http://hostAAAA.mydomain.com">h=
ostAAAA.mydomain.com</a> /vicepa...</span><br style=3D"font-family:courier =
new,monospace">

<span style=3D"font-family:courier new,monospace">*** Warning: Orphaned RW =
volume 536871004 exists on <a href=3D"http://hostAAAA.mydomain.com">hostAAA=
A.mydomain.com</a> /vicepa</span><br style=3D"font-family:courier new,monos=
pace">

<span style=3D"font-family:courier new,monospace"> =C2=A0 =C2=A0VLDB report=
s RW volume 536871004 exists on <a href=3D"http://hostAAAA.mydomain.com">ho=
stAAAA.mydomain.com</a> /vicepa</span><br style=3D"font-family:courier new,=
monospace">
<span style=3D"font-family:courier new,monospace">_________________________=
______</span><br style=3D"font-family:courier new,monospace">
<br style=3D"font-family:courier new,monospace"><span style=3D"font-family:=
courier new,monospace">-- status before -- </span><br style=3D"font-family:=
courier new,monospace"><br style=3D"font-family:courier new,monospace"><spa=
n style=3D"font-family:courier new,monospace">some.vol </span><br style=3D"=
font-family:courier new,monospace">

<span style=3D"font-family:courier new,monospace"> =C2=A0 =C2=A0RWrite: 536=
871004 =C2=A0 =C2=A0 ROnly: 536871005 </span><br style=3D"font-family:couri=
er new,monospace"><span style=3D"font-family:courier new,monospace"> =C2=A0=
 =C2=A0number of sites -&gt; 2</span><br style=3D"font-family:courier new,m=
onospace">

<span style=3D"font-family:courier new,monospace"> =C2=A0 =C2=A0 =C2=A0 ser=
ver <a href=3D"http://hostAAAA.mydomain.com">hostAAAA.mydomain.com</a> part=
ition /vicepa RW Site </span><br style=3D"font-family:courier new,monospace=
"><span style=3D"font-family:courier new,monospace"> =C2=A0 =C2=A0 =C2=A0 s=
erver <a href=3D"http://HOSTbbbb.mydomain.com">HOSTbbbb.mydomain.com</a> pa=
rtition /vicepa RO Site </span><br style=3D"font-family:courier new,monospa=
ce">

<br style=3D"font-family:courier new,monospace"><span style=3D"font-family:=
courier new,monospace">-- status after --</span><br style=3D"font-family:co=
urier new,monospace"><br style=3D"font-family:courier new,monospace"><span =
style=3D"font-family:courier new,monospace">**no change**</span><br style=
=3D"font-family:courier new,monospace">

<br style=3D"font-family:courier new,monospace"><span style=3D"font-family:=
courier new,monospace">_______________________________</span><br style=3D"f=
ont-family:courier new,monospace"><span style=3D"font-family:courier new,mo=
nospace">...done entry 4</span><br style=3D"font-family:courier new,monospa=
ce">

<br style=3D"font-family:courier new,monospace"><span style=3D"font-family:=
courier new,monospace">[...] ----------------------------------------------=
-----------------------------</span><br style=3D"font-family:courier new,mo=
nospace">

<br style=3D"font-family:courier new,monospace"><span style=3D"font-family:=
courier new,monospace">Processing volume entry 21: root.cell (536870915) on=
 server <a href=3D"http://hostAAAA.mydomain.com">hostAAAA.mydomain.com</a> =
/vicepa...</span><br style=3D"font-family:courier new,monospace">

<span style=3D"font-family:courier new,monospace">*** Warning: Orphaned RW =
volume 536870915 exists on <a href=3D"http://hostAAAA.mydomain.com">hostAAA=
A.mydomain.com</a> /vicepa</span><br style=3D"font-family:courier new,monos=
pace">

<span style=3D"font-family:courier new,monospace"> =C2=A0 =C2=A0VLDB report=
s RW volume 536870915 exists on <a href=3D"http://hostAAAA.mydomain.com">ho=
stAAAA.mydomain.com</a> /vicepa</span><br style=3D"font-family:courier new,=
monospace">
<span style=3D"font-family:courier new,monospace">_________________________=
______</span><br style=3D"font-family:courier new,monospace">
<br style=3D"font-family:courier new,monospace"><span style=3D"font-family:=
courier new,monospace">-- status before -- </span><br style=3D"font-family:=
courier new,monospace"><br style=3D"font-family:courier new,monospace"><spa=
n style=3D"font-family:courier new,monospace">root.cell </span><br style=3D=
"font-family:courier new,monospace">

<span style=3D"font-family:courier new,monospace"> =C2=A0 =C2=A0RWrite: 536=
870915 =C2=A0 =C2=A0 ROnly: 536870916 </span><br style=3D"font-family:couri=
er new,monospace"><span style=3D"font-family:courier new,monospace"> =C2=A0=
 =C2=A0number of sites -&gt; 4</span><br style=3D"font-family:courier new,m=
onospace">

<span style=3D"font-family:courier new,monospace"> =C2=A0 =C2=A0 =C2=A0 ser=
ver <a href=3D"http://hostAAAA.mydomain.com">hostAAAA.mydomain.com</a> part=
ition /vicepa RW Site </span><br style=3D"font-family:courier new,monospace=
"><span style=3D"font-family:courier new,monospace"> =C2=A0 =C2=A0 =C2=A0 s=
erver <a href=3D"http://hostAAAA.mydomain.com">hostAAAA.mydomain.com</a> pa=
rtition /vicepa RO Site </span><br style=3D"font-family:courier new,monospa=
ce">

<span style=3D"font-family:courier new,monospace"> =C2=A0 =C2=A0 =C2=A0 ser=
ver <a href=3D"http://HOSTbbbb.mydomain.com">HOSTbbbb.mydomain.com</a> part=
ition /vicepa RO Site </span><br style=3D"font-family:courier new,monospace=
"><span style=3D"font-family:courier new,monospace"> =C2=A0 =C2=A0 =C2=A0 s=
erver <a href=3D"http://hostAAAA.mydomain.com">hostAAAA.mydomain.com</a> pa=
rtition /vicepa RO Site </span><br style=3D"font-family:courier new,monospa=
ce">

<br style=3D"font-family:courier new,monospace"><span style=3D"font-family:=
courier new,monospace">-- status after --</span><br style=3D"font-family:co=
urier new,monospace"><br style=3D"font-family:courier new,monospace"><span =
style=3D"font-family:courier new,monospace">**no change**</span><br style=
=3D"font-family:courier new,monospace">

<br style=3D"font-family:courier new,monospace"><span style=3D"font-family:=
courier new,monospace">_______________________________</span><br style=3D"f=
ont-family:courier new,monospace"><span style=3D"font-family:courier new,mo=
nospace">...done entry 21</span><br style=3D"font-family:courier new,monosp=
ace">

<br style=3D"font-family:courier new,monospace"><span style=3D"font-family:=
courier new,monospace">Processing volume entry 22: root.cell.readonly (5368=
70916) on server <a href=3D"http://hostAAAA.mydomain.com">hostAAAA.mydomain=
.com</a> /vicepa...</span><br style=3D"font-family:courier new,monospace">

<span style=3D"font-family:courier new,monospace">_________________________=
______</span><br style=3D"font-family:courier new,monospace"><br style=3D"f=
ont-family:courier new,monospace"><span style=3D"font-family:courier new,mo=
nospace">-- status before -- </span><br style=3D"font-family:courier new,mo=
nospace">

<br style=3D"font-family:courier new,monospace"><span style=3D"font-family:=
courier new,monospace">root.cell </span><br style=3D"font-family:courier ne=
w,monospace"><span style=3D"font-family:courier new,monospace"> =C2=A0 =C2=
=A0RWrite: 536870915 =C2=A0 =C2=A0 ROnly: 536870916 </span><br style=3D"fon=
t-family:courier new,monospace">

<span style=3D"font-family:courier new,monospace"> =C2=A0 =C2=A0number of s=
ites -&gt; 4</span><br style=3D"font-family:courier new,monospace"><span st=
yle=3D"font-family:courier new,monospace"> =C2=A0 =C2=A0 =C2=A0 server <a h=
ref=3D"http://hostAAAA.mydomain.com">hostAAAA.mydomain.com</a> partition /v=
icepa RW Site </span><br style=3D"font-family:courier new,monospace">

<span style=3D"font-family:courier new,monospace"> =C2=A0 =C2=A0 =C2=A0 ser=
ver <a href=3D"http://hostAAAA.mydomain.com">hostAAAA.mydomain.com</a> part=
ition /vicepa RO Site </span><br style=3D"font-family:courier new,monospace=
"><span style=3D"font-family:courier new,monospace"> =C2=A0 =C2=A0 =C2=A0 s=
erver <a href=3D"http://HOSTbbbb.mydomain.com">HOSTbbbb.mydomain.com</a> pa=
rtition /vicepa RO Site </span><br style=3D"font-family:courier new,monospa=
ce">

<span style=3D"font-family:courier new,monospace"> =C2=A0 =C2=A0 =C2=A0 ser=
ver <a href=3D"http://hostAAAA.mydomain.com">hostAAAA.mydomain.com</a> part=
ition /vicepa RO Site </span><br style=3D"font-family:courier new,monospace=
"><br style=3D"font-family:courier new,monospace">

<span style=3D"font-family:courier new,monospace">-- status after --</span>=
<br style=3D"font-family:courier new,monospace"><br style=3D"font-family:co=
urier new,monospace"><span style=3D"font-family:courier new,monospace">**no=
 change**</span><br style=3D"font-family:courier new,monospace">

<br style=3D"font-family:courier new,monospace"><span style=3D"font-family:=
courier new,monospace">_______________________________</span><br style=3D"f=
ont-family:courier new,monospace"><span style=3D"font-family:courier new,mo=
nospace">...done entry 22</span><br style=3D"font-family:courier new,monosp=
ace">

<br style=3D"font-family:courier new,monospace"><span style=3D"font-family:=
courier new,monospace">Processing volume entry 23: root.afs (536870912) on =
server <a href=3D"http://hostAAAA.mydomain.com">hostAAAA.mydomain.com</a> /=
vicepa...</span><br style=3D"font-family:courier new,monospace">

<span style=3D"font-family:courier new,monospace">*** Warning: Orphaned RW =
volume 536870912 exists on <a href=3D"http://hostAAAA.mydomain.com">hostAAA=
A.mydomain.com</a> /vicepa</span><br style=3D"font-family:courier new,monos=
pace">

<span style=3D"font-family:courier new,monospace"> =C2=A0 =C2=A0VLDB report=
s RW volume 536870912 exists on <a href=3D"http://hostAAAA.mydomain.com">ho=
stAAAA.mydomain.com</a> /vicepa</span><br style=3D"font-family:courier new,=
monospace">
<span style=3D"font-family:courier new,monospace">_________________________=
______</span><br style=3D"font-family:courier new,monospace">
<br style=3D"font-family:courier new,monospace"><span style=3D"font-family:=
courier new,monospace">-- status before -- </span><br style=3D"font-family:=
courier new,monospace"><br style=3D"font-family:courier new,monospace"><spa=
n style=3D"font-family:courier new,monospace">root.afs </span><br style=3D"=
font-family:courier new,monospace">

<span style=3D"font-family:courier new,monospace"> =C2=A0 =C2=A0RWrite: 536=
870912 =C2=A0 =C2=A0 ROnly: 536870913 </span><br style=3D"font-family:couri=
er new,monospace"><span style=3D"font-family:courier new,monospace"> =C2=A0=
 =C2=A0number of sites -&gt; 4</span><br style=3D"font-family:courier new,m=
onospace">

<span style=3D"font-family:courier new,monospace"> =C2=A0 =C2=A0 =C2=A0 ser=
ver <a href=3D"http://hostAAAA.mydomain.com">hostAAAA.mydomain.com</a> part=
ition /vicepa RW Site </span><br style=3D"font-family:courier new,monospace=
"><span style=3D"font-family:courier new,monospace"> =C2=A0 =C2=A0 =C2=A0 s=
erver <a href=3D"http://hostAAAA.mydomain.com">hostAAAA.mydomain.com</a> pa=
rtition /vicepa RO Site </span><br style=3D"font-family:courier new,monospa=
ce">

<span style=3D"font-family:courier new,monospace"> =C2=A0 =C2=A0 =C2=A0 ser=
ver <a href=3D"http://HOSTbbbb.mydomain.com">HOSTbbbb.mydomain.com</a> part=
ition /vicepa RO Site </span><br style=3D"font-family:courier new,monospace=
"><span style=3D"font-family:courier new,monospace"> =C2=A0 =C2=A0 =C2=A0 s=
erver <a href=3D"http://hostAAAA.mydomain.com">hostAAAA.mydomain.com</a> pa=
rtition /vicepa RO Site </span><br style=3D"font-family:courier new,monospa=
ce">

<br style=3D"font-family:courier new,monospace"><span style=3D"font-family:=
courier new,monospace">-- status after --</span><br style=3D"font-family:co=
urier new,monospace"><br style=3D"font-family:courier new,monospace"><span =
style=3D"font-family:courier new,monospace">**no change**</span><br style=
=3D"font-family:courier new,monospace">

<br style=3D"font-family:courier new,monospace"><span style=3D"font-family:=
courier new,monospace">_______________________________</span><br style=3D"f=
ont-family:courier new,monospace"><span style=3D"font-family:courier new,mo=
nospace">...done entry 23</span><br style=3D"font-family:courier new,monosp=
ace">

<br style=3D"font-family:courier new,monospace"><span style=3D"font-family:=
courier new,monospace">Processing volume entry 24: root.afs.readonly (53687=
0913) on server <a href=3D"http://hostAAAA.mydomain.com">hostAAAA.mydomain.=
com</a> /vicepa...</span><br style=3D"font-family:courier new,monospace">

<span style=3D"font-family:courier new,monospace">_________________________=
______</span><br style=3D"font-family:courier new,monospace"><br style=3D"f=
ont-family:courier new,monospace"><span style=3D"font-family:courier new,mo=
nospace">-- status before -- </span><br style=3D"font-family:courier new,mo=
nospace">

<br style=3D"font-family:courier new,monospace"><span style=3D"font-family:=
courier new,monospace">root.afs </span><br style=3D"font-family:courier new=
,monospace"><span style=3D"font-family:courier new,monospace"> =C2=A0 =C2=
=A0RWrite: 536870912 =C2=A0 =C2=A0 ROnly: 536870913 </span><br style=3D"fon=
t-family:courier new,monospace">

<span style=3D"font-family:courier new,monospace"> =C2=A0 =C2=A0number of s=
ites -&gt; 4</span><br style=3D"font-family:courier new,monospace"><span st=
yle=3D"font-family:courier new,monospace"> =C2=A0 =C2=A0 =C2=A0 server <a h=
ref=3D"http://hostAAAA.mydomain.com">hostAAAA.mydomain.com</a> partition /v=
icepa RW Site </span><br style=3D"font-family:courier new,monospace">

<span style=3D"font-family:courier new,monospace"> =C2=A0 =C2=A0 =C2=A0 ser=
ver <a href=3D"http://hostAAAA.mydomain.com">hostAAAA.mydomain.com</a> part=
ition /vicepa RO Site </span><br style=3D"font-family:courier new,monospace=
"><span style=3D"font-family:courier new,monospace"> =C2=A0 =C2=A0 =C2=A0 s=
erver <a href=3D"http://HOSTbbbb.mydomain.com">HOSTbbbb.mydomain.com</a> pa=
rtition /vicepa RO Site </span><br style=3D"font-family:courier new,monospa=
ce">

<span style=3D"font-family:courier new,monospace"> =C2=A0 =C2=A0 =C2=A0 ser=
ver <a href=3D"http://hostAAAA.mydomain.com">hostAAAA.mydomain.com</a> part=
ition /vicepa RO Site </span><br style=3D"font-family:courier new,monospace=
"><br style=3D"font-family:courier new,monospace">

<span style=3D"font-family:courier new,monospace">-- status after --</span>=
<br style=3D"font-family:courier new,monospace"><br style=3D"font-family:co=
urier new,monospace"><span style=3D"font-family:courier new,monospace">**no=
 change**</span><br style=3D"font-family:courier new,monospace">

<br style=3D"font-family:courier new,monospace"><span style=3D"font-family:=
courier new,monospace">_______________________________</span><br style=3D"f=
ont-family:courier new,monospace"><span style=3D"font-family:courier new,mo=
nospace">...done entry 24</span><br style=3D"font-family:courier new,monosp=
ace">

<br style=3D"font-family:courier new,monospace"><span style=3D"font-family:=
courier new,monospace">Total entries: 24, Failed to process 0, Changed 0</s=
pan><br style=3D"font-family:courier new,monospace"><span style=3D"font-fam=
ily:courier new,monospace">VLDB synchronized with state of server hostAAAA<=
/span><br style=3D"font-family:courier new,monospace">

<br style=3D"font-family:courier new,monospace"><span style=3D"font-family:=
courier new,monospace">smith@hostAAAA:~$ vos move -v some.vol hostAAAA vice=
pa HOSTbbbb vicepa</span><br style=3D"font-family:courier new,monospace"><s=
pan style=3D"font-family:courier new,monospace">The volume 536871004 is not=
 on the specified site.</span><br style=3D"font-family:courier new,monospac=
e">

<span style=3D"font-family:courier new,monospace">The current site is : ser=
ver <a href=3D"http://hostAAAA.mydomain.com">hostAAAA.mydomain.com</a> part=
ition /vicepa</span><br style=3D"font-family:courier new,monospace"><span s=
tyle=3D"font-family:courier new,monospace">Error in vos move command.</span=
><br style=3D"font-family:courier new,monospace">

<span style=3D"font-family:courier new,monospace">VOLSER: volume has moved<=
/span><br>

--bcaec54c518a327c9904b6f3e89f--