<HTML><HEAD></HEAD>
<BODY dir=ltr>
<DIV dir=ltr>
<DIV style="FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: 12pt">
<DIV>Thanks very much!</DIV>
<DIV> </DIV>
<DIV>Using these steps works for me:</DIV>
<DIV> </DIV>
<DIV># cd /usr/src/</DIV>
<DIV># tar zxvf /root/rpmbuild/SOURCES/lustre-2.1.5.tar.gz</DIV>
<DIV># cd lustre-2.1.5/</DIV>
<DIV># ./configure --with-linux=/lib/modules/2.6.32-279.el6.x86_64/build
--disable-server</DIV>
<DIV># make rpms</DIV>
<DIV># cd ~/rpmbuild/RPMS/x86_64</DIV>
<DIV># 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</DIV>
<DIV> </DIV>
<DIV>lustre-client-*.rpm are built this time. </DIV>
<DIV> </DIV>
<DIV>In previous trial, only lustre-*.rpm are built. (no “client” in RPM
name)</DIV>
<DIV> </DIV>
<DIV
style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none">
<DIV style="FONT: 10pt tahoma">
<DIV><FONT size=3 face=Calibri></FONT> </DIV>
<DIV style="BACKGROUND: #f5f5f5">
<DIV style="font-color: black"><B>From:</B> <A title=wjt27@cam.ac.uk
href="mailto:wjt27@cam.ac.uk">Wojciech Turek</A> </DIV>
<DIV><B>Sent:</B> Tuesday, May 28, 2013 12:17 AM</DIV>
<DIV><B>To:</B> <A title=cychan@clustertech.com
href="mailto:cychan@clustertech.com">Chan Ching Yu, Patrick</A> </DIV>
<DIV><B>Cc:</B> <A title=lustre-discuss@lists.lustre.org
href="mailto:lustre-discuss@lists.lustre.org">lustre-discuss@lists.lustre.org</A>
</DIV>
<DIV><B>Subject:</B> Re: [Lustre-discuss] Help on installing Lustre 2.1.5 on
stock CentOS 6.3</DIV></DIV></DIV>
<DIV> </DIV></DIV>
<DIV
style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none">and
ignore <SPAN
style="BACKGROUND-COLOR: rgb(255,255,255); FONT-FAMILY: 'courier new',monospace; COLOR: rgb(34,34,34); FONT-SIZE: 12px">mount
-t proc proc /proc </SPAN>line, this is because I was building it in a chroot'ed
environment.
<DIV>
<DIV> </DIV>
<DIV class=gmail_quote>On 27 May 2013 17:16, Wojciech Turek <SPAN dir=ltr><<A
href="mailto:wjt27@cam.ac.uk" target=_blank>wjt27@cam.ac.uk</A>></SPAN>
wrote:<BR>
<BLOCKQUOTE
style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex"
class=gmail_quote>Hi,
<DIV> </DIV>
<DIV>These are my steps to build patchless client:</DIV>
<DIV> </DIV>
<DIV><FONT face="courier new, monospace"><SPAN
style="COLOR: rgb(34,34,34); FONT-SIZE: 12px"># Lustre 2.1.5 #</SPAN><BR
style="COLOR: rgb(34,34,34); FONT-SIZE: 12px"><SPAN
style="COLOR: rgb(34,34,34); FONT-SIZE: 12px">cd /root/lustre</SPAN><BR
style="COLOR: rgb(34,34,34); FONT-SIZE: 12px"></FONT><SPAN
style="FONT-FAMILY: 'courier new',monospace; COLOR: rgb(34,34,34); FONT-SIZE: 12px">wget
</SPAN><A
style="FONT-FAMILY: 'courier new',monospace; COLOR: rgb(17,85,204); FONT-SIZE: 12px"
href="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"
target=_blank>http://downloads.whamcloud.<U></U>com/public/lustre/latest-<U></U>maintenance-release/el6/<U></U>client/SRPMS/lustre-client-2.<U></U>1.5-2.6.32_279.19.1.el6.x86_<U></U>64.src.rpm</A><FONT
face="courier new, monospace"><BR></FONT><FONT
face="courier new, monospace"><SPAN
style="COLOR: rgb(34,34,34); FONT-SIZE: 12px">rpm -ivh
/root/lustre/lustre-client-2.</SPAN><U
style="COLOR: rgb(34,34,34); FONT-SIZE: 12px"></U><SPAN
style="COLOR: rgb(34,34,34); FONT-SIZE: 12px">1</SPAN><SPAN
style="COLOR: rgb(34,34,34); FONT-SIZE: 12px">.5-2.6.32_279.19.1.el6.x86_</SPAN><U
style="COLOR: rgb(34,34,34); FONT-SIZE: 12px"></U><SPAN
style="COLOR: rgb(34,34,34); FONT-SIZE: 12px">64.</SPAN><SPAN
style="COLOR: rgb(34,34,34); FONT-SIZE: 12px">src.rpm</SPAN><BR
style="COLOR: rgb(34,34,34); FONT-SIZE: 12px"><SPAN
style="COLOR: rgb(34,34,34); FONT-SIZE: 12px">cd /usr/src</SPAN><BR
style="COLOR: rgb(34,34,34); FONT-SIZE: 12px"><SPAN
style="COLOR: rgb(34,34,34); FONT-SIZE: 12px">tar -zxvf
/root/rpmbuild/SOURCES/lustre-</SPAN><U
style="COLOR: rgb(34,34,34); FONT-SIZE: 12px"></U><SPAN
style="COLOR: rgb(34,34,34); FONT-SIZE: 12px">2.1.5.tar.gz</SPAN><BR
style="COLOR: rgb(34,34,34); FONT-SIZE: 12px"><SPAN
style="COLOR: rgb(34,34,34); FONT-SIZE: 12px">cd lustre-2.1.5</SPAN><BR
style="COLOR: rgb(34,34,34); FONT-SIZE: 12px"></FONT><SPAN
style="FONT-FAMILY: 'courier new',monospace; COLOR: rgb(34,34,34); FONT-SIZE: 12px">./configure
--</SPAN><SPAN
style="BACKGROUND-COLOR: rgb(255,255,204); FONT-FAMILY: 'courier new',monospace; COLOR: rgb(34,34,34); FONT-SIZE: 12px">with</SPAN><SPAN
style="FONT-FAMILY: 'courier new',monospace; COLOR: rgb(34,34,34); FONT-SIZE: 12px">-</SPAN><SPAN
style="BACKGROUND-COLOR: rgb(255,255,204); FONT-FAMILY: 'courier new',monospace; COLOR: rgb(34,34,34); FONT-SIZE: 12px">linux</SPAN><SPAN
style="FONT-FAMILY: 'courier new',monospace; COLOR: rgb(34,34,34); FONT-SIZE: 12px">=/lib/modules/$</SPAN><U
style="FONT-FAMILY: 'courier new',monospace; COLOR: rgb(34,34,34); FONT-SIZE: 12px"></U><SPAN
style="FONT-FAMILY: 'courier new',monospace; COLOR: rgb(34,34,34); FONT-SIZE: 12px">KVE</SPAN><SPAN
style="FONT-FAMILY: 'courier new',monospace; COLOR: rgb(34,34,34); FONT-SIZE: 12px">R/build
--</SPAN><SPAN
style="BACKGROUND-COLOR: rgb(255,255,204); FONT-FAMILY: 'courier new',monospace; COLOR: rgb(34,34,34); FONT-SIZE: 12px">with</SPAN><SPAN
style="FONT-FAMILY: 'courier new',monospace; COLOR: rgb(34,34,34); FONT-SIZE: 12px">-o2ib=/usr/src/ofa_</SPAN><U
style="FONT-FAMILY: 'courier new',monospace; COLOR: rgb(34,34,34); FONT-SIZE: 12px"></U><SPAN
style="FONT-FAMILY: 'courier new',monospace; COLOR: rgb(34,34,34); FONT-SIZE: 12px">kerne</SPAN><SPAN
style="FONT-FAMILY: 'courier new',monospace; COLOR: rgb(34,34,34); FONT-SIZE: 12px">l</SPAN><FONT
face="courier new, monospace"><BR><SPAN
style="COLOR: rgb(34,34,34); FONT-SIZE: 12px">mount -t proc proc
/proc</SPAN><BR style="COLOR: rgb(34,34,34); FONT-SIZE: 12px"><SPAN
style="COLOR: rgb(34,34,34); FONT-SIZE: 12px">make rpms</SPAN></FONT>
<DIV>
<DIV class=h5><BR><BR>
<DIV class=gmail_quote> </DIV>
<DIV class=gmail_quote> </DIV>
<DIV class=gmail_quote>On 27 May 2013 17:03, Chan Ching Yu, Patrick <SPAN
dir=ltr><<A href="mailto:cychan@clustertech.com"
target=_blank>cychan@clustertech.com</A>></SPAN> wrote:<BR>
<BLOCKQUOTE
style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex"
class=gmail_quote>
<DIV dir=ltr>
<DIV dir=ltr>
<DIV style="FONT-FAMILY: 'Calibri'; FONT-SIZE: 12pt">
<DIV>Thanks for your quick reply.</DIV>
<DIV> </DIV>
<DIV>However, I’ve tried to add “—disable-server” in SPECS/lustre.spec
file and build it</DIV>
<DIV> </DIV>
<DIV># vi SPEC/lustre.spec</DIV>
<DIV>(....skipped....)</DIV>
<DIV>%define optflags -g -O2 -Werror</DIV>
<DIV>CONFIGURE_ARGS="%{?configure_args} --with-release=%release
--disable-server"</DIV>
<DIV>%if %{build_lustre_tests}</DIV>
<DIV>CONFIGURE_ARGS="$CONFIGURE_ARGS --enable-tests
--enable-liblustre-tests"</DIV>
<DIV>%else</DIV>
<DIV>CONFIGURE_ARGS="$CONFIGURE_ARGS --disable-tests
--disable-liblustre-tests"</DIV>
<DIV>%endif</DIV>
<DIV> </DIV>
<DIV># rpmbuild –ba SPEC/lustre.spec</DIV>
<DIV> </DIV>
<DIV># cd ~/rpmbuild/RPMS/x86_64/</DIV>
<DIV>
<DIV># 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</DIV></DIV>
<DIV>
<DIV>error: Failed dependencies:</DIV>
<DIV> lustre-backend-fs is needed
by lustre-modules-2.1.5-2.6.32_279.el6.x86_64.x86_64</DIV>
<DIV> </DIV></DIV>
<DIV>That’s the same. Thx.</DIV>
<DIV> </DIV>
<DIV
style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none">
<DIV style="FONT: 10pt tahoma">
<DIV> </DIV>
<DIV style="BACKGROUND: #f5f5f5">
<DIV><B>From:</B> <A title=wjt27@cam.ac.uk href="mailto:wjt27@cam.ac.uk"
target=_blank>Wojciech Turek</A> </DIV>
<DIV><B>Sent:</B> Monday, May 27, 2013 11:24 PM</DIV>
<DIV><B>To:</B> <A title=cychan@clustertech.com
href="mailto:cychan@clustertech.com" target=_blank>Chan Ching Yu,
Patrick</A> </DIV>
<DIV><B>Cc:</B> <A title=lustre-discuss@lists.lustre.org
href="mailto:lustre-discuss@lists.lustre.org"
target=_blank>lustre-discuss@lists.lustre.org</A> </DIV>
<DIV><B>Subject:</B> Re: [Lustre-discuss] Help on installing Lustre 2.1.5 on
stock CentOS 6.3</DIV></DIV></DIV>
<DIV> </DIV></DIV>
<DIV>
<DIV>
<DIV
style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none">Hi,
<DIV> </DIV>
<DIV>If you building client then you need to add --disable-server to
your ./configure line and that will disable lustre-backend-fs dependency.
</DIV>
<DIV> </DIV>
<DIV>best regards,</DIV>
<DIV> </DIV>
<DIV>Wojciech<BR><BR>
<DIV class=gmail_quote>On 27 May 2013 16:14, Chan Ching Yu, Patrick <SPAN
dir=ltr><<A href="mailto:cychan@clustertech.com"
target=_blank>cychan@clustertech.com</A>></SPAN> wrote:<BR>
<BLOCKQUOTE
style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex"
class=gmail_quote>
<DIV dir=ltr>
<DIV dir=ltr>
<DIV style="FONT-FAMILY: 'Calibri'; FONT-SIZE: 12pt">
<DIV>Hi all,</DIV>
<DIV> </DIV>
<DIV>I tried to install Lustre 2.1.5 client RPM (patchless kernel) on a
CentOS 6.3 machine. </DIV>
<DIV> </DIV>
<DIV>However, in Whamcloud download site (<A
href="http://downloads.whamcloud.com/public/lustre/latest-maintenance-release/el6/client/RPMS/x86_64/"
target=_blank>http://downloads.whamcloud.com/public/lustre/latest-maintenance-release/el6/client/RPMS/x86_64/)</A>,
</DIV>
<DIV>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.</DIV>
<DIV> </DIV>
<DIV>As the kernel version does not match, I tried to build from source
RPM, the rpmbuild is fine:</DIV>
<DIV> </DIV>
<DIV># rpmbuild --rebuild
lustre-client-2.1.5-2.6.32_279.19.1.el6.x86_64.src.rpm</DIV>
<DIV># cd rpmbuild/RPMS/x86_64/</DIV>
<DIV> </DIV>
<DIV>But dependencies error comes out when I install Lustre client
RPMs:</DIV>
<DIV> </DIV>
<DIV># 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</DIV>
<DIV> </DIV>
<DIV>error: Failed dependencies:</DIV>
<DIV> lustre-backend-fs is
needed by lustre-modules-2.1.5-2.6.32_279.el6.x86_64.x86_64</DIV>
<DIV> </DIV>
<DIV>As I know, Lustre client does not need lustre-backend-fs. Why does
this error occur? Thx.</DIV><SPAN><FONT color=#888888>
<DIV> </DIV>
<DIV>CY</DIV></FONT></SPAN></DIV></DIV></DIV><BR>_______________________________________________<BR>Lustre-discuss
mailing list<BR><A href="mailto:Lustre-discuss@lists.lustre.org"
target=_blank>Lustre-discuss@lists.lustre.org</A><BR><A
href="http://lists.lustre.org/mailman/listinfo/lustre-discuss"
target=_blank>http://lists.lustre.org/mailman/listinfo/lustre-discuss</A><BR><BR></BLOCKQUOTE></DIV><BR><BR
clear=all>
<DIV> </DIV>-- <BR>Wojciech Turek<BR><BR>Senior System
Architect<BR><BR>High Performance Computing Service<BR>University of
Cambridge<BR><BR></DIV></DIV></DIV></DIV></DIV></DIV></DIV></BLOCKQUOTE></DIV><BR><BR
clear=all>
<DIV> </DIV>-- <BR>Wojciech Turek<BR><BR>Senior System
Architect<BR><BR>High Performance Computing
Service<BR><BR></DIV></DIV></DIV></BLOCKQUOTE></DIV><BR><BR clear=all>
<DIV> </DIV>-- <BR>Wojciech Turek<BR><BR>Senior System
Architect<BR><BR>High Performance Computing Service<BR>University of
Cambridge<BR><BR></DIV></DIV></DIV></DIV></BODY></HTML>