I Recently noticed an lightweight app (Sonarr) wasn't running, so when into webmin to find a fidk fill error. '/' was 100% full. I have hunted around and sound a few commands to get a bit of short term space back (down to 96%), but there shouldn't be that much usage. I'm just running Ubuntu Server LTS18 and a couple of apps on a 120GB SSD. But I am seeing the below and cannot (and do no know how to) find where the heavy directories and/or file are in /.
Filesystem Size Used Avail Use% Mounted on
udev 7.3G 0 7.3G 0% /dev
tmpfs 1.5G 2.8M 1.5G 1% /run
/dev/sde2 110G 104G 4.6G 96% /
tmpfs 7.3G 12K 7.3G 1% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 7.3G 0 7.3G 0% /sys/fs/cgroup
/dev/loop0 90M 90M 0 100% /snap/core/7917
/dev/loop1 90M 90M 0 100% /snap/core/8039
Try to install
ncdu
- it is a graphical disk usage app for the command line.And then
Then you'll see a list of the directories within
/
- you can navigate the directories and drill into them by hittingenter
.The other answer recommends installing
ncdu
which appears to be a great tool and loved by many users. However this is a "Catch 22" situation because when you are out of disk space you usually can't install a program to find out why because... you have no disk space.The only option is to use a program already installed: