There are detailed build instructions on lustre.org wiki :
        http://wiki.lustre.org/Compiling_Lustre

I built, installed and lustre client 2.10.3 works on SLF 6.x as below:

> $ cat /etc/redhat-release 
> Scientific Linux Fermi release 6.9 (Ramsey)
> $ uname -r
> 2.6.32-696.1.1.el6.x86_64

> $ cat /etc/redhat-release 
> Scientific Linux Fermi release 6.8 (Ramsey)
> $ uname -r
> 2.6.32-642.15.1.el6.x86_64

Build script (in-kernel IB) to build lustre client to be installed on the same 
host:

> $ cat lcb.inkernel-ib.sh 
> 
> #!/bin/bash
> 
> DIR=../downloads/downloads.hpdd.intel.com
> SRPM=lustre-2.10.3-1.src.rpm
> 
> rpmbuild  --rebuild --without servers --with lnet-dlc --with lustre-utils 
> $DIR/$SRPM
> 

Essentially this is the command you use.
There are extra arguments if you compile for different kernel, e.g. building on 
node with 3.10 for older kernel 2.6.32 .

It looks like you are trying to install lustre client module built with newer 
kernel.  Take a look at build logs.

You have to install kernel-devel rpm for your kernel on build node.

Alex.

> On Mar 23, 2018, at 1:30 AM, Alex Vodeyko <alex.vode...@gmail.com> wrote:
> 
> Hi,
> 
> I'm trying to build/install Lustre 2.10.3 client on Centos 6.7.
> "rpmbuild  --rebuild --without servers lustre/lustre-2.10.3-1.src.rpm" goes 
> fine, but 
> "yum localupdate kmod-lustre-client-2.10.3-1.el6.x86_64.rpm 
> lustre-client-2.10.3-1.el6.x86_64.rpm" failed with:
> Error: Package: kmod-lustre-client-2.10.3-1.el6.x86_64 
> (/kmod-lustre-client-2.10.3-1.el6.x86_64)
>            Requires: kernel >= 3.10.0-693
> 
> Building and installing on the same system with 2.6.32-696.10.2.el6.x86_64 
> kernel.
> 
> Same procedure worked fine on the same system with lustre 2.10.1 client.
> 
> Could you please help with it?
> 
> Thanks,
> Alex
> 
> 
> 
> _______________________________________________
> lustre-discuss mailing list
> lustre-discuss@lists.lustre.org
> http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org

_______________________________________________
lustre-discuss mailing list
lustre-discuss@lists.lustre.org
http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org

Reply via email to