<div dir="ltr">Sorry, I should reply this message to the lustre-disscuss mailing list. So here I forwarded my reply.<div><br></div><div>Best Regards,</div><div>T.H.Hsieh<br><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">---------- Forwarded message ---------<br>\u5bc4\u4ef6\u8005\uff1a <strong class="gmail_sendername" dir="auto">Tung-Han Hsieh</strong> <span dir="auto">&lt;<a href="mailto:tunghan.hsieh@gmail.com">tunghan.hsieh@gmail.com</a>&gt;</span><br>Date: 2025\u5e7412\u670824\u65e5\u9031\u4e09 \u4e0a\u534812:48<br>Subject: Re: [lustre-discuss] Patch of Lustre-2.16.1 to Linux kernel 6.12.57<br>To: Shaun Tancheff &lt;<a href="mailto:shaun.tancheff@hpe.com">shaun.tancheff@hpe.com</a>&gt;<br></div><br><br><div dir="ltr">Dear Tancheff,<div><br></div><div>Thanks very much for your great information. I have tried to build lustre-2.17-rc2 with Linux kernel-6.12.57. It works. But during test, there is a strange problem when using &quot;root&quot; account to create directory in Lustre partition:</div><div><br></div><div>(in root account)</div><div>(&lt;mds&gt; and &lt;oss&gt; installed Lustre-2.15.3)</div><div># mount -t lustre -o flock &lt;mds&gt;@tcp:/chome /mnt</div><div># cd /mnt</div><div># mkdir tmpdir</div><div># ls</div><div>ls: cannot open directory &#39;.&#39;: No such file or directory</div><div><br></div><div>Then, if I leave the /mnt directory, and enter /mnt again, everything looks normal. &quot;ls&quot; command is OK, and the /mnt/tmpdir/ directory is created correctly. There is no such problem in normal user accounts. Since this testing machine is in a cluster environment, all the normal user account was created in the head node (not in the node of testing machine). The head node was configured as a ypserv server, to export normal user information to all the file servers (including &lt;mds&gt;, &lt;oss&gt;, etc), and all the computing nodes (including this testing machine).</div><div><br></div><div>For my patched Lustre-2.16.1, it also has this problem.</div><div><br></div><div>Currently it is not clear how to fix it. Probably Lustre-2.15.3 installed in the Lustre servers should be upgraded ?</div><div><br></div><div>Best Regards,</div><div>T.H.Hsieh</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Shaun Tancheff via lustre-discuss &lt;<a href="mailto:lustre-discuss@lists.lustre.org" target="_blank">lustre-discuss@lists.lustre.org</a>&gt; \u65bc 2025\u5e7412\u670822\u65e5\u9031\u4e00 \u4e0a\u53489:05\u5beb\u9053\uff1a<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 12/20/25 11:08, Tung-Han Hsieh via lustre-discuss wrote:<br>
&gt; Greetings,<br>
&gt;<br>
&gt; Recently we were requested to install Lustre client to a new machine, <br>
&gt; installed Debian-13.2 (trixie), with Linux kernel 6.12.57. We install <br>
&gt; it from compiling the source code. During installation, we encountered <br>
&gt; a lot of compiling errors, due to changes of kernel API from version <br>
&gt; 5.X.X to 6.12.X. We struggled quite a lot to update the code of <br>
&gt; Lustre, and finally came out a patch, as shown in the attachment. I <br>
&gt; would like to submit this patch to the Lustre developer team for <br>
&gt; review and test, and finally being committed to the future versions of <br>
&gt; Lustre. This is very important, because as newer machines shipped, we <br>
&gt; are forced to install newer versions of Linux OS, and Linux kernel. We <br>
&gt; hope that Lustre file system could work well in these new environments.<br>
&gt;<br>
The patch does not look too problematic, however you should be aware <br>
that Lustre 2.17-rc2 is currently building fine with 6.15, not sure what <br>
the state of back ports of kernel support are for Lustre 2.16.<br>
<br>
FWIW kernel support for 6.16 and 6.17 are enqueue and 6.18 is <br>
essentially done awaiting the new fs mount API changes James has done (I <br>
have not yet had a chance to test them together since I am traveling).<br>
<br>
&gt; The steps of compiling Lustre in our new machine is following:<br>
&gt;<br>
&gt; 1. Use &quot;apt install&quot; to install necessary code building packages, such <br>
&gt; as build-essential, gcc,<br>
&gt;     make, autoconf, <br>
&gt; libyaml-dev, uuid-dev, libblkid-dev, libnl-3-dev, libudev-dev, libkeyutils-dev, <br>
&gt;<br>
&gt;     libmount-dev, python3-dev, libnl-genl-3-dev, libtool, ...., etc.<br>
&gt;<br>
&gt; 2. Install the kernel source, which is the version of the current <br>
&gt; running kernel:<br>
&gt;     apt install linux-headers-6.12.57+deb13-amd64<br>
&gt;<br>
&gt; 3. Download Lustre source 2.16.1 (the newest version we have found), <br>
&gt; and apply the patch<br>
&gt;     shown in the attachment.<br>
&gt;<br>
&gt; 4. Start code building:<br>
&gt;    cd lustre-2.16.1<br>
&gt;    ./configure --prefix=/opt/lustre <br>
&gt; --with-linux=/usr/src/linux-headers-6.12.57+deb13-amd64 <br>
&gt; --disable-server --enable-mpitests=no<br>
&gt;    make<br>
&gt;    make install<br>
&gt;<br>
&gt; Now we can mount the Lustre file system with this command:<br>
&gt;<br>
&gt; mount -t lustre -o flock &lt;mds_IP&gt;@tcp:/chome /home<br>
&gt;<br>
&gt; where Lustre servers run Lustre-2.15.3. From the preliminary tests, it <br>
&gt; seems OK. But we are not confident that our patch is OK. We still need <br>
&gt; to test more extensively. So we hope that Lustre developer team could <br>
&gt; help to review this patch.<br>
&gt;<br>
&gt; Best Regards,<br>
&gt; T.H.Hsieh<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; lustre-discuss mailing list<br>
&gt; <a href="mailto:lustre-discuss@lists.lustre.org" target="_blank">lustre-discuss@lists.lustre.org</a><br>
&gt; <a href="https://urldefense.com/v3/__http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org__;!!NpxR!iW2pEy39hVgXxK7YXI8rXbizoLKD3CSOJqkMUEL48L7KPqLULWQH6US6GYF1yr9Qecxwm952JzfRteSYI4P__QuuJBmJi-9W$" rel="noreferrer" target="_blank">https://urldefense.com/v3/__http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org__;!!NpxR!iW2pEy39hVgXxK7YXI8rXbizoLKD3CSOJqkMUEL48L7KPqLULWQH6US6GYF1yr9Qecxwm952JzfRteSYI4P__QuuJBmJi-9W$</a><br>
<br>
<br>
_______________________________________________<br>
lustre-discuss mailing list<br>
<a href="mailto:lustre-discuss@lists.lustre.org" target="_blank">lustre-discuss@lists.lustre.org</a><br>
<a href="http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org" rel="noreferrer" target="_blank">http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org</a><br>
</blockquote></div>
</div></div></div>