Report this

What is the reason for this report?

How to resize dev/sda disk space?

Posted on September 6, 2021

My website is crashing with no free disk space error, running command df -h, I got this

Filesystem Size Used Available Use% Mounted on overlay 58.0G 54.0G 4.0G 93% / tmpfs 64.0M 0 64.0M 0% /dev tmpfs 996.7M 0 996.7M 0% /sys/fs/cgroup /dev/sda 19.7G 18.7G 1.4M 100% /code /dev/vda1 58.0G 54.0G 4.0G 93% /etc/resolv.conf /dev/vda1 58.0G 54.0G 4.0G 93% /etc/hostname /dev/vda1 58.0G 54.0G 4.0G 93% /etc/hosts shm 64.0M 0 64.0M 0% /dev/shm tmpfs 996.7M 0 996.7M 0% /proc/acpi tmpfs 64.0M 0 64.0M 0% /proc/kcore tmpfs 64.0M 0 64.0M 0% /proc/keys tmpfs 64.0M 0 64.0M 0% /proc/timer_list tmpfs 64.0M 0 64.0M 0% /proc/sched_debug tmpfs 996.7M 0 996.7M 0% /proc/scsi tmpfs 996.7M 0 996.7M 0% /sys/firmware

I need to resize /dev/sda? how to do this? Or Does upgrading droplet size will solve the issue?



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!

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.

Hi @DriftingAquamarineRay,

Upgrading your Droplet’s disk size should indeed solve this issue for you. Having said that, before trying to upgrade your Droplet, I’ll suggest creating a backup just in case something goes wrong.

You can check articles on how to do backups/snapshots and what’s their difference here:

Snapshots

https://docs.digitalocean.com/products/images/snapshots/

Backups

https://docs.digitalocean.com/products/images/backups/

And if you are uncertain how to upgrade your droplet, you can follow this documentation:

https://docs.digitalocean.com/products/droplets/how-to/resize/

Hope this helps!

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.