Disk Space Not Freed After Deleting a Log
You deleted a 20 GB log file, but df still shows the space as used. What is going on?
df
Choose one answer
Deleted files go to a hidden trash folder in /var.
/var
The filesystem needs an fsck run before deletions show up in its free space.
fsck
A running process still has the file open.
df only updates its numbers once an hour.