Re: strange diskspace consuming

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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.

Regards,
 Dennis

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux