I have run out of storage on my AWS cloud that is connected to perforce. I am trying to find out what is taking up space since my project is 78GB and is taking up 180GB of space. After obliterating my project entirely on Perforce I am faced with 100GB+ of storage space being consumed with unknown files. The empty depot itself can’t be deleted due to this error: Depot TrailOfTheUndead isn't empty of archive contents. One or more files are still present in the depot directory. Other depots may have branched or integrated from files in this depot. Break those linkages with 'p4 snap' and/or remove references from other depots with 'p4 obliterate' first. Next, remove all non-Perforce files from the depot prior to depot deletion. Once all references have been removed, either remove any remaining physical files and directories from the depot directory and retry the operation, or specify '-f' to bypass this check and delete the depot.
How can I find out what these files are and how to delete them?
Can you clarify a little more about your setup? Do you mean that you have a Perforce server setup on AWS, like using the Enhanced Studio Pack or a standard linux install?
As for why the sizes wouldn’t match, that is probably because you’ve submitted multiple versions of your project files. Any version control system is going to store a copy of every version of every file you’ve submitted so you can go back to any point in history. So depending on how many versions of different files you have submitted that is most likely what is taking up your space. If that’s not the case, then something else has gone wrong with the server setup.
If you truly want to obliterate everything and start over, you could go into the server itself via the terminal and manually delete everything out of the depot storage. It’s not the nicest or cleanest way and I don’t recommend it but since you’ve already obliterated your entire project, it might be an ok solution for you.
If your server is an Enhanced Studio Pack installation then the depot files themselves are stored at /p4/1/depots/
in individual folders for each depot on your server.