[OpenAFS] Inconsistent vldb

Love lha@stacken.kth.se
Wed, 09 Apr 2003 03:46:22 +0200


Bo Tretta <botretta@jpl.nasa.gov> writes:

> Hi All,
>
> In our test cell, I have a fileserver with thousands of test volumes
> that went south and is no longer available. This has left the vldb in an
> inconsistent state. With this fileserver down, I am unable to run vos
> syncserv or syncvldb to correct the entries in the vldb. 
> Is there an "AFS way" to remove these thousands of entries or am I going
> to have to write a script to clean up the vldb?

script

vos listvldb -server datan | awk ... > foo

cat foo | while read x ; do
	vos delentry $x
done

Love