File system has run out of space, it says 0 space. How can I put it right? I can't watch my tutorial videos as they keep crashing, and same with Youtube. I'm not very savvy when it comes to a computer and haven't a clue what to do to put this right!

  • 2
    Please add the following results to your question (from the terminal): df -h and lsblk. – ajgringo619 Oct 28 '19 at 22:42
  • You didn't tell us what OS/release you are using, but Ubuntu recommends a minimum size of 25gb disk space being allocated (help.ubuntu.com/community/Installation/SystemRequirements) so possibly you allocated less than that (many users do, but they need to be careful with what they do with their system when they have less space) or you've added more software/files than your allocated space allows for (myself I treat 32gb as the minimum for what I use my system for). In my case I'd look where you saw the 0 & remove unnecessary files, or allocate more space but you weren't very specific. – guiverc Oct 29 '19 at 0:04
  • Possible duplicate of Root drive is running out of disk space. How can I free up space? – karel Oct 29 '19 at 5:12

Type "sudo apt clean" into a terminal. It will ask for your password so type that in when prompted.This will clean out a cache and may get you working again but you probably need to see where all your space has gone as per the comment by @ajgringo619. If you need help understanding the output of those commands just post again. Uninstalling any programs you don't need will also help.


From 5 Simple Ways To Free Up Space on Ubuntu

sudo apt clean
sudo apt autoremove --purge

These are the two easiest steps, read the article for the other three steps.

Use this command to see the size of your cache

du -sh ~/.cache

Mine is only 1.3 GB but others are reported at 13 GB here:

Be careful following the advise in this Q&A.

Not the answer you're looking for? Browse other questions tagged or ask your own question.