Re: [p4] Out of space - how to delete files or previous check-in

Matt Janulewicz <[email protected]>
Newsgroups gmane.comp.version-control.perforce
Message-ID <[email protected]>
Posted on behalf of forum user 'Matt Janulewicz'.

It probably goes without saying that if one submit pushed you over the limit,
don't forget to expand your storage for whatever volume ran out of space.
More tips:

Monitor (automate) volumes using 'p4 diskspace' when the server is
running again.

Empty space in the db takes up actual disk space until you compress/rebalance
the db by dumping a checkpoint and replaying it into a new copy of the db. Do
this once in a while (monthly, at least, if not weekly) to keep your db lean.
Don't forget to replay the live journal into it once you rebuild it and
restart the server. Read up on offline checkpoints.

Truncate your live journal often. Daily is a good pace for that. The last piece
of data you want corrupted is your live journal, in my opinion, assuming you
have a good, safely stored history of checkpoints and previously truncated
journals.

Certain processes create a lot of *.tmp files. You may be able to clean those
up, too, and gain some space.

After your cleanup is done, and at regular intervals, run a 'p4 verify
-q' on your entire server to verify your revisions/db. 'p4d -xv' is
not a terrible thing to run once in a while (weekly), either.



--
Please click here to see the post in its original format:
  http://forums.perforce.com/index.php?/topic/5599-out-of-space-how-to-delete-files-or-previous-check-in
_______________________________________________
perforce-user mailing list  -  [email protected]
http://maillist.perforce.com/mailman/listinfo/perforce-user
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.