Ok, here's the issue which is totally confusing to me:
df -h Dateisystem Größe Benut Verf Ben% Eingehängt auf /dev/sda2 3,8G 1,5G 2,2G 41% / /dev/sda1 122M 13M 103M 11% /boot tmpfs 1014M 0 1014M 0% /dev/shm /dev/sdb1 1016M 866M 150M 86% /srv
du -hs /srv 55M /srv
Just for information:
mount | grep srv /dev/sdb1 on /srv type xfs (rw)
The 86% gave me a warning email (which is intended) after which I deleted ~800MB of files under
/srv. This was a few hours ago.
du, I get what I consider the correct amount of data on that partition. However,
df doesn't seem to get that. Why? (This is somewhat annoying, because I still get regular warning emails based on that output.)
Not sure if that's important, but I'm on a server using CentOS release 5.11 (Final).