Some processes seem to eat up the disk space on Linux (Ubuntu 16). I upgraded the disk of a laptop to 400 Gb one month ago. Now I have around 5 Gb of a free space. I spent many hours reading different posts on this forum and trying different commands. For example:
sudo du -x -d1 -h /var | sort -hr 297G /var 296G /var/lib 207M /var/cache 154M /var/dell 118M /var/log 59M /var/opt 18M /var/backups 17M /var/tmp 7,9M /var/crash 92K /var/spool 20K /var/www 4,0K /var/snap 4,0K /var/metrics 4,0K /var/mail 4,0K /var/local
I tried to use
find and Disk Usage Analyzer, but haven't found the issue:
find . -size +1G find: ‘./.ssh/typos_ssh_keys/id_rsa.pub’: Permission denied find: ‘./.ssh/typos_ssh_keys/id_rsa’: Permission denied find: ‘./.local/share/Trash/expunged/3448374582/work/Catalina’: Permission denied find: ‘./.local/share/Trash/expunged/3448374582/conf/Catalina’: Permission denied find: ‘./.local/share/jupyter/runtime’: Permission denied find: ‘./.dbus’: Permission denied find: ‘./.cache/dconf’: Permission denied find: ‘./.gvfs’: Permission denied
I was reading that there might be some logs that consume a lot of space. But I have not found such logs.
Any help will be highly appreciated?