- Create the new Lustre file system

# Create the new Lustre file system

Contents

This section is the last procedure to create the Lustre file system, after performing the previous configuration tasks outlined in this chapter. In this section, you will select servers.

To create the file system:

1. | At the menu bar, click the Configuration drop-down menu and click File Systems to display the File Systems window.

2. | Click Create File System to display New File System Configuration.

3. | In the File system name field, enter the name of the new file system. The name can be no more than eight characters long and should conform to standard Linux naming conventions.

4. | If this file system is to utilize Hierarchical Storage Management, click the check-box Enable HSM.

5. | At step 2, Choose a management target (MGT). Intel® Manager for Lustre* software does not support an MGT larger than 10 gigabytes. If a management target has been created previously, the following options will be available. Use one of these options to select the MGT:

• | If the MGT is to be installed on an existing server in the file system, you can select the target to be used from the Use existing MGT drop-down list.

• | If a new MGT is to be created, click Select Storage to display a list of available servers and then click the server to be used.

Note: The MGT and MDT can be located on the same server. However, they cannot be located on the same volume/target on a server.

6. | At step 3, choose a primary metadata target (MDT) by clicking Select Storage. T hen at the drop-down menu, select the target to be used.

7.

Notice the check-box labeled Add Additional MDTs (DNE). After selecting the primary MDT, you can also add additional MDTs. DNE stands for Distributed Namespace. DNE allows the Lustre namespace to be divided across multiple metadata servers. This enables the size of the namespace and metadata throughput to be scaled with the number of servers. The primary metadata target in a Lustre file system is MDT 0, and added MDTs are consecutively indexed as MDT 1, MDT 2, and so on.
To add an additional MDT, click the check-box. T hen at the drop-down menu, select the additional MDT target or targets to be used. At the end of this process, after creating the file system, you will enter a command to configure this MDT.

Note: You can also add additional MDTs after the file system has been created; see Add additional Metadata Targets. Any added MDT you create will be unavailable for use as an OST.

8. | At step 4, choose the object storage targets (OSTs) for the file system by checking the boxes next to the targets to be included in the system.

9. | Click Create File System now to create the file system.

10. | To follow the process as the file system is created, click on Status on the top menu bar and select Commands. After the file system creation has completed successfully, perform the remaining steps if applicable.

11. | If you selected to add additional MDT(s), then log into a client node and mount the Lustre file system. Then at the command line, for each added MDT beyond the primary MDT, enter the following command:

lfs mkdir -i n <lustre_mount_point>/<parent_folder_to_contain_
this_MDT>

where the -i indicates that the following value, n is the MDT index. The first added MDT will be index 1.

12. | Users can now create subdirectories supported by this MDT with the following command, as an example:

mkdir <lustre_mount_point>/<parent_folder_to_contain_
this_MDT>/<subdirectory_name>

Note: Intel® Manager for Lustre* software will automatically assign OST indices in a distributed fashion across servers to permit striping.

Note: If you plan to enable HSM for this file system, see the chapter Configuring and using Hierarchical Storage Management to setup HSM.