[lustre-discuss] Building against kmod spl/zfs

Alexander I Kulyavtsev aik at fnal.gov
Fri Jan 13 14:01:18 PST 2017

Hi Brian,

do you use rpm based system or something else?

I do not use yet kmod zfs lustre (using dkms) but I use kmod zfs on other zfs appliance.

I case of rpm base system you need to install zfs-release-1-5 rpm to configure yum.

Yum may use prebuilt dkms modules. RHEL based systems have kABI compatibility so you do not need to rebuild zfs for each minor kernel update.

Yum needs  proper repository enabled when installing rpms (zfs-kmod vs zfs for dkms or kmod). Sources are at zfs-source.

So you may install zfs from zfs-kmod repo and sources from zfs-source. Then build lustre against zfs-source headers.

You may find more information on zfsonlinux.org .


From: lustre-discuss <lustre-discuss-bounces at lists.lustre.org> on behalf of Andrus, Brian Contractor <bdandrus at nps.edu>
Sent: Thursday, January 12, 2017 11:14:50 PM
To: lustre-discuss at lists.lustre.org
Subject: [lustre-discuss] Building against kmod spl/zfs


I am starting to try and build lustre using just kmod instead of dkms. Now the trouble I am seeing right off is that lustre wants the spl and zfs source (which is part of the dkms packages) just to configure it. So what would be the appropriate way to try and make kmod-lustre? Should we obtain the spl source and just point to it? Or perhaps there is no kmod for lustre server as yet?
My simple config line is:

./configure  --enable-server --disable-ldiskfs --with-linux=/usr/src/kernels/$(uname -r)

Brian Andrus
ITACS/Research Computing
Naval Postgraduate School
Monterey, California
voice: 831-656-6238

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

More information about the lustre-discuss mailing list