[CentOS] strange diskspace consuming

Tue Oct 20 10:59:12 UTC 2015
Dennis Jacobfeuerborn <dennisml at conversis.de>

On 20.10.2015 12:11, Götz Reinicke - IT Koordinator wrote:
> Hi,
> I do a tgz-backup some maildir-folders with n*1000 off files and a lot
> of GB in storage. The backuped maildirs are removed after the tar.
> My assumption was, that the free diskspace should be bigger after that,
> but from what I get with df, it looks like I'm loosing space.
> Currently the tgz is saved on the same disk/mountpoint.
> Any hint, why removing the maildirs dont free diskspace as expected?
> It is still an ext3 filesystme

The files might still be in use by some process and in that case the
space will not be freed until that process closes the files.

Try this:
lsof -nn|grep deleted

That shows all files that are still in use by a process but are marked
as deleted on the filesystem.