On Feb 27, 2020, at 11:59, Peeples, Heath 
<hea...@hpc.msstate.edu<mailto:hea...@hpc.msstate.edu>> wrote:

We have enabled project quotas, but the totals are way off from du as can be 
seen below:

$ du -sh /work/project
1.5T /work/project

$ lfs quota -h -p 17115 /work/project
Disk quotas for prj 17115 (pid 17115):
Filesystem used quota limit grace files quota limit grace
/work/project 1.848G 47.31T 49.8T - 11294 0 0 –

I did use the -s option when creating.

Is every file in /work/project part of projectid 17115, or are there multiple 
projects under that directory?
What does "lfs find /work/project | wc -l" report for the file count?  
According to the lfs quota output
it is only tracking 11294 files for projid 17115.  You could try "lfs find 
/work/project ! -projid 17115" to
see if any of the files are not accounted under the project.

If this doesn't explain the discrepancy, you could verify that the "project" 
feature is on (dumpe2fs -h),
and/or try running e2fsck on all the OSTs/MDTs to ensure that the files are 
properly accounted.

Cheers, Andreas
--
Andreas Dilger
Principal Lustre Architect
Whamcloud






_______________________________________________
lustre-discuss mailing list
lustre-discuss@lists.lustre.org
http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org

Reply via email to