[lustre-discuss] Building against kmod spl/zfs

Marcin Dulak marcin.dulak at gmail.com
Mon Jan 16 15:00:54 PST 2017


On Mon, Jan 16, 2017 at 9:03 PM, Andrus, Brian Contractor <bdandrus at nps.edu>
wrote:

> 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.
>

I don't understand completely the last sentence.
Make sure you are on a clean system when building -  I use vagrant to build
RPMS with complex dependencies like specific kernel version modules
https://gist.github.com/marcindulak/ff2683c78c841f2fa562ee4412dd0a3e
You can build also lustre with infiniband support in this kind of
environment.

Marcin



> Doing it that way seems to work for me.
>
>
>
>
>
> Brian Andrus
>
> ITACS/Research Computing
>
> Naval Postgraduate School
>
> Monterey, California
>
> voice: 831-656-6238 <%28831%29%20656-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>
> 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/20170117/34145b3f/attachment.htm>


More information about the lustre-discuss mailing list