[OpenAFS] Serious trouble, mounting /afs, ptserver, database rebuilding

Steven Jenkins steven.jenkins@gmail.com
Wed, 23 Jul 2008 11:56:13 -0400

On Wed, Jul 23, 2008 at 11:46 AM, kanou <kanou@gmx.ch> wrote:
> Thanks for your answer.
> Well I found the file prdb_check. It doesnt print any errors. Only thing I
> can find is with
> ./prdb_check -database /var/lib/openafs/db/prdb.DB0 -uheader -verbose
> this line:
> Ubik header size is 0 (should be 64)

That error message isn't necessarily a problem.  However, you should
get output like:

Ubik Header
   Magic           = 0x354545
   Size            = 0
   Version.epoch   = 1194566044
   Version.counter = 13041
Ubik header size is 0 (should be 64)
Database has 2384 entries

Additionally, you should see a messages about

Checking name hash table

Checking id hash table

Checking entry chains

Checking free list

Checking orphans list

Checking for unreferenced entries

Additionally, if you run with the -entries option specified, it will
dump out your database.  You can then use that to re-create your
contents.  Some scripting of that output would be required.

Steven Jenkins
End Point Corporation