<div dir="auto">Hi Hugo,<div dir="auto"><br></div><div dir="auto">The autoconf has some detection that should be able to grab the SPL information for Zfs .8+ source dirs, so you may be able to scrub it out and let the scripting handle it (you can always double check it&#39;s correct by reading the conf logs).</div><div dir="auto"><br></div><div dir="auto">Can you forward any configuration errors you are getting? If you&#39;re compiling off of the ZFS sources there were some changes to the header layout that may be causing a challenge. </div><div dir="auto"><br></div><div dir="auto">Best,</div><div dir="auto">Christian</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, May 6, 2021, 1:38 PM  &lt;<a href="mailto:lustre-discuss-request@lists.lustre.org">lustre-discuss-request@lists.lustre.org</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Send lustre-discuss mailing list submissions to<br>
        <a href="mailto:lustre-discuss@lists.lustre.org" target="_blank" rel="noreferrer">lustre-discuss@lists.lustre.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org" rel="noreferrer noreferrer" target="_blank">http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org</a><br>
or, via email, send a message with subject or body &#39;help&#39; to<br>
        <a href="mailto:lustre-discuss-request@lists.lustre.org" target="_blank" rel="noreferrer">lustre-discuss-request@lists.lustre.org</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:lustre-discuss-owner@lists.lustre.org" target="_blank" rel="noreferrer">lustre-discuss-owner@lists.lustre.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than &quot;Re: Contents of lustre-discuss digest...&quot;<br>
<br>
<br>
Today&#39;s Topics:<br>
<br>
   1. Re: Lustre version 2.14 support for CentOS 7 (Hugo R Hernandez)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Thu, 6 May 2021 11:47:44 -0500<br>
From: Hugo R Hernandez &lt;<a href="mailto:hdezmora@gmail.com" target="_blank" rel="noreferrer">hdezmora@gmail.com</a>&gt;<br>
To: <a href="mailto:lustre-discuss@lists.lustre.org" target="_blank" rel="noreferrer">lustre-discuss@lists.lustre.org</a><br>
Subject: Re: [lustre-discuss] Lustre version 2.14 support for CentOS 7<br>
Message-ID:<br>
        &lt;<a href="mailto:CAGBBdBhjRRpvatnyHu19Yha215xYUbmXwst0oL6DUv8QS55HeA@mail.gmail.com" target="_blank" rel="noreferrer">CAGBBdBhjRRpvatnyHu19Yha215xYUbmXwst0oL6DUv8QS55HeA@mail.gmail.com</a>&gt;<br>
Content-Type: text/plain; charset=&quot;utf-8&quot;<br>
<br>
Morning Lustre Community!<br>
<br>
Has anyone experienced any issue when trying to build Lustre 2.14 with ZFS<br>
2.0.4 on CentOS7.9 running any of these two kernels:  3.10.0-1160.6.1.el7<br>
(tested during release) and 3.10.0-1160.25.1.el7 (latest).  Is there any<br>
&#39;special recipe&#39; you need to follow for a proper Lustre build from source?<br>
When we built for 2.10+ we used to use these flags when configuring:<br>
<br>
--with-zfs<br>
--with-zfs-obj<br>
--with-spl<br>
--with-spl-obj<br>
<br>
but ZFS 2.0.x now includes SPL as part of it as previously they were<br>
separated packages.<br>
<br>
Any hint on how to address this problem?  Help is greatly appreciated!<br>
<br>
Thanks,<br>
-Hugo<br>
<br>
<br>
<br>
On Fri, Apr 30, 2021 at 12:51 PM Hugo R Hernandez &lt;<a href="mailto:hdezmora@gmail.com" target="_blank" rel="noreferrer">hdezmora@gmail.com</a>&gt;<br>
wrote:<br>
<br>
&gt; Peter, I have been trying to get 2.14 ready with ZFS 2.0.4 on CentOS 7.9<br>
&gt; but I have encountered a couple of issues.  This is what I have been doing:<br>
&gt;<br>
&gt; ZFS:<br>
&gt; Install dependency packages<br>
&gt; git clone <a href="https://github.com/openzfs/zfs.git" rel="noreferrer noreferrer" target="_blank">https://github.com/openzfs/zfs.git</a><br>
&gt; git checkout remotes/origin/zfs-2.0-release<br>
&gt; ./autogen.sh<br>
&gt; ./configure<br>
&gt; make &amp;&amp; make rpms<br>
&gt; install libzfs4, zfs-2.0.4, zfs-dksm (have tried also installing<br>
&gt; kmod-zfs*, libuutil3, libnvpair3, libzpool4)<br>
&gt;<br>
&gt; Lustre:<br>
&gt; git clone git://<a href="http://git.whamcloud.com/fs/lustre-release.git" rel="noreferrer noreferrer" target="_blank">git.whamcloud.com/fs/lustre-release.git</a><br>
&gt; git checkout remotes/origin/b2_14<br>
&gt; ./autogen.sh<br>
&gt; ./configure --enable-ldiskfs --with-zfs --enable-quota --enable-utils<br>
&gt; --enable-gss --enable-snmp --with-zfs-obj=/var/lib/dkms/zfs/2.0.4/3.10.0-<br>
&gt; 1160.24.1.el7.x86_64/x86_64<br>
&gt; make &lt;&lt;&lt; here I have linking breaks<br>
&gt;<br>
&gt; I get an error like this:<br>
&gt;<br>
&gt; fatal error: sys/byteorder.h: No such file or directory<br>
&gt;  #include &lt;sys/byteorder.h&gt;<br>
&gt;<br>
&gt; I wondering if I&#39;m doing this on an updated CentOS 7.9 host running<br>
&gt; kernel 3.10.0-1160.24.1.el7 instead of the one used for testing during<br>
&gt; release cycle:  3.10.0-1160.6.1.el7.  is there something I&#39;m missing or<br>
&gt; doing wrong in this case?  Should I be able to compile then build RPMs i.e.<br>
&gt; using now available 3.10.0-1160.25.1.el7 so we can have happy security<br>
&gt; folks by using the latest kernel?<br>
&gt;<br>
&gt; Please advise.  Thanks in advance!<br>
&gt;<br>
&gt; --<br>
&gt; *Hugo R Hernandez*<br>
&gt;<br>
&gt; &quot;Se seus esfor?os foram vistos com indeferen?a, n?o desanime que o sol<br>
&gt; faze um espectacolo maravilhoso todas as manh?s enquanto a maioria das<br>
&gt; pessoas ainda est?o dormindo&quot;<br>
&gt; - An?nimo brasileiro<br>
&gt;<br>
&gt;<br>
&gt; On Thu, Apr 15, 2021 at 12:01 PM Peter Jones &lt;<a href="mailto:pjones@whamcloud.com" target="_blank" rel="noreferrer">pjones@whamcloud.com</a>&gt; wrote:<br>
&gt;<br>
&gt;&gt; Hugo<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; 2.14 will likely build/work against centos 7.9 even though that was not<br>
&gt;&gt; the primary kernel it was tested against<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Peter<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; *From: *lustre-discuss &lt;<a href="mailto:lustre-discuss-bounces@lists.lustre.org" target="_blank" rel="noreferrer">lustre-discuss-bounces@lists.lustre.org</a>&gt; on<br>
&gt;&gt; behalf of Hugo R Hernandez via lustre-discuss &lt;<br>
&gt;&gt; <a href="mailto:lustre-discuss@lists.lustre.org" target="_blank" rel="noreferrer">lustre-discuss@lists.lustre.org</a>&gt;<br>
&gt;&gt; *Reply-To: *Hugo R Hernandez &lt;<a href="mailto:hdezmora@gmail.com" target="_blank" rel="noreferrer">hdezmora@gmail.com</a>&gt;<br>
&gt;&gt; *Date: *Thursday, April 15, 2021 at 8:50 AM<br>
&gt;&gt; *To: *&quot;<a href="mailto:lustre-discuss@lists.lustre.org" target="_blank" rel="noreferrer">lustre-discuss@lists.lustre.org</a>&quot; &lt;<a href="mailto:lustre-discuss@lists.lustre.org" target="_blank" rel="noreferrer">lustre-discuss@lists.lustre.org</a>&gt;<br>
&gt;&gt; *Subject: *[lustre-discuss] Lustre version 2.14 support for CentOS 7<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Hello there!  We have been planning to upgrade Lustre from 2.10+ to 2.14,<br>
&gt;&gt; but we encountered it supports only RHEL 8.3, SLES 15 SP2, and Ubuntu<br>
&gt;&gt; 20.04.   How about RHEL/CentOS 7?<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; <a href="https://downloads.whamcloud.com/public/lustre/lustre-2.14.0/" rel="noreferrer noreferrer" target="_blank">https://downloads.whamcloud.com/public/lustre/lustre-2.14.0/</a><br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; We can see release 2.13 supports RHEL 7.7 (servers and clients) and<br>
&gt;&gt; 2.12.9 supports RHEL 7.9.  Part of this upgrade is motivated to work on a<br>
&gt;&gt; OST-to-DoM migration but this appears to be possible until 2.13.  Our<br>
&gt;&gt; desire is to use DoM to alleviate with metadata performance due to tons of<br>
&gt;&gt; small files.  We want at this point to verify if any 2.13 or 2.14 would<br>
&gt;&gt; eventually support CentOS 7.9.<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Thanks in advance!<br>
&gt;&gt;<br>
&gt;&gt; -Hugo<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; --<br>
&gt;&gt;<br>
&gt;&gt; &quot;Se seus esfor?os foram vistos com indeferen?a, n?o desanime que o sol<br>
&gt;&gt; faze um espectacolo maravilhoso todas as manh?s enquanto a maioria das<br>
&gt;&gt; pessoas ainda est?o dormindo&quot;<br>
&gt;&gt;<br>
&gt;&gt; - An?nimo brasileiro<br>
&gt;&gt;<br>
&gt;<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: &lt;<a href="http://lists.lustre.org/pipermail/lustre-discuss-lustre.org/attachments/20210506/79071bda/attachment-0001.html" rel="noreferrer noreferrer" target="_blank">http://lists.lustre.org/pipermail/lustre-discuss-lustre.org/attachments/20210506/79071bda/attachment-0001.html</a>&gt;<br>
<br>
------------------------------<br>
<br>
Subject: Digest Footer<br>
<br>
_______________________________________________<br>
lustre-discuss mailing list<br>
<a href="mailto:lustre-discuss@lists.lustre.org" target="_blank" rel="noreferrer">lustre-discuss@lists.lustre.org</a><br>
<a href="http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org" rel="noreferrer noreferrer" target="_blank">http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org</a><br>
<br>
<br>
------------------------------<br>
<br>
End of lustre-discuss Digest, Vol 182, Issue 6<br>
**********************************************<br>
</blockquote></div>