<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body>
    <p>If you've installed the zfs rpms:</p>
    <p>zfs, kmod-zfs, kmod-zfs-devel, kmod-zfs-devel-$(uname -r),
      libnvpair3, libuutil3, libzfs4, libzfs4-devel, libzpool4</p>
    <p>You should be able to configure lustre via:</p>
    <pre>sh autogen.sh</pre>
    <pre>./configure --with-zfs</pre>
    <pre>make rpms
</pre>
    <p>The auto conf will pick up the current kernel and all the
      installed ZFS paths without having to specify them.</p>
    <p>Sincerely,</p>
    <p>Nathaniel Clark<br>
    </p>
    <div class="moz-cite-prefix">On 5/6/21 12:47 PM, Hugo R Hernandez
      via lustre-discuss wrote:<br>
    </div>
    <blockquote type="cite" cite="mid:CAGBBdBhjRRpvatnyHu19Yha215xYUbmXwst0oL6DUv8QS55HeA@mail.gmail.com">
      
      <div dir="ltr">Morning Lustre Community!
        <div><br>
        </div>
        <div>Has anyone experienced any issue when trying to build
          Lustre 2.14 with ZFS 2.0.4 on CentOS7.9 running any of these
          two kernels:&nbsp;
          <code>3.10.0-1160.6.1.el7</code> (tested during release) and <code>3.10.0-1160.25.1.el7</code>
          (latest).&nbsp; Is there any 'special recipe' you need to follow
          for a proper Lustre build from source?&nbsp; When we built for
          2.10+ we used to use these flags when configuring:</div>
        <div><br>
        </div>
        <div>--with-zfs</div>
        <div>--with-zfs-obj</div>
        <div>--with-spl</div>
        <div>--with-spl-obj&nbsp;&nbsp;<br>
          <br>
        </div>
        <div>but ZFS 2.0.x now includes SPL as part of it as previously
          they were separated packages.</div>
        <div><br>
        </div>
        <div>Any hint on how to address this problem?&nbsp; Help is greatly
          appreciated!</div>
        <div><br>
        </div>
        <div>Thanks,</div>
        <div>-Hugo</div>
        <div><br>
        </div>
        <div><br>
        </div>
      </div>
      <br>
      <div class="gmail_quote">
        <div dir="ltr" class="gmail_attr">On Fri, Apr 30, 2021 at 12:51
          PM Hugo R Hernandez &lt;<a href="mailto:hdezmora@gmail.com" moz-do-not-send="true">hdezmora@gmail.com</a>&gt; wrote:<br>
        </div>
        <blockquote class="gmail_quote" style="margin:0px 0px 0px
          0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
          <div dir="ltr">Peter, I have been trying to get 2.14 ready
            with ZFS 2.0.4 on CentOS 7.9 but I have encountered a couple
            of issues.&nbsp; This&nbsp;is what I have been doing:
            <div><br>
            </div>
            <div>ZFS:</div>
            <div>Install dependency packages</div>
            <div>git clone&nbsp;<a href="https://github.com/openzfs/zfs.git" target="_blank" moz-do-not-send="true">https://github.com/openzfs/zfs.git</a><br>
            </div>
            <div>git checkout remotes/origin/zfs-2.0-release<br>
            </div>
            <div>./autogen.sh</div>
            <div>./configure</div>
            <div>make &amp;&amp; make rpms</div>
            <div>install libzfs4, zfs-2.0.4, zfs-dksm&nbsp;(have tried also
              installing kmod-zfs*, libuutil3, libnvpair3, libzpool4)</div>
            <div><br>
            </div>
            <div>Lustre:</div>
            <div>git clone git://<a href="http://git.whamcloud.com/fs/lustre-release.git" target="_blank" moz-do-not-send="true">git.whamcloud.com/fs/lustre-release.git</a><br>
            </div>
            <div>git checkout remotes/origin/b2_14<br>
            </div>
            <div>./autogen.sh</div>
            <div>./configure --enable-ldiskfs --with-zfs --enable-quota
              --enable-utils --enable-gss --enable-snmp
              --with-zfs-obj=/var/lib/dkms/zfs/2.0.4/3.10.0-<br>
            </div>
            <div>1160.24.1.el7.x86_64/x86_64<br>
            </div>
            <div>make &lt;&lt;&lt; here I have linking breaks</div>
            <div><br>
            </div>
            <div>I get an error like this:</div>
            <div><br>
            </div>
            <div>
              <pre style="white-space:pre-wrap">fatal error: sys/byteorder.h: No such file or directory
 #include &lt;sys/byteorder.h&gt;</pre>
            </div>
            <div>I wondering if I'm doing this on an updated CentOS 7.9
              host running kernel&nbsp;3.10.0-1160.24.1.el7 instead of the
              one used for testing during release
              cycle:&nbsp;&nbsp;3.10.0-1160.6.1.el7.&nbsp; is there something I'm
              missing or doing wrong in this case?&nbsp; Should I be able to
              compile then build RPMs i.e. using now
              available&nbsp;3.10.0-1160.25.1.el7 so we can have happy
              security folks by using the latest kernel?</div>
            <div><br>
            </div>
            <div>Please advise.&nbsp; Thanks in advance!</div>
            <div><br>
            </div>
            <div>
              <div dir="ltr">
                <div dir="ltr">
                  <div><span style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:16px">--&nbsp;</span><br style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:16px">
                    <b style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:16px">Hugo
                      R Hernandez</b>
                    <div><font face="arial, sans-serif" color="#888888"><span style="font-size:16px"><b><br>
                          </b></span></font><span style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:16px">&quot;Se
                        seus esforços foram vistos com indeferença, não
                        desanime que o sol faze um espectacolo
                        maravilhoso todas as manhãs enquanto a maioria
                        das pessoas ainda estão dormindo&quot;</span></div>
                    <div><span style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:16px">-
                        Anónimo brasileiro</span></div>
                  </div>
                </div>
              </div>
            </div>
            <br>
          </div>
          <br>
          <div class="gmail_quote">
            <div dir="ltr" class="gmail_attr">On Thu, Apr 15, 2021 at
              12:01 PM Peter Jones &lt;<a href="mailto:pjones@whamcloud.com" target="_blank" moz-do-not-send="true">pjones@whamcloud.com</a>&gt;
              wrote:<br>
            </div>
            <blockquote class="gmail_quote" style="margin:0px 0px 0px
              0.8ex;border-left:1px solid
              rgb(204,204,204);padding-left:1ex">
              <div lang="EN-CA">
                <div>
                  <p class="MsoNormal"><span style="font-size:14pt" lang="EN-US">Hugo</span></p>
                  <p class="MsoNormal"><span style="font-size:14pt" lang="EN-US">&nbsp;</span></p>
                  <p class="MsoNormal"><span style="font-size:14pt" lang="EN-US">2.14 will likely build/work against
                      centos 7.9 even though that was not the primary
                      kernel it was tested against</span></p>
                  <p class="MsoNormal"><span style="font-size:14pt" lang="EN-US">&nbsp;</span></p>
                  <p class="MsoNormal"><span style="font-size:14pt" lang="EN-US">Peter</span></p>
                  <p class="MsoNormal"><span style="font-size:14pt" lang="EN-US">&nbsp;</span></p>
                  <div style="border-right:none;border-bottom:none;border-left:none;border-top:1pt
                    solid rgb(181,196,223);padding:3pt 0cm 0cm">
                    <p class="MsoNormal"><b><span style="font-size:12pt;color:black">From: </span></b><span style="font-size:12pt;color:black">lustre-discuss
                        &lt;<a href="mailto:lustre-discuss-bounces@lists.lustre.org" target="_blank" moz-do-not-send="true">lustre-discuss-bounces@lists.lustre.org</a>&gt;
                        on behalf of Hugo R Hernandez via lustre-discuss
                        &lt;<a href="mailto:lustre-discuss@lists.lustre.org" target="_blank" moz-do-not-send="true">lustre-discuss@lists.lustre.org</a>&gt;<br>
                        <b>Reply-To: </b>Hugo R Hernandez &lt;<a href="mailto:hdezmora@gmail.com" target="_blank" moz-do-not-send="true">hdezmora@gmail.com</a>&gt;<br>
                        <b>Date: </b>Thursday, April 15, 2021 at 8:50
                        AM<br>
                        <b>To: </b>&quot;<a href="mailto:lustre-discuss@lists.lustre.org" target="_blank" moz-do-not-send="true">lustre-discuss@lists.lustre.org</a>&quot;
                        &lt;<a href="mailto:lustre-discuss@lists.lustre.org" target="_blank" moz-do-not-send="true">lustre-discuss@lists.lustre.org</a>&gt;<br>
                        <b>Subject: </b>[lustre-discuss] Lustre version
                        2.14 support for CentOS 7</span></p>
                  </div>
                  <div>
                    <p class="MsoNormal">&nbsp;</p>
                  </div>
                  <div>
                    <p class="MsoNormal">Hello there!&nbsp; We have been
                      planning to upgrade Lustre from 2.10+ to 2.14, but
                      we encountered it supports only RHEL 8.3, SLES 15
                      SP2, and Ubuntu 20.04.&nbsp; &nbsp;How about RHEL/CentOS 7?&nbsp;</p>
                    <div>
                      <p class="MsoNormal">&nbsp;</p>
                    </div>
                    <div>
                      <p class="MsoNormal"><a href="https://downloads.whamcloud.com/public/lustre/lustre-2.14.0/" target="_blank" moz-do-not-send="true">https://downloads.whamcloud.com/public/lustre/lustre-2.14.0/</a></p>
                    </div>
                    <div>
                      <p class="MsoNormal">&nbsp;</p>
                    </div>
                    <div>
                      <p class="MsoNormal">We can see release 2.13
                        supports RHEL 7.7 (servers and clients) and
                        2.12.9 supports RHEL 7.9.&nbsp; Part of this&nbsp;upgrade
                        is motivated to work on a OST-to-DoM migration
                        but this appears to be possible until 2.13.&nbsp; Our
                        desire is to use DoM to alleviate with metadata
                        performance due to tons of small files.&nbsp; We want
                        at this point to verify if any 2.13 or 2.14
                        would eventually&nbsp;support&nbsp;CentOS 7.9.</p>
                      <div>
                        <p class="MsoNormal">&nbsp;</p>
                      </div>
                      <div>
                        <p class="MsoNormal">Thanks in advance!</p>
                      </div>
                      <div>
                        <p class="MsoNormal">-Hugo</p>
                      </div>
                      <div>
                        <p class="MsoNormal"><br clear="all">
                        </p>
                        <div>
                          <div>
                            <div>
                              <div>
                                <p class="MsoNormal"><span style="font-size:12pt;font-family:Arial,sans-serif;color:rgb(136,136,136)">--&nbsp;</span></p>
                                <div>
                                  <p class="MsoNormal"><span style="font-size:12pt;font-family:Arial,sans-serif;color:rgb(136,136,136)">&quot;Se
                                      seus esforços foram vistos com
                                      indeferença, não desanime que o
                                      sol faze um espectacolo
                                      maravilhoso todas as manhãs
                                      enquanto a maioria das pessoas
                                      ainda estão dormindo&quot;</span></p>
                                </div>
                                <div>
                                  <p class="MsoNormal"><span style="font-size:12pt;font-family:Arial,sans-serif;color:rgb(136,136,136)">-
                                      Anónimo brasileiro</span></p>
                                </div>
                              </div>
                            </div>
                          </div>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </blockquote>
          </div>
        </blockquote>
      </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>
    <pre class="moz-signature" cols="72">-- 
Nathaniel Clark
Senior Software Engineer
Whamcloud / DDN</pre>
  </body>
</html>