Hi,<div><br></div><div>These are my steps to build patchless client:</div><div><br></div><div><font face="courier new, monospace"><span style="color:rgb(34,34,34);font-size:12.727272033691406px;background-color:rgb(255,255,255)"># Lustre 2.1.5 #</span><br style="color:rgb(34,34,34);font-size:12.727272033691406px;background-color:rgb(255,255,255)">
<span style="color:rgb(34,34,34);font-size:12.727272033691406px;background-color:rgb(255,255,255)">cd /root/lustre</span><br style="color:rgb(34,34,34);font-size:12.727272033691406px;background-color:rgb(255,255,255)"></font><span style="font-size:12.727272033691406px;font-family:'courier new',monospace;color:rgb(34,34,34);background-color:rgb(255,255,255)">wget </span><a 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" style="font-size:12.727272033691406px;font-family:'courier new',monospace;color:rgb(17,85,204);background-color:rgb(255,255,255)">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:12.727272033691406px;background-color:rgb(255,255,255)">rpm -ivh /root/lustre/lustre-client-2.</span><u style="color:rgb(34,34,34);font-size:12.727272033691406px;background-color:rgb(255,255,255)"></u><span style="color:rgb(34,34,34);font-size:12.727272033691406px;background-color:rgb(255,255,255)">1</span><span style="color:rgb(34,34,34);font-size:12.727272033691406px;background-color:rgb(255,255,255)">.5-2.6.32_279.19.1.el6.x86_</span><u style="color:rgb(34,34,34);font-size:12.727272033691406px;background-color:rgb(255,255,255)"></u><span style="color:rgb(34,34,34);font-size:12.727272033691406px;background-color:rgb(255,255,255)">64.</span><span style="color:rgb(34,34,34);font-size:12.727272033691406px;background-color:rgb(255,255,255)">src.rpm</span><br style="color:rgb(34,34,34);font-size:12.727272033691406px;background-color:rgb(255,255,255)">
<span style="color:rgb(34,34,34);font-size:12.727272033691406px;background-color:rgb(255,255,255)">cd /usr/src</span><br style="color:rgb(34,34,34);font-size:12.727272033691406px;background-color:rgb(255,255,255)"><span style="color:rgb(34,34,34);font-size:12.727272033691406px;background-color:rgb(255,255,255)">tar -zxvf /root/rpmbuild/SOURCES/lustre-</span><u style="color:rgb(34,34,34);font-size:12.727272033691406px;background-color:rgb(255,255,255)"></u><span style="color:rgb(34,34,34);font-size:12.727272033691406px;background-color:rgb(255,255,255)">2.1.5.tar.gz</span><br style="color:rgb(34,34,34);font-size:12.727272033691406px;background-color:rgb(255,255,255)">
<span style="color:rgb(34,34,34);font-size:12.727272033691406px;background-color:rgb(255,255,255)">cd lustre-2.1.5</span><br style="color:rgb(34,34,34);font-size:12.727272033691406px;background-color:rgb(255,255,255)"></font><span style="font-family:'courier new',monospace;font-size:12.727272033691406px;color:rgb(34,34,34);background-color:rgb(255,255,255)">./configure --</span><span class="il" style="font-family:'courier new',monospace;font-size:12.727272033691406px;background-color:rgb(255,255,204);color:rgb(34,34,34)">with</span><span style="font-family:'courier new',monospace;font-size:12.727272033691406px;color:rgb(34,34,34);background-color:rgb(255,255,255)">-</span><span class="il" style="font-family:'courier new',monospace;font-size:12.727272033691406px;background-color:rgb(255,255,204);color:rgb(34,34,34)">linux</span><span style="font-family:'courier new',monospace;font-size:12.727272033691406px;color:rgb(34,34,34);background-color:rgb(255,255,255)">=/lib/modules/$</span><u style="font-family:'courier new',monospace;font-size:12.727272033691406px;color:rgb(34,34,34);background-color:rgb(255,255,255)"></u><span style="font-family:'courier new',monospace;font-size:12.727272033691406px;color:rgb(34,34,34);background-color:rgb(255,255,255)">KVE</span><span style="font-family:'courier new',monospace;font-size:12.727272033691406px;color:rgb(34,34,34);background-color:rgb(255,255,255)">R/build --</span><span class="il" style="font-family:'courier new',monospace;font-size:12.727272033691406px;background-color:rgb(255,255,204);color:rgb(34,34,34)">with</span><span style="font-family:'courier new',monospace;font-size:12.727272033691406px;color:rgb(34,34,34);background-color:rgb(255,255,255)">-o2ib=/usr/src/ofa_</span><u style="font-family:'courier new',monospace;font-size:12.727272033691406px;color:rgb(34,34,34);background-color:rgb(255,255,255)"></u><span style="font-family:'courier new',monospace;font-size:12.727272033691406px;color:rgb(34,34,34);background-color:rgb(255,255,255)">kerne</span><span style="font-family:'courier new',monospace;font-size:12.727272033691406px;color:rgb(34,34,34);background-color:rgb(255,255,255)">l</span><font face="courier new, monospace"><br>
<span style="color:rgb(34,34,34);font-size:12.727272033691406px;background-color:rgb(255,255,255)">mount -t proc proc /proc</span><br style="color:rgb(34,34,34);font-size:12.727272033691406px;background-color:rgb(255,255,255)">
<span style="color:rgb(34,34,34);font-size:12.727272033691406px;background-color:rgb(255,255,255)">make rpms</span></font><br><br><div class="gmail_quote"><br></div><div class="gmail_quote"><br></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 class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div dir="ltr">
<div dir="ltr">
<div style="font-size:12pt;font-family:'Calibri'">
<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 class="im">
<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 class="im"><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-size:small;font-style:normal;text-decoration:none;font-family:'Calibri';display:inline;font-weight:normal">
<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 class="h5">
<div style="font-size:small;font-style:normal;text-decoration:none;font-family:'Calibri';display:inline;font-weight:normal">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><br></div>-- <br>Wojciech Turek<br><br>Senior System Architect<br><br>High Performance Computing Service<br><br></div>