On one Hetzner server I can't figure out why my disk drive is taking more space than what is actually running on it. df -h results:
Filesystem Size Used Avail Use% Mounted onudev 63G 0 63G 0% /devtmpfs 13G 1.3M 13G 1% /run/dev/md2 1.8T 1.4T 324G 81% /tmpfs 63G 0 63G 0% /dev/shmtmpfs 5.0M 0 5.0M 0% /run/locktmpfs 63G 0 63G 0% /sys/fs/cgroup/dev/md1 989M 149M 790M 16% /boottmpfs 13G 0 13G 0% /run/user/0/dev/loop1 384K 384K 0 100% /snap/lz4/3/dev/loop5 384K 384K 0 100% /snap/lz4/4/dev/loop0 64M 64M 0 100% /snap/core20/2015/dev/loop2 106M 106M 0 100% /snap/core/16091/dev/loop4 106M 106M 0 100% /snap/core/16202overlay 1.8T 1.4T 324G 81% /var/lib/docker/overlay2/85110815787f3675a6dbe33fbca9111acbb7974231f7127e9bca3714ddbd5a5e/merged/dev/loop6 64M 64M 0 100% /snap/core20/2105
As you can see, it shows 1.4T used but every other tool I use for checking sizes of directories shows different results:
du -ah / | sort -rh | head -n 20
712G /369G /root331G /home325G /home/main
ncdu:
368.3 GiB [##########] /root 330.5 GiB [######## ] /home 7.0 GiB [ ] /var 3.4 GiB [ ] /usr 1.0 GiB [ ] /snap 891.7 MiB [ ] /lib 148.4 MiB [ ] /boot 42.6 MiB [ ] /tmp 14.1 MiB [ ] /bin 13.4 MiB [ ] /sbin 12.3 MiB [ ] /etc 5.7 MiB [ ] /lib32 1.3 MiB [ ] /run 20.0 KiB [ ] installimage.debug 16.0 KiB [ ] /opte 16.0 KiB [ ] /lost+found 8.0 KiB [ ] /media 4.0 KiB [ ] /lib64e 4.0 KiB [ ] /srve 4.0 KiB [ ] /mnte 4.0 KiB [ ] /celestia 4.0 KiB [ ] installimage.conf. 0.0 B [ ] /proc 0.0 B [ ] /sys 0.0 B [ ] /dev@ 0.0 B [ ] initrd.img.old@ 0.0 B [ ] initrd.img@ 0.0 B [ ] vmlinuz.old@ 0.0 B [ ] vmlinuz