[p4] db.label and p4d verify -xv.

Dan Bloch 6.02e23 at gmail.com
Wed Jan 31 10:37:45 PST 2007


Hi, Raghu-

- I had around 2000 labels in my depot and the db.label file size was
> around 18GB. Now I have deleted around 800 labels from it; but the
> db.label file still shows me the same size. Why is it that the size of
> db.label file remains the same?


Perforce doesn't recover free space until you rebuild the database from a
checkpoint.

- If I run p4d verify -xv command will it lock the perforce DB?


Yes.

- Is it safe to run p4d verify -xv -xr (repair)? I think my db.have file
> is corrupted. I get the db.have file corrupt error when I try to
> obliterate a file.


This would be a really bad idea.  As the documentation says, "Use only as a
last resort if checkpoint and journal are not available."  If you think your
database is corrupt, call Perforce Product Support.

Good luck,
Dan


More information about the perforce-user mailing list