WARNING: This is the _old_ Lustre wiki, and it is in the process of being retired. The information found here is all likely to be out of date. Please search the new wiki for more up to date information.

Building and Installing Lustre from Source Code

From Obsolete Lustre Wiki
Revision as of 11:57, 23 September 2009 by Docadmin (talk | contribs)
Jump to navigationJump to search

If you are using a Linux kernel that is unsupported by Lustre, you will need to build and install Lustre from source code. This involves several steps:

  • Patching the core kernel
  • Configuring the kernel to work with Lustre
  • Creating Lustre and kernel RPMs from source code.

If you are installing Lustre on a supported Linux kernel, you will find it easier to install Lustre from packaged binaries (RPMs). For more information about this installation method, see Installing Lustre from Downloaded RPMs.

Caution: 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 ALL data.

Note: When using third-party network hardware with Lustre, the third-party modules (typically, the drivers) must be linked against the Linux kernel. The LNET modules in Lustre also need these references. To meet these requirements, a specific process must be followed to install and recompile Lustre. See "Installing Lustre with a Third-Party Network Stack" in the Lustre Operations Manual 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.