<?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=Configuring_the_Lustre_File_System</id>
	<title>Configuring the Lustre File System - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.lustre.org/index.php?action=history&amp;feed=atom&amp;title=Configuring_the_Lustre_File_System"/>
	<link rel="alternate" type="text/html" href="http://wiki.lustre.org/index.php?title=Configuring_the_Lustre_File_System&amp;action=history"/>
	<updated>2026-08-07T10:14:49Z</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=Configuring_the_Lustre_File_System&amp;diff=1838&amp;oldid=prev</id>
		<title>KenRawlings: added Lustre Configuration Example from old wiki as part of migration</title>
		<link rel="alternate" type="text/html" href="http://wiki.lustre.org/index.php?title=Configuring_the_Lustre_File_System&amp;diff=1838&amp;oldid=prev"/>
		<updated>2016-08-25T14:27:15Z</updated>

		<summary type="html">&lt;p&gt;added Lustre Configuration Example from old wiki as part of migration&lt;/p&gt;
&lt;a href=&quot;http://wiki.lustre.org/index.php?title=Configuring_the_Lustre_File_System&amp;amp;diff=1838&amp;amp;oldid=1832&quot;&gt;Show changes&lt;/a&gt;</summary>
		<author><name>KenRawlings</name></author>
	</entry>
	<entry>
		<id>http://wiki.lustre.org/index.php?title=Configuring_the_Lustre_File_System&amp;diff=1832&amp;oldid=prev</id>
		<title>KenRawlings: Initial creation as part of accelerated wiki migration</title>
		<link rel="alternate" type="text/html" href="http://wiki.lustre.org/index.php?title=Configuring_the_Lustre_File_System&amp;diff=1832&amp;oldid=prev"/>
		<updated>2016-08-10T15:52:42Z</updated>

		<summary type="html">&lt;p&gt;Initial creation as part of accelerated wiki migration&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: Sep 2009)&amp;#039;&amp;#039;&amp;lt;/small&amp;gt;&lt;br /&gt;
