If I run quota I get:
Disk quotas for user XXXXXX (uid xxxx):
Filesystem blocks quota limit grace files quota limit grace
/dev/md2 1119132* 1048576 2097152 none 6 0 0
/dev/md3 6816256 0 10485760 4529 0 0
The first is a temp directory and can be ignored. Home is on the second disk (md3). If I run du -sh inside my home directory I get:
3.3G .
3.3G total
I've run du without switches and the numbers all seem to coincide with what I should get (not listing for the sake of privacy).
So, why is quota showing ~6.8GB used while du is showing 3.3GB used? I am on a shared server and have a pretty small allowed storage space, of which about 33% seems to be missing!
I checked for "deleted" files that might be held open by a process:
lsof | grep "$USER" | grep deleted
Nothing. I ran a list of open files but nothing seemed out of the ordinary (though it might have been and I didn't realize it):
lsof | grep "$USER" > list.txt
I'm not sure of what else to try. ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Without a solution this has become kind of moot as I got to a superuser and had them eliminate my quota and then reinstate it a day later. My quota now is showing LESS than du. So it might be worth investigating but I can live with the ability to use approx. 1 GB MORE space then my quota!