I have an Ubuntu box with 30GB of disk space that is almost filled up:
df -h
Filesystem Size Used Avail Use% Mounted on
/dev/vda1 30G 28G 0 100% /
But when I check the size of all the root folders with
sudo du -sh /foldername
I only get a total of 17.2GB
lib/ 6.7G
usr/ 4.8G
home/ 2.0G
var/ 1.3G
boot/ 1.1G
swapfile 1.1G
root/ 125M
sbin/ 12M
bin/ 11M
etc/ 8M
run/ 420K
lost+found/ 16K
media/ 8.8K
dev/ 4K
lib64/ 4K
mnt/ 4K
srv/ 4K
opt/ 4K
tmp/ 4K
sys/ 0
proc/ 0
Does anything here look suspicious? About 11 gigabytes are unaccounted for. Where could the missing 11G be?
df -i
. Also, usedu -hxd 1 /
when checking where the space went.