- Add additional Metadata Targets

# Add additional Metadata Targets

Contents

You can add additional MDTs when creating the file system and later, after the file system has been created.

DNE stands for Distributed Namespace. DNE allows the Lustre namespace to be divided across multiple metadata targets. This enables the size of the namespace and metadata throughput to be scaled with the size of the file system and the number of servers. The primary metadata target in a Lustre file system is MDT0. Added MDTs are indexed as MDT1, MDT2, and so on.

To add additional MDT(s):

1. | At the top menu bar, click Configuration > File Systems.

2. | Under Current File Systems, select the file system you wish to modify.

3. | Under Metadata Target, click + Create MDT (DNE).

4. | At the Create MDT pop-up window, select the volume you wish to use as this new MDT. Click Create. After a moment, the new MDT will be listed on the file system window, under Metadata Target. You can create additional MDTs; simply repeat steps 3 and 4. When you have created the desired MDT(s), perform step 5.

5. | 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.

The new MDT is installed. Users can now create subdirectories supported by each added MDT with the following command, as an example:

mkdir <lustre_mount_point>/<parent_folder_to_contain this_MDT>/<subdirectory_name>

Note: Any added MDT you create will be unavailable for use as an OST.