[lustre-discuss] Hi, does anyone successfully install Lustre on CentOS 7.2

10000 10000 at candesoft.com
Fri Jan 29 04:59:17 PST 2016

    I just fed up with a mess about installing Lustre on CentOS 7.2. I do the instructions on the lustre manual. I meet several questions below.
    Since no official rpms for CentOS 7.2, I use git to get the newest code of lustre and patch the kernel source with it. And I modify the 'EXTRAVERSION' at kernel Makefile using '-327.el7_lustre.x86_64' which is the same form as the manual presented (Page 264). The compile of this patching kernel is success and I get rpms and source rpms at folder RPM and SRPM. I also try to install it as the step presented in Page 266 (30.3.3). Also nothing goes wrong since I get "Kernel 3.10.0-327.el7_lustre.x86_64 on an x86_64" after I reboot the system. I also install the src rpm and kernel-header of this patching kernel. Then I start build Lustre rpms with this kernel source and following the manual. I also successfully get the rpms of Lustre 2.7.65. However, when I start install these rpms, there are something wrong.
    1. Pretty weired. when I start install lustre-modules (file name is 'lustre-modules-2.7.65-3.10.0_327.el7_lustre.x86_64_gbebf1e3.x86_64.rpm'.) I get an message from rpm below:

    error: Failed dependencies:
        kernel = 3.10.0-327.el7_lustre is needed by lustre-modules-2.7.65-3.10.0_327.el7_lustre.x86_64_gbebf1e3.x86_64

    I have just install the modify kernel and reboot. This message make me none sense. To check whether I am running the right kernel. I use the command uname -an. Then I get:

        Linux localhost.localdomain 3.10.0-327.el7_lustre.x86_64 #1 SMP Fri Jan 29 00:46:35 CST 2016 x86_64 x86_64 x86_64 GNU/Linux

    It is exactly running the modified kernel.
    2. I am not giving up, since the rpm has the --nodeps arguments to force install a package without considering the dependencies. I do that, install the module and the other rpms, then run the test just as it metion on manual at Page 268 (30.4.3). it seems nothing wrong while compiling without o2ib (after disabled SELinux). But I also want to build a version with RDMA. So I download the MLNX_OFED and install it. I first try the one from openfabrics.org, but it's latest stable version seems not support CentOS 7.2 even I modify the install.pl, nor the daily one, they cannot compile successful due to some old function calles, such thing should be correct by patches while there might something wrong it not work. I success install the MLNX_OFED with the latest version, and configure it to lustre. The compilation goes well, no erros I meet, and I get rpms. However, when I try to install this version rpms, except the same question post at point 1, I also get so many warning about 'Unknown symbol XXXX' while using rpm with --nodeps. And of course, I cannot pass the test that Page 268 presents. I get such message:
     modprobe: ERROR: could not insert 'lnet': Unknown symbol in module, or unknown parameter (see dmesg)
     So I use dmesg to check what happened. And I get:

     [11845.723992] lnet: Unknown symbol backport_dependency_symbol (err 0)
     [12156.420003] lnet: Unknown symbol backport_dependency_symbol (err 0)
     [13453.646004] lnet: Unknown symbol backport_dependency_symbol (err 0)
     [13497.507032] lnet: Unknown symbol backport_dependency_symbol (err 0)
     [19757.412097] lnet: Unknown symbol backport_dependency_symbol (err 0)
     [25199.019004] lnet: Unknown symbol backport_dependency_symbol (err 0)

     I do not having the RDMA devices since the machine is on VirtualBox. However, is it possible that such questions happens just because I do not have the RDMA devices? I have successfully install the MLNX_OFED, the RDMA driver I think.
     Any one have ideas about such two questions?
     Sorry for the English grammar mistake if it happens, I am not a native speaker.

Yingdi Guo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lustre.org/pipermail/lustre-discuss-lustre.org/attachments/20160129/08f4466f/attachment.htm>

More information about the lustre-discuss mailing list