Question

No Space Left on Device Digital Oceans

Posted March 15, 2018 4.5k views
DigitalOcean Ubuntu 16.04

Hi,

Cannot find what is filling up disk space /dev/vda1 is 100% full

console over:
df -i

/dev/vda1 1305600 1305600 0 100% /

how can i solve?

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

2 answers

The first place I’d suggest looking is in /var/log Old log files that have grown huge are often the culprit. Another option that might help you find out what is using up space is ncdu. It will visualize where the space is being used, and you can drill down into each folder.

If you are able to free up some space, you can install it with:

sudo apt-get install ncdu

I had the same issue. What I did to solve it was enter in my digital ocean server and remove the old builds generated. Like removing an simple container, like

sudo docker rm id-container OR name 

or

sudo docker container rm id-container or name

All that inside your server root@your-ip-domain

Submit an Answer