Question

Cannot run apt-get upgrade due to disk space

Posted December 4, 2021 156 views
Linux BasicsDigitalOcean VolumesDigitalOcean Droplets

Hello all
Very inexperienced in server administration. I have a droplet with 60GB of disk space and an attached volume with an extra 500GB to store the Bitcoin blockchain. If I now try to run sudo apt-get upgrade it complains that I have used all my disk space.

I ran df -h which shows me that my droplet space is all used up but I have over 400GB left on the volume (the blockchain hasn’t fully synced yet).

Did I supposed to install the blockchain on the volume specifically and preserve the droplet storage so I can update packages etc? I just assumed a volume would increase the total storage space and then not need to concern myself with it.

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.

×
Submit an Answer
1 answer

Hi there,

Could you share the output of the df -h command here?

You might have to clear up some space from your / root partition in order to be able to complete the upgrade.

Here is a guide on how to find the directories that are using the most disk space:

https://www.digitalocean.com/community/questions/28-no-space-left-on-device-error

Regards,
Bobby