I have run into a problem on a remote linux server running Ubuntu. I ran a computationally intensive process using MongoDB, and the Mongo records used up all of the hard drive space on the machine. I tried using db.dropDatabase(), but I got an error message. Someone advised me to uninstall MongoDB, but this did not work either, and now I cannot reinstall it, as there is not enough space left.
Is there a way I can manually delete the remaining mongo records? Thanks.