[p4] Separating depot from DB's
Benjamin Nias
ben.nias at rocksteadyltd.com
Fri May 4 04:30:34 PDT 2007
Hi all,
I have a P4 server running Server 2003 with an attached RAID Array for
the depot. Currently P4ROOT set to E:\P4 (a logical drive on the RAID).
I have a separate logical drive on a directly attached RAID (D:\) that
has 10K drives. I wish to run P4 so that our depot lives in it's current
location on E:\P4 but the .db's are held on D:\.
I tried to do this this morning with the following:
E:\P4> p4d -jc
E:\P4> p4 set -s P4ROOT="D:\"
E:\P4> p4 admin stop
E:\P4> p4d -r d:\ -jr checkpoint.xxx journal.xxx-1
This produces and error of "journal is out of sequence". I've doubled
checked this and the checkpoint and journal files specified are indeed
in sequence and the ones just generated by my -jc command.
Then, when restarting the server I get
Connect to server failed; check $P4PORT.
TCP connect to 1666 failed.
connect: 1666: WSAECONNREFUSED
When this failed I decided to set the root back to the original folder
so my users could continue whilst I made this post. However when
invoking -jr to the original location, I got the same error. I then
copied back the backed up .db's from before my checkpoint and all worked
fine.
My questions are:
Am I making the right steps to make the migration work?
Am I being thrown off by a possible corrupted journal file as the -jr
didn't work even when P4ROOT was set to the original location?
Cheers,
Benjamin Nias
Systems Administrator
Rocksteady Studios Limited
http://www.rocksteadyltd.com <http://www.rocksteadyltd.com/>
desk +44 (0)20 7284 3100
fax +44 (0)20 7284 3100
mobile +44 (0)7711 554407
The information contained in, or attached to, this e-mail, may contain
confidential information and is intended solely for the use of the
individual or entity to whom they are addressed and may be subject to
legal privilege. If you have received this e-mail in error you should
notify the sender immediately by reply e-mail, delete the message from
your system and notify your system manager. Please do not copy it for
any purpose, or disclose its contents to any other person. The views or
opinions presented in this e-mail are solely those of the author and do
not necessarily represent those of the company. The recipient should
check this e-mail and any attachments for the presence of viruses. The
company accepts no liability for any damage caused, directly or
indirectly, by any virus transmitted in this email. Rocksteady Studios
Limited is a company registered in England and Wales with company number
5280625 at 7-8 Eghams Court, Boston Drive, Bourne End, Buckinghamshire,
SL8 5YS. Our postal address is Unit 601 Highgate Studios, 53-79 Highgate
Road, London, NW5 1TL.
More information about the perforce-user
mailing list