__TOC__&lt;br /&gt;
This page describes how to configure a simple Lustre™ file system comprised of a combined MGS/MDT, an OST and a client. The administrative utilities provided with Lustre, however, can be used to set up systems with many different configurations. &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; We recommend that you use dotted-quad (dot-decimal) notation for IP&lt;br /&gt;
addresses (IPv4) rather than host names. This aids in reading debug logs and helps&lt;br /&gt;
when debugging configurations with multiple interfaces.&lt;br /&gt;
&lt;br /&gt;
== Configuring the Lustre File System ==&lt;br /&gt;
This section contains a procedure for configuring the Lustre File System. For an example showing configuration of a Lustre installation comprising a combined MGS/MDT, an OST and a client see the [[Lustre Configuration Example]]. &lt;br /&gt;
&lt;br /&gt;
To configure Lustre Networking (LNET) and the Lustre file&lt;br /&gt;
system, complete these steps:&lt;br /&gt;
&lt;br /&gt;
1. &amp;#039;&amp;#039;Define the module options for Lustre networking (LNET)&amp;#039;&amp;#039; by adding this line&lt;br /&gt;
to the &amp;#039;&amp;#039;/etc/modprobe.conf&amp;#039;&amp;#039; file. The &amp;#039;&amp;#039;modprobe.conf&amp;#039;&amp;#039; file is a Linux file that specifies which parts of the kernel are loaded.&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;pre&amp;gt;options lnet networks=&amp;lt;network interfaces that LNET can use&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:This step restricts LNET to using only the specified network interfaces and prevents LNET from using all network interfaces.&lt;br /&gt;
&lt;br /&gt;
:As an alternative to modifying the &amp;#039;&amp;#039;modprobe.conf&amp;#039;&amp;#039; file, you can modify the &amp;#039;&amp;#039;modprobe.local&amp;#039;&amp;#039; file or the configuration files in the &amp;#039;&amp;#039;modprobe.d&amp;#039;&amp;#039; directory. &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; For details on configuring networking and LNET, see [http://wiki.lustre.org/manual/LustreManual20_HTML/UnderstandingLustreNetworking.html#50438191_pgfId-1289854 Chapter 2: &amp;#039;&amp;#039;Understanding Lustre Networking (LNET&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;].&lt;br /&gt;
&lt;br /&gt;
2. &amp;#039;&amp;#039;(Optional) Prepare the block devices to be used as OSTs or MDTs.&amp;#039;&amp;#039; Depending on the hardware used in the MDS and OSS nodes, you may want to set up a hardware or software RAID to increase the reliability of the Lustre system. For more details on how to set up a hardware or software RAID, see the documentation for your RAID controller or see [http://wiki.lustre.org/manual/LustreManual20_HTML/ConfiguringStorage.html#50438208_pgfId-1289851 Chapter 6: &amp;#039;&amp;#039;Configuring Storage on a Lustre File System&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;].&lt;br /&gt;
&lt;br /&gt;
3. &amp;#039;&amp;#039;Create a combined MGS/MDT file system on the block device.&amp;#039;&amp;#039; On the MDS&lt;br /&gt;
node, run:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;pre&amp;gt;mkfs.lustre --fsname=&amp;lt;fsname&amp;gt; --mgs --mdt &amp;lt;block device name&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:The default file system name (&amp;#039;&amp;#039;fsname&amp;#039;&amp;#039;) is &amp;#039;&amp;#039;lustre&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; If you plan to generate multiple file systems, the MGS should be on its own dedicated block device.&lt;br /&gt;
&lt;br /&gt;
4. &amp;#039;&amp;#039;Mount the combined MGS/MDT file system on the block device.&amp;#039;&amp;#039; On the MDS&lt;br /&gt;
node, run:&lt;br /&gt;
:&amp;lt;pre&amp;gt;mount -t lustre &amp;lt;block device name&amp;gt; &amp;lt;mount point&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
5. &amp;#039;&amp;#039;Create the OST.&amp;#039;&amp;#039; On the OSS node, run:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;pre&amp;gt;mkfs.lustre --ost --fsname=&amp;lt;fsname&amp;gt; --mgsnode=&amp;lt;NID&amp;gt; &amp;lt;block device name&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:You can have as many OSTs per OSS as the hardware or drivers allow.&lt;br /&gt;
&lt;br /&gt;
:You should use only one OST per block device. Optionally, you can create an OST which uses the raw block device and does not require partitioning.&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 block device has more than 8 TB of storage, it must be partitioned due to the ext3 file system limitation. Lustre can support block devices with multiple partitions, but they are not recommended because bottlenecks may result.&lt;br /&gt;
&lt;br /&gt;
6. &amp;#039;&amp;#039;Mount the OST.&amp;#039;&amp;#039; On the OSS node where the OST was created, run:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;pre&amp;gt;mount -t lustre &amp;lt;block device name&amp;gt; &amp;lt;mount point&amp;gt;&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; &amp;#039;&amp;#039;To create additional OSTs, repeat Steps 5 and 6.&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
7. &amp;#039;&amp;#039;Create the client (mount the file system on the client).&amp;#039;&amp;#039; On the client node, run:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;pre&amp;gt;&lt;br /&gt;
;mount -t lustre &amp;lt;MGS node&amp;gt;:/&amp;lt;fsname&amp;gt; &amp;lt;mount point&amp;gt;&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; To create additional clients, repeat Step 7]].&lt;br /&gt;
&lt;br /&gt;
8. &amp;#039;&amp;#039;Verify that the file system started and is working&amp;#039;&amp;#039; by running the UNIX&lt;br /&gt;
commands &amp;#039;&amp;#039;df&amp;#039;&amp;#039;, &amp;#039;&amp;#039;dd&amp;#039;&amp;#039; and &amp;#039;&amp;#039;ls&amp;#039;&amp;#039; on the client node.&lt;br /&gt;
&lt;br /&gt;
:a. &amp;#039;&amp;#039;Run the &amp;#039;&amp;#039;df&amp;#039;&amp;#039; command.&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;pre&amp;gt;&lt;br /&gt;
;[root@client1 /] df -h&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:b. &amp;#039;&amp;#039;Run the &amp;#039;&amp;#039;dd&amp;#039;&amp;#039; command.&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;pre&amp;gt;&lt;br /&gt;
;[root@client1 /] cd /lustre&lt;br /&gt;
;[root@client1 /lustre] dd if=/dev/zero of=/lustre/zero.dat bs=4M count=2&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
c. &amp;#039;&amp;#039;Run the &amp;#039;&amp;#039;ls&amp;#039;&amp;#039; command.&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;pre&amp;gt;&lt;br /&gt;
;[root@client1 /lustre] ls -lsah&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you have a problem mounting the file system, check the syslogs for errors.&lt;br /&gt;
&lt;br /&gt;
== Lustre Configuration Example ==&lt;br /&gt;
&lt;br /&gt;
For an example illustrating the configuration steps described in the previous section for&lt;br /&gt;
a Lustre installation comprising a combined MGS/MDT, an OST and a client, see [[Lustre Configuration Example]].&lt;br /&gt;
&lt;br /&gt;
== Lustre Configuration Utilities  ==&lt;br /&gt;
&lt;br /&gt;
Once the Lustre file system is configured, it is ready for use. If additional configuration is necessary, see [[Lustre System Configuration Utilities]].&lt;/div&gt;</summary>
		<author><name>KenRawlings</name></author>
	</entry>
</feed>