<div dir="ltr"><div>Hi everyone, </div><div><br></div><div>Appreciate your help. </div><div>I launched a Rocky8 instance on AWS and followed the instructions below. Have my Lustre server running at last
</div><div><a href="https://wiki.whamcloud.com/pages/viewpage.action?pageId=258179277">https://wiki.whamcloud.com/pages/viewpage.action?pageId=258179277</a></div><div><a href="https://github.com/DetlevCM/lustre-build-instructions/blob/main/lustre_server_rocky8.10.md">https://github.com/DetlevCM/lustre-build-instructions/blob/main/lustre_server_rocky8.10.md</a></div><div><br></div><div>
After weeks of trial-and-error, this success feels fantastic.</div><div><br></div>Thanks<div>George</div></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Tue, Apr 29, 2025 at 10:31 AM Patrick Farrell <<a href="mailto:pfarrell@ddn.com">pfarrell@ddn.com</a>> 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>
<div>Note you can use Rocky or Alma Linux instead of RHEL.</div>
<div><br>
</div>
<div>There are links to current instructions here:</div>
<div><a href="https://wiki.whamcloud.com/plugins/servlet/mobile?contentId=9536415#content/view/9536415" target="_blank">https://wiki.whamcloud.com/plugins/servlet/mobile?contentId=9536415#content/view/9536415</a><br>
</div>
<div><br>
</div>
<br>
<div></div>
<br>
<hr style="display:inline-block;width:98%">
<div id="m_7358941725078419265divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> lustre-devel <<a href="mailto:lustre-devel-bounces@lists.lustre.org" target="_blank">lustre-devel-bounces@lists.lustre.org</a>> on behalf of Andreas Dilger <<a href="mailto:adilger@ddn.com" target="_blank">adilger@ddn.com</a>><br>
<b>Sent:</b> Monday, April 28, 2025 7:06 PM<br>
<b>To:</b> GEORGE ZHAO <<a href="mailto:georgezhaojobs@gmail.com" target="_blank">georgezhaojobs@gmail.com</a>><br>
<b>Cc:</b> <a href="mailto:lustre-discuss@lists.lustre.org" target="_blank">lustre-discuss@lists.lustre.org</a> <<a href="mailto:lustre-discuss@lists.lustre.org" target="_blank">lustre-discuss@lists.lustre.org</a>>; <a href="mailto:lustre-devel@lists.lustre.org" target="_blank">lustre-devel@lists.lustre.org</a> <<a href="mailto:lustre-devel@lists.lustre.org" target="_blank">lustre-devel@lists.lustre.org</a>><br>
<b>Subject:</b> Re: [lustre-devel] [lustre-discuss] Beginner: Lustre server compile and deploy</font>
<div> </div>
</div>
<div>On Apr 28, 2025, at 09:14, GEORGE ZHAO via lustre-discuss <<a href="mailto:lustre-discuss@lists.lustre.org" target="_blank">lustre-discuss@lists.lustre.org</a>> wrote:<br>
<div>
<blockquote type="cite"><br>
<div>
<div dir="auto">Hi Guys,
<div dir="auto"><br>
</div>
<div dir="auto">I'm a beginner of Lustre and kernel development. Spend weeks to figure out how to build Lustre server from source code. But reach nowhere.</div>
<div dir="auto"><br>
</div>
<div dir="auto">The wiki is for RHEL7, which is too old. Although, RHEL subscription is expensive.</div>
<div dir="auto"><br>
</div>
<div dir="auto">Maybe Ubuntu is a better choice for me? There is a confluence page for building with ldiskfs, not zfs. Maybe zfs is simpler? I'm not sure.</div>
<div dir="auto"><br>
</div>
<div dir="auto">My goal is being able to contribute to Lustre, so I need to build from source code. Official RPMs doesn't matches AWS AMI kernel version, that's an other reason.</div>
</div>
</div>
</blockquote>
<br>
</div>
<div>The TL;DR to make Lustre server code is the same as the client, regardless of the kernel distro:</div>
<div><br>
</div>
<div>bash autogen</div>
<div>./configure</div>
<div>make (or "make rpms")</div>
<div><br>
</div>
<div>the important caveat is that you need the source code for fs/ext4/. If you download and install a pre-built kernel (including .src.rpm and kernel-debug) for your distro from <a href="http://build.whamcloud.com/" target="_blank">https://build.whamcloud.com/</a> then
you don't need to worry about that step. Patching the kernel is not strictly required for server kernels (either ldiskfs or ZFS), but with ldiskfs you need to have patch series that matches the in-kernel ext4 code.</div>
<div><br>
</div>
<div>
<div dir="auto" style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;color:rgb(0,0,0)">
<div dir="auto" style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;color:rgb(0,0,0)">
<div>Cheers, Andreas</div>
<div>—</div>
<div>Andreas Dilger</div>
<div>Lustre Principal Architect</div>
<div>Whamcloud/DDN</div>
</div>
<br>
</div>
<br>
<br>
</div>
<br>
</div>
</div>
</blockquote></div>