Hello there, I’m using singlestore-labs/singlestoredb-dev-image for local development and after a few weeks of use I started getting errors concerning insufficient storage. This was odd to me since I hardly had any data in the database. I was not able to find a solution so I thought I would just delete the Docker volume and rebuild from scratch. Now that I’ve done that I cant even create databases at all. I’m getting the error: Query 1 ERROR at Line 4: : Not enough disk space to create or attach database wrmd on leaf 127.0.0.1:3307. Estimate Available 16009 MB, Estimate Needed 16237 MB.
Looking in the Docker logs, I can see this error: createDatabaseHelper: wrmd: db creation fails because 'MetadataManager::CreateDatabase' failed with error 5.
I’m at a loss as what to do. How can I clean the slate and begin working again? Also, what can I do in the future to prevent this from happening again?
Hey Devin,
It seems like your storage issue might be caused by leftover metadata or limited Docker disk space. To fix this, try removing the container and associated volumes, then rebuild everything from scratch. Make sure your Docker disk allocation is big enough, as it might be running out of space. In the future, regularly monitor disk usage with SingleStore’s tools and clean up unused databases or schemas to prevent this. Hope this helps! Let me know if you run into any other issues.
1 Like