MongoDB + DO's Volume = Data lost, Anyone have experienced on this?

Posted December 15, 2021 156 views
MongoDBDigitalOcean VolumesDigitalOcean Droplets

I’m placing the dbpath of Mongodb inside the mounted volume in a droplet.

My dataset size at a time snapshot is 95GB.

I’ve resized the volume from 100GB to 200GB

Then resize the partition following this guilde

After resize it worked… For a while.

But at some point, After I simultaneously insert >50GB within a couple of hours, The whole data was lost, and free space get back to 100% which is 200GB…

Anyone has encountered this situation?

This happened to me seconds time in a day.

I’m not even sure if this is the issue with DO volume or MongoDB.

This is very frustrating. I feel so lucky this is not the production server but feel unable to trust… I don’t know DO or Mongo..

Submit an answer

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!