<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>I forgot to mention some subtle details:<br>
      - This is a ZFS-backed Lustre filesystem.<br>
      - There is nothing present in the <font
        face="Courier New, Courier, monospace"><i>.lustre</i></font>
      directory.<br>
      <br>
      We have DoM enabled, and it seems the discrepancy comes from the
      MDTs:<br>
      <br>
      <font face="Courier New, Courier, monospace"><i>lfs quota -v -uh
          username /mnt/lustre/<br>
          <br>
          Disk quotas for usr username (uid 101559):<br>
               Filesystem            used    quota    limit   grace  
          files   quota   limit   grace<br>
             /mnt/lustre/          970.1M       0k       0k       -     
          22       0       0       -<br>
             lustreFS-MDT0000_UUID 282.7M        -       0k      
          -       6       -       0       -<br>
             lustreFS-MDT0001_UUID 188.1M        -       0k      
          -       4       -       0       -<br>
             lustreFS-MDT0002_UUID 499.4M        -       0k       -     
          10       -       0       -<br>
             lustreFS-MDT0003_UUID     1k        -       0k      
          -       2       -       0       -<br>
             lustreFS-OST0000_UUID     0k        -       0k      
          -       -       -       -       -<br>
             lustreFS-OST0001_UUID     0k        -       0k      
          -       -       -       -       -<br>
             ...</i></font><br>
      <br>
      Before bringing down the filesystem and taking a look at what ZFS
      quota reports, it would be good to know<br>
      whether Lustre performs any manipulation or if it more or less
      directly reports what ZFS quota accounting returns.<br>
      <br>
      Thanks,<br>
      Rasool<br>
      <br>
    </p>
    <div class="moz-cite-prefix">On 27/01/2026 11:20, Rasool
      Almasikoupaei via lustre-discuss wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:eeed76ab-94dd-43a3-a2a8-e15f33ff376b@uni-tuebingen.de">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <p>Hi all,<br>
        <br>
        We are seeing a discrepancy between what <font
          face="Times New Roman, Times, serif"><i>lfs quota</i></font>
        reports and what we can locate using <font
          face="Times New Roman, Times, serif"><i>lfs find</i></font> or
        the standard <font face="Times New Roman, Times, serif">find</font>
        command.<br>
        For example:<br>
        <br>
        <font face="Times New Roman, Times, serif"><i>lfs quota -uh
            username /mnt/lustre/<br>
            <br>
            Disk quotas for usr username (uid 101559):<br>
                 Filesystem    used   quota   limit   grace   files  
            quota   limit   grace<br>
               /mnt/lustre/  970.1M      0k      0k       -     
            22       0       0       -<br>
            <br>
            uid 101559 is using the default block quota setting  <br>
            uid 101559 is using the default file quota setting</i></font><br>
        <br>
        <br>
        However, neither <i><font face="Times New Roman, Times, serif">lfs
            find -user username</font></i> nor the standard <i><font
            face="Times New Roman, Times, serif">find</font></i> command
        can locate these 22 files.<br>
        Running <i><font face="Times New Roman, Times, serif">lfsck</font></i>
        has no effect and produces the same result.<br>
        <br>
        We have observed this behavior on Lustre 2.15.6 and continue to
        see it on 2.15.7 and 2.15.8.<br>
        The example user’s access was revoked before any file search was
        performed.<br>
        <br>
        Does anyone have an idea how to locate or clean up these ghosted
        files, or how to fix the quota reporting discrepancy?<br>
        <br>
        <br>
        Best,<br>
        Rasool<br>
      </p>
      <br>
      <fieldset class="moz-mime-attachment-header"></fieldset>
      <pre wrap="" class="moz-quote-pre">_______________________________________________
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>