[lustre-discuss] Building against kmod spl/zfs

Andrus, Brian Contractor bdandrus at nps.edu
Mon Jan 16 12:03:15 PST 2017


Marcin,

I think I figured it out. I have to use DKMS on the system I am using to build the RPMs, but I can use the kmod rpms that were produced on the systems that I am running lustre on.
Doing it that way seems to work for me.


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



From: Marcin Dulak [mailto:marcin.dulak at gmail.com]
Sent: Friday, January 13, 2017 3:31 PM
To: Alexander I Kulyavtsev <aik at fnal.gov>
Cc: Andrus, Brian Contractor <bdandrus at nps.edu>; lustre-discuss at lists.lustre.org
Subject: Re: [lustre-discuss] Building against kmod spl/zfs



On Fri, Jan 13, 2017 at 11:01 PM, Alexander I Kulyavtsev <aik at fnal.gov<mailto:aik at fnal.gov>> wrote:

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.
a full example has been given recently: http://lists.lustre.org/pipermail/lustre-discuss-lustre.org/2017-January/014139.html



You may find more information on zfsonlinux.org<http://zfsonlinux.org> .



Alex.

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

All,

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<tel:%28831%29%20656-6238>


_______________________________________________
lustre-discuss mailing list
lustre-discuss at lists.lustre.org<mailto:lustre-discuss at lists.lustre.org>
http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org

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


More information about the lustre-discuss mailing list