<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body>
    <p>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.</p>
    <p>Cameron<br>
    </p>
    <div class="moz-cite-prefix">On 5/26/20 9:47 AM, Co, Michele (mc2zk)
      wrote:<br>
    </div>
    <blockquote type="cite" cite="mid:234CD029-FF94-4214-A109-E1C7DB6752F9@virginia.edu">
      
      <meta name="Generator" content="Microsoft Word 15 (filtered
        medium)">
      <style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Calibri",sans-serif;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:12.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style>
      <div class="WordSection1">
        <p class="MsoNormal"><span style="font-size:11.0pt">Hi!<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt"><o:p>&nbsp;</o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt">We are
            running:<br>
            (client) lustre-client-2.10.7-1.el7.x86_64<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt">(server)
            lustre-2.10.7-1.el7.x86_64<br>
            <br>
            and are using lfs quota -u &lt;uid&gt; to monitor users\u2019
            Lustre file counts.<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt"><o:p>&nbsp;</o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt">We have
            discovered that for at least one user, there is a large
            discrepancy between the number of files reported by various
            utilities.<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt"><o:p>&nbsp;</o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt">lfs quota -u
            &lt;uid&gt; &lt;filesystem&gt;.&nbsp;&nbsp;&nbsp; // reports 334345 files<br>
            lfs find &lt;filesystem path&gt; -u &lt;uid&gt; | wc -l
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // reports 127812<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt">find . -type
            f |wc -l &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // reports 104580 files<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt"><o:p>&nbsp;</o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt">I\u2019ve read
            through the archives and found that the discrepancy could be
            due to files being deleted which are still open.&nbsp; However,
            it\u2019s unclear to me in lustre how to determine which files
            might be in this state or how to clean this up.&nbsp; Could
            anyone here give me some tips on how to troubleshoot/resolve
            this discrepancy?<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt"><o:p>&nbsp;</o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt">Thanks in
            advance,<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt">Michele Co<o:p></o:p></span></p>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
lustre-discuss mailing list
<a class="moz-txt-link-abbreviated" href="mailto:lustre-discuss@lists.lustre.org">lustre-discuss@lists.lustre.org</a>
<a class="moz-txt-link-freetext" href="http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org">http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org</a>
</pre>
    </blockquote>
  </body>
</html>