[OpenAFS] Possible vos bug still in 1.6.0pre3?

Derrick Brashear shadow@gmail.com
Wed, 16 Mar 2011 01:49:35 -0400


On Wed, Mar 16, 2011 at 1:44 AM, Ryan C. Underwood
<nemesis-lists@icequake.net> wrote:
>
> Thought I saw that this one was fixed a while back. =A0And what's with th=
e
> invalid server ip in vldb_check that comes up in the vos examine output?
>
> adm_backup was the original volume that I vos rename'd to
> adm_clientbackup under pre2, but I never really checked if it was
> working at the time...
>
> # vldb_check -server /var/lib/openafs/db/vldb.DB0
> Header's maximum volume id is 536871302 and largest id found in VLDB is 5=
36871298
> MH block 0, index 1: 10.0.1.230 65.38.17.159
> MH block 0, index 2: 10.0.1.232 65.38.17.158
> MH block 0, index 3: 10.0.1.233 65.38.17.160
> =A0 Server ip addr 0 =3D MH block 0, index 1
> =A0 Server ip addr 1 =3D MH block 0, index 2
> =A0 Server ip addr 2 =3D 10.0.1.234
> =A0 Server ip addr 3 =3D MH block 0, index 3
> =A0 Server ip addr 4 =3D 127.0.1.1
> =A0 Server ip addr 5 =3D 0.0.0.2

which is the problem.... but is a legit ip.

> Scanning 1029 entries for possible repairs
>
> # fs lsm *
> 'client' is a mount point for volume '#adm_clientbackup'
> 'host' is a mount point for volume '#adm_hostbackup'
> 'host.new' is not a mount point.
> 'host.old' is a mount point for volume '#adm_hostoldbackup'
> 'iqrouter' is not a mount point.
> 'log' is not a mount point.
> 'mail' is not a mount point.
> 'oldbackups' is a mount point for volume '#adm_backup'
> 'scripts' is not a mount point.
>
> # vos exa adm_backup
> VLDB: no such entry
>
> # vos exa adm_clientbackup

if the address is already in the vldb, this vos can't magically guess
what you're after.

> rx failed to send packet: rx_sendmsg: Invalid argument

because there's no 0.0.0.2

>
> adm_clientbackup
> =A0 =A0RWrite: 536871269
> =A0 =A0number of sites -> 1
> =A0 =A0 =A0 server 0.0.0.2 partition /vicepb RW Site

and that's really what's in the database.

vos is telling you what it got as a reply. it's not helpful, but it's there=
.


--=20
Derrick