23.07.2014 Views

Lustre 1.6 Operations Manual

Lustre 1.6 Operations Manual

Lustre 1.6 Operations Manual

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

For example, the lustre/kernel_patches/series/rh-2.4.20 file lists all<br />

patches that should be applied to the Red Hat 2.4.20 kernel to build a <strong>Lustre</strong>compatible<br />

kernel.<br />

The current set of all the supported kernels and their corresponding patch series can<br />

be found in the lustre/kernel_patches/which_patch file.<br />

4.3.1.2 Installing Quilt<br />

A variety of Quilt packages (RPMs, SRPMs and tarballs) are available from various<br />

sources. We recommend that you use a recent version of Quilt. If possible, use a<br />

Quilt package from your distribution vendor.<br />

If you cannot find an appropriate Quilt package or fulfill its dependencies, we<br />

suggest that you build Quilt from the tarball. You can download the tarball from the<br />

main Quilt website:<br />

http://savannah.nongnu.org/projects/quilt<br />

Note – The latest <strong>Lustre</strong> release works with the latest Linux kernel distribution. If<br />

you use the pre-patched kernel from an older <strong>Lustre</strong> release or the kernel patches<br />

against a different kernel, you can build a more recent <strong>Lustre</strong> release against it.<br />

4.3.1.3 Preparing the Kernel Tree Using Quilt<br />

To prepare the kernel tree to use Quilt:<br />

1. After acquiring the <strong>Lustre</strong> source (CVS or tarball) and choosing a series file to<br />

match your kernel sources, choose a kernel config file.<br />

The lustre/kernel_patches/kernel_configs folder contains supported<br />

.config files, which are named to indicate which kernel and architecture with<br />

which they are associated. For example, the configuration file for the 2.6.9 kernel<br />

shipped with RHEL 4 (suitable for x86_64 SMP systems) is:<br />

kernel-2.6.9-2.6-rhel4-x86_64-smp.config<br />

2. Unpack the appropriate kernel source tree.<br />

This manual assumes that the resulting source tree (referred to as the destination<br />

tree) is in /tmp/kernels/linux-2.6.9<br />

You are ready to use Quilt to manage the patching process for your kernel.<br />

3. Perform the following commands to set up the necessary symlinks between the<br />

<strong>Lustre</strong> kernel patches and your kernel sources (assuming the <strong>Lustre</strong> sources are<br />

unpacked under /tmp/lustre-1.4.7.3 and you have chosen the 2.6-rhel4 series):<br />

4-16 <strong>Lustre</strong> <strong>1.6</strong> <strong>Operations</strong> <strong>Manual</strong> • September 2008

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!