By Liam
If a volume is mounted to a Droplet, and the Droplet is on, I can check how much space is used using the df command. But if the Droplet is off, or experiencing some issue that prevents me from logging in and running df, is there some other way to check how much space is used? The API only seems to show the total size of the Volume.
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!
Hello, @liam6dad4cf30a30137e21e9bc If the droplet is offline, then you can use the VNC console in order to access the droplet and check the disk space usage.
If you want to monitor the disk space usage on your droplet you can setup a cron job to send you an email if the disk usage goes above x%
Let me know if you have any questions.
Run df -h without any other arguments. That should output space usage details for all available filesystems.
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.