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

Albrecht, Matt matt.albrecht at zilliant.com
Wed Jan 31 07:59:15 PST 2007


> - 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.

If you get this kind of error, you should contact Perforce support
immediately.  They will help you through recovering from this kind of
error.


> - 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?

Though I'm no expert, I imagine that this is due to the database not
being compressed on deletion.  If you make a checkpoint then restore
from it, you should see this reduce in size.

However, I would go about resolving the corruption error before trying
to minimize disk space.

-Matt

> -----Original Message-----
> From: perforce-user-bounces at perforce.com 
> [mailto:perforce-user-bounces at perforce.com] On Behalf Of Raghu Kumar C
> Sent: Wednesday, January 31, 2007 6:49 AM
> To: perforce-user at perforce.com
> Subject: [p4] db.label and p4d verify -xv.
> Importance: High
> 
> Hi All,
> 
> 	I have three doubts. It would be nice if someone could answer
> this.
> 
> - 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?
> 
> - If I run p4d verify -xv command will it lock the perforce DB?
> 
> - 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.
> 
> 	Thanking you in advance for your time and effort.
> 
> Thank you,
> Raghu
> 
> _______________________________________________
> perforce-user mailing list  -  perforce-user at perforce.com
> http://maillist.perforce.com/mailman/listinfo/perforce-user
> 



More information about the perforce-user mailing list