[Lustre-discuss] Help on installing Lustre 2.1.5 on stock CentOS 6.3

Chan Ching Yu, Patrick cychan at clustertech.com
Mon May 27 16:06:08 PDT 2013


Thanks very much!

Using these steps works for me:

# cd /usr/src/
# tar zxvf /root/rpmbuild/SOURCES/lustre-2.1.5.tar.gz
# cd lustre-2.1.5/
# ./configure --with-linux=/lib/modules/2.6.32-279.el6.x86_64/build --disable-server
# make rpms
# cd ~/rpmbuild/RPMS/x86_64
# rpm -ivh lustre-client-2.1.5-2.6.32_279.el6.x86_64.x86_64.rpm lustre-client-modules-2.1.5-2.6.32_279.el6.x86_64.x86_64.rpm lustre-client-tests-2.1.5-2.6.32_279.el6.x86_64.x86_64.rpm

lustre-client-*.rpm are built this time. 

In previous trial, only lustre-*.rpm are built. (no “client” in RPM name)


From: Wojciech Turek 
Sent: Tuesday, May 28, 2013 12:17 AM
To: Chan Ching Yu, Patrick 
Cc: lustre-discuss at lists.lustre.org 
Subject: Re: [Lustre-discuss] Help on installing Lustre 2.1.5 on stock CentOS 6.3

and ignore mount -t proc proc /proc line, this is because I was building it in a chroot'ed environment. 

On 27 May 2013 17:16, Wojciech Turek <wjt27 at cam.ac.uk> wrote:

  Hi, 

  These are my steps to build patchless client:

  # Lustre 2.1.5 #
  cd /root/lustre
  wget http://downloads.whamcloud.com/public/lustre/latest-maintenance-release/el6/client/SRPMS/lustre-client-2.1.5-2.6.32_279.19.1.el6.x86_64.src.rpm
  rpm -ivh /root/lustre/lustre-client-2.1.5-2.6.32_279.19.1.el6.x86_64.src.rpm
  cd /usr/src
  tar -zxvf /root/rpmbuild/SOURCES/lustre-2.1.5.tar.gz
  cd lustre-2.1.5
  ./configure --with-linux=/lib/modules/$KVER/build --with-o2ib=/usr/src/ofa_kernel
  mount -t proc proc /proc
  make rpms 





  On 27 May 2013 17:03, Chan Ching Yu, Patrick <cychan at clustertech.com> wrote:

    Thanks for your quick reply.

    However, I’ve tried to add “—disable-server” in  SPECS/lustre.spec file and build it

    # vi SPEC/lustre.spec
    (....skipped....)
    %define optflags -g -O2 -Werror
    CONFIGURE_ARGS="%{?configure_args} --with-release=%release --disable-server"
    %if %{build_lustre_tests}
    CONFIGURE_ARGS="$CONFIGURE_ARGS --enable-tests --enable-liblustre-tests"
    %else
    CONFIGURE_ARGS="$CONFIGURE_ARGS --disable-tests --disable-liblustre-tests"
    %endif

    # rpmbuild –ba SPEC/lustre.spec

    # cd ~/rpmbuild/RPMS/x86_64/
    # rpm -ivh lustre-2.1.5-2.6.32_279.el6.x86_64.x86_64.rpm lustre-modules-2.1.5-2.6.32_279.el6.x86_64.x86_64.rpm
    error: Failed dependencies:
            lustre-backend-fs is needed by lustre-modules-2.1.5-2.6.32_279.el6.x86_64.x86_64

    That’s the same. Thx.


    From: Wojciech Turek 
    Sent: Monday, May 27, 2013 11:24 PM
    To: Chan Ching Yu, Patrick 
    Cc: lustre-discuss at lists.lustre.org 
    Subject: Re: [Lustre-discuss] Help on installing Lustre 2.1.5 on stock CentOS 6.3

    Hi, 

    If you building client then you need to add  --disable-server to your ./configure line and that will disable lustre-backend-fs dependency. 

    best regards,

    Wojciech


    On 27 May 2013 16:14, Chan Ching Yu, Patrick <cychan at clustertech.com> wrote:

      Hi all,

      I tried to install Lustre 2.1.5 client RPM (patchless kernel) on a CentOS 6.3 machine. 

      However, in Whamcloud download site (http://downloads.whamcloud.com/public/lustre/latest-maintenance-release/el6/client/RPMS/x86_64/), 
      I can only find the binary RPMs for kernel 2.6.32-279.19.1, while kernel version on my stock CentOS6.3 is 2.6.32-279.

      As the kernel version does not match, I tried to build from source RPM, the rpmbuild is fine:

      # rpmbuild --rebuild lustre-client-2.1.5-2.6.32_279.19.1.el6.x86_64.src.rpm
      # cd rpmbuild/RPMS/x86_64/

      But dependencies error comes out when I install Lustre client RPMs:

      # rpm -ivh lustre-2.1.5-2.6.32_279.el6.x86_64.x86_64.rpm lustre-modules-2.1.5-2.6.32_279.el6.x86_64.x86_64.rpm lustre-tests-2.1.5-2.6.32_279.el6.x86_64.x86_64.rpm

      error: Failed dependencies:
              lustre-backend-fs is needed by lustre-modules-2.1.5-2.6.32_279.el6.x86_64.x86_64

      As I know, Lustre client does not need lustre-backend-fs. Why does this error occur? Thx.

      CY

      _______________________________________________
      Lustre-discuss mailing list
      Lustre-discuss at lists.lustre.org
      http://lists.lustre.org/mailman/listinfo/lustre-discuss






    -- 
    Wojciech Turek

    Senior System Architect

    High Performance Computing Service
    University of Cambridge






  -- 
  Wojciech Turek

  Senior System Architect

  High Performance Computing Service






-- 
Wojciech Turek

Senior System Architect

High Performance Computing Service
University of Cambridge

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


More information about the lustre-discuss mailing list