This command will take a while to run, but will show you folder sizes by directory in the root:
du -sh /*
Once you know which directory is using all your space (probably /home, but possibly /var), you can repeat the command in that folder:
du -sh /home/*
A few scenarios that have filled my disk in the past:
- Backups configured to use a removable disk which did not mount correctly (resulting in repeated backups back into the root folder)
--> /mnt will be larger than expected
- Compromized Web apps exploited by attackers
--> /home/e-smith/files/ibays (or /opt, if you have web apps installed in /opt) will be larger than expected
- Log files run amuck
--> /var/log will be larger than expected
- Mail loops
--> /var/qmail and/or /home/e-smith/files/users will be larger than expected
- Mail server compromised (and being used to send spam)
--> /var/qmail will be larger than expected