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.

Patchless Client: Difference between revisions

From Obsolete Lustre Wiki
Jump to navigationJump to search
(→‎Patchless Client: update versions)
No edit summary
 
(21 intermediate revisions by 4 users not shown)
Line 1: Line 1:
== Patchless Client ==
<small>''(Updated: Oct 2009)''</small>
As of Lustre 1.6.0, Lustre supports running the client modules on most modern "stock" kernels without the need for patches to the client kernel.  Patches are still required to the Lustre '''server''' kernel, but since these nodes generally only run Lustre this is not a major limitation.


We will typically post a "patchless" RPM at the [http://www.sun.com/software/products/lustre/get.jsp download site] and we strongly recommend that these pre-built RPMs are used instead of building your own.
As of Lustre® 1.6.0, Lustre supports running the client modules on most current "stock" kernels without the need for patches to the client kernel.  Patches are still required to the Lustre ''server'' kernel, but since these nodes generally run only Lustre, this is not a major limitation. Pre-built "patchless" RPMs can be found at the [http://downloads.lustre.org/public/lustre/v1.8/ Lustre download site].  


However, if you have to run a kernel on the client that is not one of the supplied kernels, then it is possible to build from source for a wide variety of kernels as listed at the top the lustre/ChangeLog file for that release.  The Lustre configure script will automatically detect the unpatched kernel and disable building the servers.
We strongly recommend that you use a pre-built RPM rather than building your own. However, if you need to run a kernel on the client that is not one of the supported kernels, it is possible to build from source for the kernels listed at the top the Change Log for each release (see [[Lustre Release Information]]).
{| border=1 cellspacing=0
|-
|
<pre>
[lustre]$ ./configure --with-linux=/unpatched/kernel/source
</pre>
|}
=== Versions ===
Currently, the patchless client works with these kernel versions


Vanilla kernel:
The Lustre configure script will automatically detect the unpatched kernel and disable building the servers.
* 2.6.15    (1.6.0)
* 2.6.16    (1.6.0)
* 2.6.17    (1.6.0) Mandriva's 2.6.17 is also reported working.
* 2.6.18    (1.6.0) Debian 4.0 2.6.18 is also reported working
* 2.6.19    (1.6.0)
* 2.6.20    (1.6.1 [https://bugzilla.lustre.org/show_bug.cgi?id=11647 bug 11647])
* 2.6.21    (1.6.1 [https://bugzilla.lustre.org/show_bug.cgi?id=11647 bug 11647])
* 2.6.22    (1.6.1 [https://bugzilla.lustre.org/show_bug.cgi?id=11647 bug 12764])
* 2.6.23+  (tbd [https://bugzilla.lustre.org/show_bug.cgi?id=14250 bug 14250])


Red Hat Enterprise Linux:
[lustre]$ ./configure --with-linux=/unpatched/kernel/source
* RHEL4 [2.6.9-42.0.8EL] (1.6.0) with the following caveats:
  - Nested Symlinks: due to improper lookup_continue logic with unpatched 2.6.15
    kernels and earlier, nested symlinks will lead to unpredictable results
  - FMODE_EXEC missing: Lustre will incorrectly allow a user from one client to
    write/truncate a binary simultaneously while a user from a different client
    executes the same binary
* RHEL4U5 [2.6.9-55EL]  (1.6.0) Red Hat has included a number of fixes that allow Lustre to run with RHEL4U5 which resolves the above issues.
* RHEL5 [2.6.18-67.0.22]  (1.6.1 [https://bugzilla.lustre.org/show_bug.cgi?id=11647 bug 11647])
 
Fedora Core:
* FC6 [2.6.18]  (1.6.1 [https://bugzilla.lustre.org/show_bug.cgi?id=11647 bug 11647])
 
Suse:
* SLES 10 [2.6.16-60.0-31]  (1.6.4 [https://bugzilla.lustre.org/show_bug.cgi?id=12411 bug 12411]))


=== Versions ===
See the [http://wiki.lustre.org/index.php/Lustre_Release_Information#Lustre_Test_Matrix Lustre Test Matrix] for a list of kernels that are known to work with patchless Lustre clients.  Note that Oracle does not test all of these kernel versions with each Lustre release, but it is expected that kernels between the oldest and newest listed versions work with a given Lustre release.


=== Known Issues ===
=== Known Issues ===


many NFS-related bugs are also addressed by the patchless client fixes.
Many NFS-related bugs are also addressed by the patchless client fixes.

Latest revision as of 15:38, 24 July 2013

(Updated: Oct 2009)

As of Lustre® 1.6.0, Lustre supports running the client modules on most current "stock" kernels without the need for patches to the client kernel. Patches are still required to the Lustre server kernel, but since these nodes generally run only Lustre, this is not a major limitation. Pre-built "patchless" RPMs can be found at the Lustre download site.

We strongly recommend that you use a pre-built RPM rather than building your own. However, if you need to run a kernel on the client that is not one of the supported kernels, it is possible to build from source for the kernels listed at the top the Change Log for each release (see Lustre Release Information).

The Lustre configure script will automatically detect the unpatched kernel and disable building the servers.

[lustre]$ ./configure --with-linux=/unpatched/kernel/source 

Versions

See the Lustre Test Matrix for a list of kernels that are known to work with patchless Lustre clients. Note that Oracle does not test all of these kernel versions with each Lustre release, but it is expected that kernels between the oldest and newest listed versions work with a given Lustre release.

Known Issues

Many NFS-related bugs are also addressed by the patchless client fixes.