[lustre-discuss] Beginner: Lustre server compile and deploy

GEORGE ZHAO georgezhaojobs at gmail.com
Tue Apr 29 13:52:34 PDT 2025


Hi everyone,

Appreciate your help.
I launched a Rocky8 instance on AWS and followed the instructions below.
Have my Lustre server running at last
https://wiki.whamcloud.com/pages/viewpage.action?pageId=258179277
https://github.com/DetlevCM/lustre-build-instructions/blob/main/lustre_server_rocky8.10.md

After weeks of trial-and-error, this success feels fantastic.

Thanks
George

On Tue, Apr 29, 2025 at 10:31 AM Patrick Farrell <pfarrell at ddn.com> wrote:

> Note you can use Rocky or Alma Linux instead of RHEL.
>
> There are links to current instructions here:
>
> https://wiki.whamcloud.com/plugins/servlet/mobile?contentId=9536415#content/view/9536415
>
>
>
> ------------------------------
> *From:* lustre-devel <lustre-devel-bounces at lists.lustre.org> on behalf of
> Andreas Dilger <adilger at ddn.com>
> *Sent:* Monday, April 28, 2025 7:06 PM
> *To:* GEORGE ZHAO <georgezhaojobs at gmail.com>
> *Cc:* lustre-discuss at lists.lustre.org <lustre-discuss at lists.lustre.org>;
> lustre-devel at lists.lustre.org <lustre-devel at lists.lustre.org>
> *Subject:* Re: [lustre-devel] [lustre-discuss] Beginner: Lustre server
> compile and deploy
>
> On Apr 28, 2025, at 09:14, GEORGE ZHAO via lustre-discuss <
> lustre-discuss at lists.lustre.org> wrote:
>
>
> Hi Guys,
>
> 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.
>
> The wiki is for RHEL7, which is too old. Although, RHEL subscription is
> expensive.
>
> 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.
>
> 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.
>
>
> The TL;DR to make Lustre server code is the same as the client, regardless
> of the kernel distro:
>
> bash autogen
> ./configure
> make (or "make rpms")
>
> 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 https://build.whamcloud.com/
> <http://build.whamcloud.com/> 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.
>
> Cheers, Andreas
>> Andreas Dilger
> Lustre Principal Architect
> Whamcloud/DDN
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lustre.org/pipermail/lustre-discuss-lustre.org/attachments/20250429/3efd0ad1/attachment.htm>


More information about the lustre-discuss mailing list