<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    To be more specific:<br>
    <br>
    Server: <br>
    - Lustre 2.15.7<br>
    - Rocky Linux 8.10 (4.18.0-553.53.1.el8_10.x86_64)<br>
    <br>
    Client:<br>
    - Lustre 2.15.7, but same outcome on 2.15.5<br>
    - Rocky Linux 9.6 (5.14.0-570.42.2.el9_6.x86_64)<br>
    - glibc-2.34-168.el9_6.23.x86_64<br>
    - coreutils-8.32-39.el9.x86_64<br>
    <br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 17/12/2025 13.22, Hans Henrik Happe
      via lustre-discuss wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:de693ff6-e132-44c0-ad45-5330f1c2892c@nbi.dk">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      It's 2.15.7.<br>
      <br>
      <div class="moz-cite-prefix">On 17/12/2025 03.36, Andreas Dilger
        wrote:<br>
      </div>
      <blockquote type="cite"
cite="mid:DD142B24-23F7-4A27-96AB-1C09DA16CBE3@thelustrecollective.com">
        <pre wrap="" class="moz-quote-pre">There have definitely been some fixes in this area.  
What version of Lustre are you running?

</pre>
        <blockquote type="cite">
          <pre wrap="" class="moz-quote-pre">On Dec 16, 2025, at 07:39, Hans Henrik Happe via lustre-discuss <a
          class="moz-txt-link-rfc2396E"
          href="mailto:lustre-discuss@lists.lustre.org"
          moz-do-not-send="true"><lustre-discuss@lists.lustre.org></a> wrote:

Hi,


It seems like the inherited project quota issue [1] with mv has been resolved with XFS in RHEL9. However, Lustre is a bit strange.

Given a "src" and "dst"(empty) dir these two ways of calling mv behaves differently:

mv src dst/  (work: no copy)
mv src dst/src (copy, then delete)

I've attached an strace output for both Lustre and XFS. It seems like mv is handling the fact that Lustre don't have renameat2 a bit differently.

Before I dig further. Is this behavior known?

Cheers,
Hans Henrik

[1] <a class="moz-txt-link-freetext"
href="http://lists.lustre.org/pipermail/lustre-discuss-lustre.org/2023-February/018511.html"
          moz-do-not-send="true">http://lists.lustre.org/pipermail/lustre-discuss-lustre.org/2023-February/018511.html</a>
<lustre-mv.strace><xfs-mv.strace><lustre-mv-copy.strace>_______________________________________________
lustre-discuss mailing list
<a class="moz-txt-link-abbreviated moz-txt-link-freetext"
          href="mailto:lustre-discuss@lists.lustre.org"
          moz-do-not-send="true">lustre-discuss@lists.lustre.org</a>
<a class="moz-txt-link-freetext"
href="http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org"
          moz-do-not-send="true">http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org</a>

</pre>
        </blockquote>
      </blockquote>
    </blockquote>
    Cheers,<br>
    Hans Henrik<br>
  </body>
</html>