I ran out of disk space on my mongo database. I saw it and dropped some collections (120 out of 1700 i had). And
ran db.compact(...) thinking it would release free space. well, that was a stupid idea.
Anyway, the database is around 800GB, and I dont have any space (~5GB) in the current disk. I symlinked a folder from another disk that has around 35GB and tried
mongod --repair --repairpath ...), but that failed too saying not enough space. What else can I do? short of getting another 1TB HDD?
Why is even 35GB not enough? Since I dropped the collections, I know I should get another ~50GB free after the repair. Is that going to be enough?
The partition I use for data would have around ~800GB for mongo. How much free space should I ideally have?
Mongo says I need working set+2GB free space. But no queries are running and mongod stopped. So I'm not sure why 35GB is not enough.