[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 09:03:46 PDT 2013


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

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


More information about the lustre-discuss mailing list