[lustre-discuss] Incorrect user's file count

Co, Michele (mc2zk) mc2zk at virginia.edu
Tue May 26 09:47:06 PDT 2020


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lustre.org/pipermail/lustre-discuss-lustre.org/attachments/20200526/10dc7d1e/attachment.html>


More information about the lustre-discuss mailing list