[lustre-discuss] Lustre 2.16-1 ZFS + DKMS install fails on Almalinux 9.4
Jake Grimmett
jog at mrc-lmb.cam.ac.uk
Mon Nov 18 07:31:14 PST 2024
Dear All,
Sorry if I am making a basic error, but I can't install Lustre 2.16-1
server in ZFS + DKMS mode on ALmalinux 9.4
I following this guide as much as possible:
https://wiki.lustre.org/Installing_the_Lustre_Software#Lustre_Servers_with_ZFS_OSD_Support
- changing kernel-abi-whitelists for kernel-abi-stablelists
dnf -y install \
asciidoc audit-libs-devel automake bc \
binutils-devel bison device-mapper-devel elfutils-devel \
elfutils-libelf-devel expect flex gcc gcc-c++ git \
glib2 glib2-devel hmaccalc keyutils-libs-devel krb5-devel ksh \
libattr-devel libblkid-devel libselinux-devel libtool \
libuuid-devel libyaml-devel lsscsi make ncurses-devel \
net-snmp-devel net-tools newt-devel numactl-devel \
parted patchutils pciutils-devel perl-ExtUtils-Embed \
pesign python-devel redhat-rpm-config rpm-build systemd-devel \
tcl tcl-devel tk tk-devel wget xmlto yum-utils zlib-devel
dnf -y install automake bc binutils-devel \
bison elfutils-devel elfutils-libelf-devel expect \
flex gcc gcc-c++ git glib2 glib2-devel keyutils-libs-devel \
krb5-devel libattr-devel libblkid-devel libmount-devel libnl3-devel \
libselinux-devel libtool libuuid-devel libyaml-devel kernel-devel \
make ncurses-devel net-tools python3-devel redhat-rpm-config rpm-build \
systemd-devel wget yum-utils zlib-devel
cat >/etc/yum.repos.d/lustre.repo<<\__EOF
[lustre-server]
name=lustre-server
baseurl=https://downloads.whamcloud.com/public/lustre/lustre-2.16.1/el9.4/server
# exclude=*debuginfo*
enabled=0
gpgcheck=0
__EOF
yum -y install \
kernel \
kernel-devel \
kernel-headers \
kernel-abi-stablelists \
kernel-tools \
kernel-tools-libs \
kernel-tools-libs-devel
dnf -y install initscripts
hid=`[ -f /etc/hostid ] && od -An -tx /etc/hostid|sed 's/ //g'`
[ "$hid" = `hostid` ] || genhostid
reboot
dnf config-manager --set-enabled highavailability
yum -y --nogpgcheck --enablerepo=lustre-server install \
libzfs5-devel.x86_64 libzfs5.x86_64 \
lustre-dkms \
lustre-osd-zfs-mount \
lustre \
lustre-resource-agents \
zfs
Error! Build of lquota.ko failed for: 5.14.0-427.42.1.el9_4.x86_64 (x86_64)
Make sure the name of the generated module is correct and at the root of the
build directory, or consult make.log in the build directory
/var/lib/dkms/lustre-zfs/2.16.1/build for more information.
warning: %post(lustre-zfs-dkms-2.16.1-1.el9.noarch) scriptlet failed,
exit status 7
Error in POSTIN scriptlet in rpm package lustre-zfs-dkms
zfs module installs fine, but not lustre:
modprobe -v lustre
modprobe: FATAL: Module lustre not found in directory
/lib/modules/5.14.0-427.42.1.el9_4.x86_64
root at lg-lustre-build 15:16 [~]: dkms status
lustre-zfs/2.16.1: added
zfs/2.1.15, 5.14.0-427.42.1.el9_4.x86_64, x86_64: installed
I also tried "lustre-all" instead of lustre-dkms, fails in the same way.
# dkms build lustre-zfs/2.16.1
configure and build logs, plus install script attached in tgz file
any help appreciated.
Jake
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lustre_dkms_2.16.1.fail.tgz
Type: application/x-compressed-tar
Size: 50733 bytes
Desc: not available
URL: <http://lists.lustre.org/pipermail/lustre-discuss-lustre.org/attachments/20241118/98088db4/attachment-0001.bin>
More information about the lustre-discuss
mailing list