Question

Cannot run apt-get upgrade due to disk space

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.


Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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