<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.lustre.org/index.php?action=history&amp;feed=atom&amp;title=Building_and_Installing_Lustre_from_Source_Code</id>
	<title>Building and Installing Lustre from Source Code - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.lustre.org/index.php?action=history&amp;feed=atom&amp;title=Building_and_Installing_Lustre_from_Source_Code"/>
	<link rel="alternate" type="text/html" href="http://wiki.lustre.org/index.php?title=Building_and_Installing_Lustre_from_Source_Code&amp;action=history"/>
	<updated>2026-07-24T16:21:43Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.7</generator>
	<entry>
		<id>http://wiki.lustre.org/index.php?title=Building_and_Installing_Lustre_from_Source_Code&amp;diff=5350&amp;oldid=prev</id>
		<title>Paf at 16:56, 27 December 2025</title>
		<link rel="alternate" type="text/html" href="http://wiki.lustre.org/index.php?title=Building_and_Installing_Lustre_from_Source_Code&amp;diff=5350&amp;oldid=prev"/>
		<updated>2025-12-27T16:56:43Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 09:56, 27 December 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{| class=&amp;#039;wikitable&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{| class=&amp;#039;wikitable&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;!Note: This page &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;originated on the old Lustre &lt;/del&gt;wiki. &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;It was identified as likely having value and was migrated to the new wiki&lt;/del&gt;. &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;It is in the process of being reviewed&lt;/del&gt;/&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;updated and may currently have &lt;/del&gt;content &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;that is out of date&lt;/del&gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;!Note: This page &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;is extremely out of date and should not be used.  The instructions here should be replaced with content from https://&lt;/ins&gt;wiki.&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;whamcloud&lt;/ins&gt;.&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;com/pages&lt;/ins&gt;/&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;viewpage.action?pageId=8556051 or new &lt;/ins&gt;content.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key wiki_lustre_org:diff::1.12:old-1775:rev-5350 --&gt;
&lt;/table&gt;</summary>
		<author><name>Paf</name></author>
	</entry>
	<entry>
		<id>http://wiki.lustre.org/index.php?title=Building_and_Installing_Lustre_from_Source_Code&amp;diff=1775&amp;oldid=prev</id>
		<title>KenRawlings: page creation as part of wiki migration effort</title>
		<link rel="alternate" type="text/html" href="http://wiki.lustre.org/index.php?title=Building_and_Installing_Lustre_from_Source_Code&amp;diff=1775&amp;oldid=prev"/>
		<updated>2016-06-15T14:38:53Z</updated>

		<summary type="html">&lt;p&gt;page creation as part of wiki migration effort&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{| class=&amp;#039;wikitable&amp;#039;&lt;br /&gt;
|- &lt;br /&gt;
!Note: This page originated on the old Lustre wiki. It was identified as likely having value and was migrated to the new wiki. It is in the process of being reviewed/updated and may currently have content that is out of date.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;small&amp;gt;&amp;#039;&amp;#039;(Updated: Feb 2010)&amp;#039;&amp;#039;&amp;lt;/small&amp;gt;&lt;br /&gt;
__TOC__&lt;br /&gt;
If you need to build a customized Lustre™ server kernel or are using a Linux kernel that has not been tested with the version of Lustre you are installing, you may need to build and install Lustre from source code. This involves several steps:&lt;br /&gt;
* Patching the core kernel&lt;br /&gt;
* Configuring the kernel to work with Lustre&lt;br /&gt;
* Creating Lustre and kernel RPMs from source code. &lt;br /&gt;
&lt;br /&gt;
Please note that the Lustre/kernel configurations available at the [http://www.oracle.com/technetwork/indexes/downloads/sun-az-index-095901.html#L Lustre download site] have been extensively tested and verified with Lustre. The recommended method for installing Lustre servers is to use these prebuilt binary packages (RPMs). For more information about this installation method, see [[Installing Lustre from Downloaded RPMs]].&lt;br /&gt;
&lt;br /&gt;
For a list of available RPMs for Lustre 1.8.x and the latest version of Lustre 1.6 (1.6.7.2), see the [[Lustre_Release_Information#Lustre_Support_Matrix|Lustre Test Matrix]].&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;Caution:&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;  Lustre contains kernel modifications which interact with storage devices and may introduce security issues and data loss if not installed, configured and administered correctly. Before installing Lustre, be cautious and back up &amp;#039;&amp;#039;ALL&amp;#039;&amp;#039; data.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;Note:&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039; When using third-party network hardware with Lustre, the third-party&lt;br /&gt;
modules (typically, the drivers) must be linked against the Linux kernel. The LNET&lt;br /&gt;
modules in Lustre also need these references. To meet these requirements, a specific&lt;br /&gt;
process must be followed to install and recompile Lustre. See [http://wiki.lustre.org/manual/LustreManual20_HTML/InstallingLustrefrSourceCode.html#50438210_pgfId-1299622 Section 29.4: &amp;#039;&amp;#039;Installing Lustre with a Third-Party Network Stack&amp;#039;&amp;#039;] in the [http://wiki.lustre.org/manual/LustreManual20_HTML/index.html &amp;#039;&amp;#039;Lustre Operations Manual&amp;#039;&amp;#039;] for an example showing how to install Lustre 1.6.6 using the Myricom MX 1.2.7 driver. The same process can be used for other third party network stacks.&lt;br /&gt;
&lt;br /&gt;
== Patching the Kernel ==&lt;br /&gt;
If you are using non-standard hardware, plan to apply a Lustre patch, or have&lt;br /&gt;
another reason not to use packaged Lustre binaries, you have to apply several Lustre&lt;br /&gt;
patches to the core kernel and run the Lustre configure script against the kernel.&lt;br /&gt;
&lt;br /&gt;
===Introducing the Quilt Utility===&lt;br /&gt;
To simplify the process of applying Lustre patches to the kernel, we recommend that you use the Quilt utility.&lt;br /&gt;
&lt;br /&gt;
Quilt manages a stack of patches on a single source tree. A series file lists the patch files and the order in which they are applied. Patches are applied, incrementally, on the base tree and all preceding patches. You can:&lt;br /&gt;
* Apply patches from the stack (&amp;#039;&amp;#039;quilt push&amp;#039;&amp;#039;) &lt;br /&gt;
* Remove patches from the stack (&amp;#039;&amp;#039;quilt pop&amp;#039;&amp;#039;)&lt;br /&gt;
* Query the contents of the series file (&amp;#039;&amp;#039;quilt series&amp;#039;&amp;#039;), the contents of the stack (&amp;#039;&amp;#039;quilt applied&amp;#039;&amp;#039;, &amp;#039;&amp;#039;quilt previous&amp;#039;&amp;#039;, &amp;#039;&amp;#039;quilt top&amp;#039;&amp;#039;), and the patches that are not applied at a particular moment (&amp;#039;&amp;#039;quilt next&amp;#039;&amp;#039;, &amp;#039;&amp;#039;quilt unapplied&amp;#039;&amp;#039;). &lt;br /&gt;
* Edit and refresh (&amp;#039;&amp;#039;update&amp;#039;&amp;#039;) patches with Quilt, as well as revert inadvertent changes, and fork or clone patches and show the diffs before and after work.&lt;br /&gt;
&lt;br /&gt;
A variety of Quilt packages (RPMs, SRPMs and tarballs) are available from various&lt;br /&gt;
sources. Use the most recent version you can find. Quilt depends on several other&lt;br /&gt;
utilities, e.g., the &amp;#039;&amp;#039;coreutils&amp;#039;&amp;#039; RPM available only in RedHat 9. For other RedHat&lt;br /&gt;
kernels, you have to get the required packages to successfully install Quilt.&lt;br /&gt;
If you cannot locate a Quilt package or fulfill its dependencies, you can build Quilt&lt;br /&gt;
from a tarball, available at the [http://savannah.nongnu.org/projects/quilt Quilt project website].&lt;br /&gt;
&lt;br /&gt;
For additional information on using Quilt, including its commands, see the [http://www.suse.de/~agruen/quilt.pdf Introduction to Quilt] and the [http://linux.die.net/man/1/quilt quilt(1) man page].&lt;br /&gt;
&lt;br /&gt;
===Get the Lustre Source and Unpatched Kernel===&lt;br /&gt;
The Lustre Engineering Team has targeted several Linux kernels for use with Lustre servers (MDS/OSS) and provides a series of patches for each one. The Lustre patches are maintained in the &amp;#039;&amp;#039;kernel_patch&amp;#039;&amp;#039; directory bundled with the Lustre source code.  &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;Note:&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039; Each patch series has been tailored to a specific kernel version, and may or may not apply cleanly to other versions of the kernel.&lt;br /&gt;
&lt;br /&gt;
To obtain the Lustre source and unpatched kernel:&lt;br /&gt;
&lt;br /&gt;
1. &amp;#039;&amp;#039;Verify that all of the Lustre installation requirements have been met.&amp;#039;&amp;#039;&lt;br /&gt;
For more information on these prerequisites, see [[Preparing to Install Lustre]].&lt;br /&gt;
&lt;br /&gt;
2. &amp;#039;&amp;#039;Download the Lustre source code.&amp;#039;&amp;#039; On the [http://www.oracle.com/technetwork/indexes/downloads/sun-az-index-095901.html#L Lustre download site], select a version of Lustre to download and then select &amp;#039;&amp;#039;Source&amp;#039;&amp;#039; as the platform.&lt;br /&gt;
&lt;br /&gt;
4. &amp;#039;&amp;#039;Download the unpatched kernel.&amp;#039;&amp;#039; &lt;br /&gt;
&lt;br /&gt;
For convenience, Sun maintains an archive of unpatched kernel sources at [http://downloads.lustre.org/public/kernels/ http://downloads.lustre.org/public/kernels/]. &lt;br /&gt;
&lt;br /&gt;
5. &amp;#039;&amp;#039;To save time later, download &amp;#039;&amp;#039;e2fsprogs&amp;#039;&amp;#039; now.&lt;br /&gt;
&lt;br /&gt;
The source code for Sun&amp;#039;s Lustre-enabled &amp;#039;&amp;#039;e2fsprogs&amp;#039;&amp;#039; distribution can be found at [http://downloads.lustre.org/public/tools/e2fsprogs/ http://downloads.lustre.org/public/tools/e2fsprogs/]&lt;br /&gt;
&lt;br /&gt;
===Patch the Kernel===&lt;br /&gt;
This procedure describes how to use Quilt to apply the Lustre patches to the kernel.&lt;br /&gt;
To illustrate the steps in this procedure, a RHEL 5 kernel is patched for Lustre&lt;br /&gt;
1.6.5.1.&lt;br /&gt;
&lt;br /&gt;
1. &amp;#039;&amp;#039;Unpack the Lustre source and kernel to separate source trees.&amp;#039;&amp;#039; &lt;br /&gt;
&lt;br /&gt;
: a. &amp;#039;&amp;#039;Unpack the Lustre source.&amp;#039;&amp;#039; For this procedure, we assume that the resulting source tree is in &amp;#039;&amp;#039;/tmp/lustre-1.6.5.1&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
: b. &amp;#039;&amp;#039;Unpack the kernel.&amp;#039;&amp;#039; For this procedure, we assume that the resulting source tree (also known as the destination tree) is in &amp;#039;&amp;#039;/tmp/kernels/linux-2.6.18&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
2. Select a config file for your kernel, located in the &amp;#039;&amp;#039;kernel_configs&amp;#039;&amp;#039; directory&lt;br /&gt;
(&amp;#039;&amp;#039;lustre/kernel_patches/kernel_config&amp;#039;&amp;#039;). The &amp;#039;&amp;#039;kernel_config&amp;#039;&amp;#039; directory contains the &amp;#039;&amp;#039;.config&amp;#039;&amp;#039; files, which are named to indicate the kernel and architecture with which they are associated. For example, the configuration file for the 2.6.18 kernel shipped with RHEL 5 (suitable for i686 SMP systems) is &amp;#039;&amp;#039;kernel-2.6.18-2.6-rhel5-i686-smp.config&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
3. Select the &amp;#039;&amp;#039;series&amp;#039;&amp;#039; file for your kernel, located in the &amp;#039;&amp;#039;series&amp;#039;&amp;#039; directory&lt;br /&gt;
(&amp;#039;&amp;#039;lustre/kernel_patches/series&amp;#039;&amp;#039;). The &amp;#039;&amp;#039;series&amp;#039;&amp;#039; file contains the patches that need to be applied to the kernel.&lt;br /&gt;
&lt;br /&gt;
4. Set up the necessary symlinks between the kernel patches and the Lustre&lt;br /&gt;
source. This example assumes that the Lustre source files are unpacked under &amp;#039;&amp;#039;/tmp/lustre-1.6.5.1&amp;#039;&amp;#039; and you have chosen the &amp;#039;&amp;#039;2.6-rhel5.series&amp;#039;&amp;#039; file. Run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd /tmp/kernels/linux-2.6.18&lt;br /&gt;
$ rm -f patches series&lt;br /&gt;
$ ln -s /tmp/lustre-1.6.5.1/lustre/kernel_patches/series/2.6-rhel5.series ./series&lt;br /&gt;
$ ln -s /tmp/lustre-1.6.5.1/lustre/kernel_patches/patches .&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
5. Use Quilt to apply the patches in the selected &amp;#039;&amp;#039;series&amp;#039;&amp;#039; file to the unpatched&lt;br /&gt;
kernel. Run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd /tmp/kernels/linux-2.6.18&lt;br /&gt;
$ quilt push -av&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The patched destination tree acts as a base Linux source tree for Lustre.&lt;br /&gt;
&lt;br /&gt;
===Create and Install the Lustre Packages===&lt;br /&gt;
&lt;br /&gt;
After patching the kernel, configure it to work with Lustre, create the Lustre&lt;br /&gt;
packages (RPMs) and install them.&lt;br /&gt;
&lt;br /&gt;
1. Configure the patched kernel to run with Lustre. Run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd &amp;lt;path to kernel tree&amp;gt;&lt;br /&gt;
$ cp /boot/config-‘uname -r‘ .config&lt;br /&gt;
$ make oldconfig || make menuconfig&lt;br /&gt;
$ make include/asm&lt;br /&gt;
$ make include/linux/version.h&lt;br /&gt;
$ make SUBDIRS=scripts&lt;br /&gt;
$ make include/linux/utsrelease.h&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
2. Run the Lustre configure script against the patched kernel and create the&lt;br /&gt;
Lustre packages.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd &amp;lt;path to lustre source tree&amp;gt;&lt;br /&gt;
$ ./configure --with-linux=&amp;lt;path to kernel tree&amp;gt;&lt;br /&gt;
$ make rpms&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This creates a set of &amp;#039;&amp;#039;.rpms&amp;#039;&amp;#039; in &amp;#039;&amp;#039;/usr/src/redhat/RPMS/&amp;lt;arch&amp;gt;&amp;#039;&amp;#039; with an&lt;br /&gt;
appended date-stamp. The SuSE path is &amp;#039;&amp;#039;/usr/src/packages&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;Note:&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039; You do not need to run the Lustre configure script against an unpatched&lt;br /&gt;
kernel.&lt;br /&gt;
&lt;br /&gt;
Example set of RPMs:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
lustre-1.6.5.1-\&lt;br /&gt;
2.6.18_53.xx.xx.el5_lustre.1.6.5.1.custom_20081021.i686.rpm&lt;br /&gt;
lustre-debuginfo-1.6.5.1-\&lt;br /&gt;
2.6.18_53.xx.xx.el5_lustre.1.6.5.1.custom_20081021.i686.rpm&lt;br /&gt;
lustre-modules-1.6.5.1-\&lt;br /&gt;
2.6.18_53.xx.xxel5_lustre.1.6.5.1.custom_20081021.i686.rpm&lt;br /&gt;
lustre-source-1.6.5.1-\&lt;br /&gt;
2.6.18_53.xx.xx.el5_lustre.1.6.5.1.custom_20081021.i686.rpm&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;Note:&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039; If the steps to create the RPMs fail, contact Lustre Support by reporting a bug (see [[Reporting Bugs]]).&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;Note:&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039; Lustre supports several features and packages that extend the core functionality of Lustre. These features/packages can be enabled at the build time by issuing appropriate arguments to the &amp;#039;&amp;#039;configure&amp;#039;&amp;#039; command. For a list of supported features and packages, run &amp;#039;&amp;#039;./configure –help&amp;#039;&amp;#039; in the Lustre source tree. The &amp;#039;&amp;#039;configs/&amp;#039;&amp;#039; directory of the kernel source contains the config files matching each the kernel version. Copy one to &amp;#039;&amp;#039;.config&amp;#039;&amp;#039; at the root of the kernel tree.&lt;br /&gt;
&lt;br /&gt;
3. &amp;#039;&amp;#039;Create the kernel package.&amp;#039;&amp;#039; Navigate to the kernel source directory and run:&lt;br /&gt;
&lt;br /&gt;
 $ make rpm&lt;br /&gt;
&lt;br /&gt;
Example result:&lt;br /&gt;
&lt;br /&gt;
 kernel-2.6.95.0.3.EL_lustre.1.6.5.1custom-1.i686.rpm&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;Note:&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039; Step 3 is only valid for RedHat and SuSE kernels. If you are using a stock Linux kernel, you need to get a script to create the kernel RPM.&lt;br /&gt;
&lt;br /&gt;
4. &amp;#039;&amp;#039;Install the Lustre packages.&amp;#039;&amp;#039; Some Lustre packages are installed on servers (MDS and OSSs), and others are installed on Lustre clients. For guidance on where to install specific packages, see [[Lustre Packages]]. &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;Note:&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;  Running the patched server kernel on the clients is optional. It is not necessary unless the clients will be used for multiple purposes, for example, to run as a client and an OST.&lt;br /&gt;
&lt;br /&gt;
Lustre packages should be installed in this order:&lt;br /&gt;
&lt;br /&gt;
:a. &amp;#039;&amp;#039;Install the kernel, modules and ldiskfs packages.&amp;#039;&amp;#039; Navigate to the directory where the RPMs are stored, and use the &amp;#039;&amp;#039;rpm -ivh&amp;#039;&amp;#039; command to install the kernel, module and &amp;#039;&amp;#039;ldiskfs&amp;#039;&amp;#039; packages.&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;pre&amp;gt;$ rpm -ivh kernel-lustre-smp-&amp;lt;ver&amp;gt; \&lt;br /&gt;
;kernel-ib-&amp;lt;ver&amp;gt; \&lt;br /&gt;
;lustre-modules-&amp;lt;ver&amp;gt; \&lt;br /&gt;
;lustre-ldiskfs-&amp;lt;ver&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
: b. &amp;#039;&amp;#039;Install the utilities/userspace packages.&amp;#039;&amp;#039; Use the &amp;#039;&amp;#039;rpm -ivh&amp;#039;&amp;#039; command to install the utilities packages. For example:&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;pre&amp;gt;$ rpm -ivh lustre-&amp;lt;ver&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
: c. &amp;#039;&amp;#039;Install the&amp;#039;&amp;#039; e2fsprogs &amp;#039;&amp;#039;package.&amp;#039;&amp;#039; Make sure the &amp;#039;&amp;#039;e2fsprogs&amp;#039;&amp;#039; package downloaded in Step 5 is unpacked, and use the &amp;#039;&amp;#039;rpm -i&amp;#039;&amp;#039; command to install it. For example:&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;pre&amp;gt;$ rpm -i e2fsprogs-&amp;lt;ver&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you want to add any optional packages to your Lustre file system, install them&lt;br /&gt;
now.&lt;br /&gt;
&lt;br /&gt;
5. &amp;#039;&amp;#039;Verify that the boot loader (&amp;#039;&amp;#039;grub.conf &amp;#039;&amp;#039;or&amp;#039;&amp;#039; lilo.conf&amp;#039;&amp;#039;) has been updated to load the patched kernel.&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
6. &amp;#039;&amp;#039;Reboot the patched clients and the servers.&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
: a. &amp;#039;&amp;#039;If you applied the patched kernel to any clients, reboot them.&amp;#039;&amp;#039; Unpatched clients do not need to be rebooted.&lt;br /&gt;
: b. &amp;#039;&amp;#039;Reboot the servers.&amp;#039;&amp;#039; Once all the machines have rebooted, the next steps are to configure Lustre Networking (LNET) and the Lustre file system. See [[Configuring the Lustre File System]].&lt;/div&gt;</summary>
		<author><name>KenRawlings</name></author>
	</entry>
</feed>