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.

$ mount -t lustre -L testfs-MDT0000 -o abort_recov /mnt/test/mdt<br />

Note – The recovery process is blocked until all OSTs are available.<br />

4.3 Building from Source<br />

This section describes how to build <strong>Lustre</strong> from source code.<br />

4.3.1 Building Your Own Kernel<br />

If you are using non-standard hardware or <strong>Lustre</strong> Support has asked you to apply a<br />

patch, you need to build your own kernel. <strong>Lustre</strong> requires some changes to the core<br />

Linux kernel. These changes are organized in a set of patches in the<br />

kernel_patches directory of the <strong>Lustre</strong> repository. If you are building your kernel<br />

from the source code, then you need to apply the appropriate patches.<br />

Managing patches for the kernels is a very involved process, because most patches<br />

are intended to work with several kernels. We recommend that you use the Quilt<br />

package developed by Andreas Gruenbacher, as it simplifies the process<br />

considerably. Patch management with Quilt works as follows:<br />

1. A series file lists a collection of patches.<br />

2. The patches in a series form a stack.<br />

3. Using Quilt, you push and pop the patches.<br />

4. You then edit and refresh (update) the patches in the stack that is being<br />

managed with Quilt.<br />

5. You can then revert inadvertent changes and fork or clone the patches and<br />

conveniently show the difference in work (before and after).<br />

4.3.1.1 Selecting a Patch Series<br />

Depending on the kernel being used, a different series of patches needs to be<br />

applied. A collection of different patch series files are maintained for the various<br />

supported kernels in this directory: lustre/kernel_patches/series/. 3<br />

3. This directory is in the <strong>Lustre</strong> tarball.<br />

Chapter 4 <strong>Lustre</strong> Installation 4-15

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

Saved successfully!

Ooh no, something went wrong!