perforcededicated-server

How to move Perforce to a different Hard Drive/SSD on Linux server


I recently bought a dedicated server that has 2x480GB SSD. I installed Ubuntu1604-desktop_64 on it, then installed Perforce on it following Michael Allar's tutorial : https://youtu.be/5krob9SlVu4. Everything went well, I populated the server with my files with P4V, but was surprised to see that I apparently only have 20GB storage.

By using PuTTY, I connected to the server and with the df -h command, here's what it shows me : Server space

From what I see, the Perforce server is on /dev/md1, and only has 20GB of storage. It seems it would be way better to have it on /dev/md2, that has 399GB available. Is there a way that I can transfer the Perforce server/depot to that drive instead?

Thank you!


Solution

  • You will need to log in to the server and move the actual files, and let Perforce know where you moved them to. The two directories you might be concerned with are:

    Decide which of those you're moving, move it, and update the corresponding configuration (i.e. P4ROOT if you moved the server root, or the depot Map if you moved the depot).