[lustre-discuss] Building Lustre 2.10.1 for RHEL 7.3

Shawn McKee smckee at umich.edu
Wed Oct 4 15:55:59 PDT 2017


No problem!  The instructions are lustre.org are very complete.  I was just
trying to summarize the steps.

Of course my instructions are for those that want to use ZFS and ldiskfs.
Modify the args to rpmbuild to use one or the other if that is what you
want.  We have an MGS/MDT that uses ldiskfs and OSS that use ZFS.

Regards,

Shawn

On Wed, Oct 4, 2017 at 6:37 PM, Cowe, Malcolm J <malcolm.j.cowe at intel.com>
wrote:

> Oops. Didn’t see the original reference… Apologies ☺.
>
>
>
> Malcolm.
>
>
>
>
>
> *From: *lustre-discuss <lustre-discuss-bounces at lists.lustre.org> on
> behalf of Malcolm Cowe <malcolm.j.cowe at intel.com>
> *Date: *Thursday, 5 October 2017 at 8:35 am
> *To: *Shawn McKee <smckee at umich.edu>, Parag Khuraswar <
> parag_k at citilindia.com>
> *Cc: *Lustre discussion <lustre-discuss at lists.lustre.org>
> *Subject: *Re: [lustre-discuss] Building Lustre 2.10.1 for RHEL 7.3
>
>
>
> There’s also a write-up on wiki.lustre.org:
>
>
>
> http://wiki.lustre.org/Compiling_Lustre
>
>
>
> Malcolm.
>
>
>
>
>
> *From: *lustre-discuss <lustre-discuss-bounces at lists.lustre.org> on
> behalf of Shawn McKee <smckee at umich.edu>
> *Date: *Thursday, 5 October 2017 at 1:07 am
> *To: *Parag Khuraswar <parag_k at citilindia.com>
> *Cc: *Lustre discussion <lustre-discuss at lists.lustre.org>
> *Subject: *Re: [lustre-discuss] Building Lustre 2.10.1 for RHEL 7.3
>
>
>
> Hi Parag,
>
>
>
> 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 http://wiki.lustre.org/Compiling_Lustre )
>
>
>
> Below is what I did for my build.
>
>
>
> Made a Lustre_release directory
>
>
>
> Use git to checkout out lustre source in ~/Lustre_release  (See
> Compiling_Lustre URL above for details)
>
>
>
> 1) cd /root/Lustre_release
>
>
>
> Verifty git is working
>
> 2) git status
>
>
>
> 3) git checkout v2_10_1
>
>
>
> 4) ./autogen.sh
>
>
>
> 5) ./configure
>
>
>
> 6) make rpms
>
>
>
> 7) Move the src rpm to ~/rpmbuild/SRPMS/
>
>
>
> 8) Install this src rpm via 'rpm -ivh ~/rpmbuild/SRPMS/...'
>
>
>
> 9) Make sure you have the needed kernel RPMS installed for ldiskfs:
>
>
>
> "If you are building using kernel-devel packages and require ldiskfs
>
> server support then ensure that the matching kernel-debuginfo-common
>
> and kernel-debuginfo-common-<arch> packages are installed."
>
>    To get these (if already installed) run:  yum --enablerepo=sl-debuginfo
> update
>
>   (Use yum install if not already installed)
>
>
>
> 10) Run the rpmbuild:
>
>
>
> rpmbuild --ba --with zfs --with servers --with ldiskfs
> ~/rpmbuild/SPECS/lustre.spec
>
>
>
> Hopefully that helps.
>
>
>
> Shawn
>
>
>
>
>
> On Wed, Oct 4, 2017 at 5:51 AM, Parag Khuraswar <parag_k at citilindia.com>
> wrote:
>
> Hi All,
>
>
>
> 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.
>
>
>
> Regards,
>
> Parag
>
>
>
>
>
>
> _______________________________________________
> lustre-discuss mailing list
> lustre-discuss at lists.lustre.org
> http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org
>
>
>
> _______________________________________________
> lustre-discuss mailing list
> lustre-discuss at lists.lustre.org
> http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lustre.org/pipermail/lustre-discuss-lustre.org/attachments/20171004/9116ed16/attachment-0001.html>


More information about the lustre-discuss mailing list