By Enes GENÇ
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?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
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
Hello all,
It does seem like you don’t have enough space on your Volume. You can check that by typing:
- df -h
The output would look something like this:
Filesystem Size Used Avail Use% Mounted on
udev 2.0G 0 2.0G 0% /dev
tmpfs 395M 1.8M 393M 1% /run
/dev/vda1 25G 20G 4.4G 82% /
In my case I am using 20G out of 25GB available for my root partition. Basically, the df command reports the file system disk space usage.
df -i
sudo find / -type f -size +500M -exec ls -lh {} \;
Depending on the size of your disk, the command might take a while to complete. You can then go ahead and delete any of the large files that you do not need.
du command which estimates the file space usage:du -h --max-depth=1 /
For example:
root@test-droplet:~$ cd /home/
root@test-droplet:/home$ du -h --max-depth=1
16K ./testuser
28K ./user
16K ./root
1.8G ./user2
5.0G ./test-droplet
7.1G .
Then we can cd into the largest folder and run the command again:
root@test-droplet:/home$ cd test-droplet/
root@test-droplet:/home/test-droplet$ du -h --max-depth=1
76K ./.npm
4.0K ./script
5.0G ./public_html
12K ./.ssh
5.0G .
We would need to do that a few more times until we get to the folder that is using those 5GB.
Note: if you have a database service like MySQL, make sure Not to delete any files manually from the MySQL folder. This would cause issues with your database.
If you are unable to clear any disk space I would recommend upgrading your Droplet.
Lastly, I believe in your case it can be due to high inode usage so do not forget to check the df -i command.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.