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 <[email protected]>
wrote:

> Oops. Didn’t see the original reference… Apologies ☺.
>
>
>
> Malcolm.
>
>
>
>
>
> *From: *lustre-discuss <[email protected]> on
> behalf of Malcolm Cowe <[email protected]>
> *Date: *Thursday, 5 October 2017 at 8:35 am
> *To: *Shawn McKee <[email protected]>, Parag Khuraswar <
> [email protected]>
> *Cc: *Lustre discussion <[email protected]>
> *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 <[email protected]> on
> behalf of Shawn McKee <[email protected]>
> *Date: *Thursday, 5 October 2017 at 1:07 am
> *To: *Parag Khuraswar <[email protected]>
> *Cc: *Lustre discussion <[email protected]>
> *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 <[email protected]>
> 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
> [email protected]
> http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org
>
>
>
> _______________________________________________
> lustre-discuss mailing list
> [email protected]
> http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org
>
>
_______________________________________________
lustre-discuss mailing list
[email protected]
http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org

Reply via email to