Different used disk space with du and quota.
Dear members
From my /work directory by going into it, when I type Quote:
However, from my general folder, when I type Quote:
Filesystem space quota limit grace files quota limit grace /dev/mapper/vgdata-work 1040G* 500G 800G 25days 159k 10000k 50000k /dev/mapper/vgdata-home 37061M 51200M 100G 196k 1000k 5000k It is really surprising and I am unable to solve the mystery. My actual file storage occupancy is 144G while the search for quota shows the files are occupying 1000G of storage space. How can I ascertaim the hidden files or the reasons behind this discrepancy? Please suggest how to rectify this issue? thanks |
OP's off-site thread hasn't seemed to help, hence, his tries here. I don't know anything about using quotas. I wouldn't know the optimal location to ask either. @michaelk the locked Server thread or General IMO would have been better than moderator limiting only to Debian.
|
Quote:
If a process has opened a file to write and you have deleted the file, it only gets removed from the directory but it still exists until the process closes the file. For example a large growing log file keeps growing but you can't see it using du because there is no directory entry. Try this to see the deleted files still open: Code:
sudo ls -l /proc/*/fd|grep '(deleted)'|grep -v -e /memfd: -e /dev/pts -e /dev/shm |
All times are GMT -5. The time now is 05:28 AM. |