<div dir="ltr">Hi Parag,<div><br></div><div>I just did this for Lustre 2.10.1 and ZFS 0.7.2.  Make sure you have all the various "build" rpms (and various -devel rpms) installed.  (See lots of good info at <a href="http://wiki.lustre.org/Compiling_Lustre">http://wiki.lustre.org/Compiling_Lustre</a> )</div><div><br></div><div>Below is what I did for my build.</div><div><br></div><div>Made a Lustre_release directory</div><div><br></div><div>Use git to checkout out lustre source in ~/Lustre_release  (See Compiling_Lustre URL above for details)</div><div><div><br></div><div>1) cd /root/Lustre_release</div><div><br></div><div>Verifty git is working</div><div>2) git status   </div><div><br></div><div>3) git checkout v2_10_1</div><div><br></div><div>4) ./autogen.sh</div><div><br></div><div>5) ./configure</div><div><br></div><div>6) make rpms</div><div><br></div><div>7) Move the src rpm to ~/rpmbuild/SRPMS/</div><div><br></div><div>8) Install this src rpm via 'rpm -ivh ~/rpmbuild/SRPMS/...'</div><div><br></div><div>9) Make sure you have the needed kernel RPMS installed for ldiskfs:</div><div><br></div><div>"If you are building using kernel-devel packages and require ldiskfs</div><div>server support then ensure that the matching kernel-debuginfo-common</div><div>and kernel-debuginfo-common-<arch> packages are installed."</div><div>   To get these (if already installed) run:  yum --enablerepo=sl-debuginfo update  </div><div>  (Use yum install if not already installed)</div><div><br></div><div>10) Run the rpmbuild:</div><div><br></div><div>rpmbuild --ba --with zfs --with servers --with ldiskfs ~/rpmbuild/SPECS/lustre.spec</div><div><br></div><div>Hopefully that helps.  </div><div><br></div><div>Shawn</div><div><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Oct 4, 2017 at 5:51 AM, Parag Khuraswar <span dir="ltr"><<a href="mailto:parag_k@citilindia.com" target="_blank">parag_k@citilindia.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="EN-US" link="blue" vlink="purple"><div class="m_5421176469746731449WordSection1"><p class="MsoNormal"><span style="font-size:12.0pt;color:#365f91">Hi All,<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:12.0pt;color:#365f91"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:12.0pt;color:#365f91">I have to rebuild Lustre 2.10.1 rpm for RHEL 7.3. Can you please send the procedure do build or document to build.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:12.0pt;color:#365f91"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:12.0pt;color:#365f91">Regards,<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:12.0pt;color:#365f91">Parag<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:12.0pt;color:#365f91"><u></u> <u></u></span></p><p class="MsoNormal"><u></u> <u></u></p></div></div><br>______________________________<wbr>_________________<br>
lustre-discuss mailing list<br>
<a href="mailto:lustre-discuss@lists.lustre.org">lustre-discuss@lists.lustre.<wbr>org</a><br>
<a href="http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org" rel="noreferrer" target="_blank">http://lists.lustre.org/<wbr>listinfo.cgi/lustre-discuss-<wbr>lustre.org</a><br>
<br></blockquote></div><br></div>