[lustre-devel] [lustre-discuss] Beginner: Lustre server compile and deploy
Patrick Farrell
pfarrell at ddn.com
Tue Apr 29 07:30:48 PDT 2025
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-devel-lustre.org/attachments/20250429/9baba1e2/attachment-0001.htm>
More information about the lustre-devel
mailing list