One other suggestion for the discrepancy is if the user has files outside of their user directory on the file system -- for instance in a group or project directory. User quotas have no notion of data path and just look at files owned by that user across the entire file system.

Cameron

On 5/26/20 9:47 AM, Co, Michele (mc2zk) wrote:

Hi!

 

We are running:
(client) lustre-client-2.10.7-1.el7.x86_64

(server) lustre-2.10.7-1.el7.x86_64

and are using lfs quota -u <uid> to monitor users’ Lustre file counts.

 

We have discovered that for at least one user, there is a large discrepancy between the number of files reported by various utilities.

 

lfs quota -u <uid> <filesystem>.    // reports 334345 files
lfs find <filesystem path> -u <uid> | wc -l               // reports 127812

find . -type f |wc -l                           // reports 104580 files

 

I’ve read through the archives and found that the discrepancy could be due to files being deleted which are still open.  However, it’s unclear to me in lustre how to determine which files might be in this state or how to clean this up.  Could anyone here give me some tips on how to troubleshoot/resolve this discrepancy?

 

Thanks in advance,

Michele Co


_______________________________________________
lustre-discuss mailing list
[email protected]
http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org

_______________________________________________
lustre-discuss mailing list
[email protected]
http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org

Reply via email to