[lustre-discuss] Building against kmod spl/zfs

Marcin Dulak marcin.dulak at gmail.com
Fri Jan 13 15:31:05 PST 2017


On Fri, Jan 13, 2017 at 11:01 PM, Alexander I Kulyavtsev <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 .
>
>
> Alex.
> ------------------------------
> *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
>
>
> 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 <%28831%29%20656-6238>
>
>
>
> _______________________________________________
> lustre-discuss mailing list
> 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/20170114/d88c67d2/attachment.htm>


More information about the lustre-discuss mailing list