[OpenAFS] Strange vldb-entry

Jeffrey Hutzelman jhutz@cmu.edu
Mon, 24 Apr 2006 14:17:05 -0400


On Thursday, April 20, 2006 02:15:30 PM +0200 Chris Huebsch 
<chris.huebsch@informatik.tu-chemnitz.de> wrote:

> greping 536936854 in the output of vldb_check /usr/afs/db/vldb.DB0 gives
> this:
>
>| address 158812: vlentry ftp.debian
>|   rw id = 536936854 ; ro id = 536936855 ; bk id = 0
>|   flags         = rw ro
>
> and:
>
>| address 348400: vlentry
>|   rw id = 1 ; ro id = 0 ; bk id = 536936854
>|   flags         = bk
>| WARNING: VLDB entry '' has no RW volume

Cool.  It looks like you have a corrupted VLDB.  Particularly, you seem
to have a (bogus) entry which exists in one hash table but not the other. 
What happens if you run "vos listvl ''" ?

> how do i get rid of the entry 348400?

Good question.  The answer is probably that you need some sort of repair 
utility that can operate on the database directly to remove the bogus entry.

-- Jeffrey T. Hutzelman (N3NHS) <jhutz+@cmu.edu>
   Sr. Research Systems Programmer
   School of Computer Science - Research Computing Facility
   Carnegie Mellon University - Pittsburgh, PA