I have used Ubuntu 14.04 as a server to host my company website and mailsystem. The system was online for 3 weeks before I was not able to send or receive emails. A few minutes of debugging showed the reason: No more disk space.
Filesystem Size Used Avail Use% Mounted on
udev 3.9G 0 3.9G 0% /dev
tmpfs 799M 8.7M 790M 2% /run
/dev/xvda1 7.8G 7.4G 0 100% /
tmpfs 3.9G 0 3.9G 0% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup
tmpfs 100K 0 100K 0% /run/lxcfs/controllers
tmpfs 799M 0 799M 0% /run/user/1000
Question: How can I locate the directory that occupies all the disk space?
I have tried using df -hs /path/to/directory
on all root directories without luck. There is 4GB of space that is not accounted for.