[lustre-discuss] Building Lustre against Mellanox OFED

Andreas Dilger adilger at whamcloud.com
Sat Mar 16 02:28:47 PDT 2024


On Mar 15, 2024, at 09:18, Paul Edmon via lustre-discuss <lustre-discuss at lists.lustre.org<mailto:lustre-discuss at lists.lustre.org>> wrote:

I'm working on building Lustre 2.15.4 against recent versions of Mellanox OFED. I built OFED against the specific kernel and then install mlnx-ofa_kernel-modules for that specific kernel. After which I built lustre against that version of OFED using:

rpmbuild --rebuild --without servers --without mpi --with mofed --define "_topdir `pwd`" SRPMS/lustre-2.15.4-1.src.rpm

However once I finish building and install I get:

Error: Transaction test error:
  file /etc/depmod.d/zz01-mlnx-ofa_kernel-mlx_compat.conf from install of kmod-mlnx-ofa_kernel-23.10-OFED.23.10.2.1.3.1.rhel8u9.x86_64 conflicts with file from package mlnx-ofa_kernel-modules-23.10-OFED.23.10.2.1.3.1.kver.4.18.0_513.18.1.el8_9.x86_64.x86_64

I saw this earlier message which matches my case: http://lists.lustre.org/pipermail/lustre-discuss-lustre.org/2020-December/017407.html But no resolution.

Does anyone know the solution to this? Is there a work around?

You probably need to "rpm -Uvh" instead of "rpm -ivh" the new kmod-mlnx-ofa_kernel RPM?

Or, if you want to keep both RPMs installed (e.g. for different kernels) then you can probably just use "--force" since it looks like the .conf file would likely be the same from both packages.

Cheers, Andreas
--
Andreas Dilger
Lustre Principal Architect
Whamcloud







-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lustre.org/pipermail/lustre-discuss-lustre.org/attachments/20240316/e661176d/attachment.htm>


More information about the lustre-discuss mailing list