[lustre-discuss] project quota totals incorrect

Andreas Dilger adilger at whamcloud.com
Thu Feb 27 13:01:45 PST 2020


On Feb 27, 2020, at 11:59, Peeples, Heath <heathp at HPC.MsState.Edu<mailto:heathp at 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






-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lustre.org/pipermail/lustre-discuss-lustre.org/attachments/20200227/5c6784da/attachment-0001.html>


More information about the lustre-discuss mailing list