[OpenAFS] Re: ubik_cp success

Gémes Géza geza@kzsdabas.hu
Fri, 24 May 2013 20:55:17 +0200


Hi,
> On Fri, 24 May 2013 06:37:02 +0200
> Gémes Géza <geza@kzsdabas.hu> wrote:
>
>> I've successfully built ubik_cp, copied together with libafshcrypto
>> and librokenafs to the box I intend to do the backups and it has
> I could submit something based on 1.6, if you don't want to have to copy
> the additional libraries. I mean, it wouldn't go in a release or
> anything until well after it's accepted on master, but the code could be
> available that way. (librokenafs/libafshcrypto &co are something that's
> new for the "post-1.6" world)
I'm fine with those libraries under /usr/local/lib, but it could help 
other afs admins in backing up the ubik databases,
>
>> One question remains, what is the role of prdb.DBSYS1 and vldb.DBSYS1
>> files in the same directory as prdb.DB0 and vldb.DB0?
> Those are the database journals. When something changes in the database,
> the operations are logged to SYS1, then the actual changes are written
> to DB0, and then the SYS1 contents are deleted. The SYS1 files should
> only have anything in them transiently, as stuff is written to the
> database.
>
> For the "manual copying" procedure of backing up those databases, the
> journal files are required in case you copy the database as it's being
> written to.
>
Thank you for the explanation. Should then the SYS1 files be almost 0 
byte in size (mine are 64 bytes each, on every pt+vlserver)

Cheers

Geza Gemes