DEV Community

Cover image for Deploying Lustre as a Self-Hosted Google Cloud Managed Lustre Alternative
Sanskriti Harmukh for Vultr

Posted on with Aashish Chaurasiya Originally published at docs.vultr.com

Deploying Lustre as a Self-Hosted Google Cloud Managed Lustre Alternative

Google Cloud Managed Lustre is Google's fully managed parallel file system for AI and HPC workloads, but it bills for provisioned capacity, supports only Google-provided Lustre clients, limits the Lustre features and commands available to you, and ties each instance to one Google Cloud zone and VPC network. Lustre is the open-source, POSIX-compliant parallel file system it builds on, and it runs the same way on self-hosted infrastructure without provisioned-capacity billing or cloud API dependencies. It separates file metadata from file data across dedicated servers, so throughput grows as you add storage targets, and a self-hosted deployment gives you direct control over striping, Lustre Networking (LNet), quota policy, and the underlying hardware. This guide covers package installation, metadata and object storage server deployment, client mounts, striping and Progressive File Layouts (PFL), LNet configuration, quotas and POSIX ACLs, jobstats monitoring, high availability planning, IOR and mdtest benchmarking, and migration from Managed Lustre. By the end, you'll have a working Lustre cluster with one metadata server, two object storage servers, and a client mounting the file system.


Understanding Lustre Architecture

The Management Server (MGS) stores the file system configuration, which each target registers with and each client retrieves at mount time. The Metadata Server (MDS) hosts the Metadata Target (MDT), which stores filenames, directory structure, permissions, and file layouts. Object Storage Server (OSS) nodes host Object Storage Targets (OSTs) that store file data. Clients talk directly to both the MDS and the OSS nodes over LNet, so file data flows in parallel across OSTs without a central gateway.

In short, the Managed Lustre instance maps to the MDS and OSS cluster, performance tiers map to the OSS count and network bandwidth, Cloud Storage integration maps to Lustre HSM, and Cloud Monitoring maps to Lustre Jobstats and a Prometheus exporter.


Prerequisites

  • At least three Linux servers running Rocky Linux 8.10 as a non-root user with sudo privileges: one MDS and two OSS nodes
  • A separate Rocky Linux 8.10 server with a sudo user to act as the client
  • A dedicated block storage volume attached to the MDS for the MDT (at least 10 GB) and to each OSS node for an OST (at least 20 GB per OSS)
  • All nodes connected over a private network for the Lustre network (10 GbE minimum, InfiniBand recommended for production HPC), with each node's private address and the private subnet in CIDR notation noted down

Install Lustre Packages

Servers that run the Lustre 2.15 LTS release with the LDISKFS backend need a Lustre-patched kernel. For Lustre 2.15.8, Whamcloud publishes server packages with this kernel only for Enterprise Linux 8.10, so this guide installs that build on Rocky Linux 8.10 (the same packages apply to AlmaLinux 8.10 and RHEL 8.10). For other client distributions, choose the matching client repository on the Whamcloud download site.

Add the Lustre Repository

1. Open a repository configuration file on each MDS, OSS, and client node:

$ sudo vi /etc/yum.repos.d/lustre.repo
Enter fullscreen mode Exit fullscreen mode

2. Add the following configuration:

[lustre-server]
name=Lustre Server
baseurl=https://downloads.whamcloud.com/public/lustre/lustre-2.15.8/el8.10/server/
gpgcheck=0
enabled=1

[lustre-client]
name=Lustre Client
baseurl=https://downloads.whamcloud.com/public/lustre/lustre-2.15.8/el8.10/client/
gpgcheck=0
enabled=1

[e2fsprogs-wc]
name=Lustre e2fsprogs
baseurl=https://downloads.whamcloud.com/public/e2fsprogs/latest/el8/
gpgcheck=0
enabled=1
Enter fullscreen mode Exit fullscreen mode

Save and close the file. lustre-server provides the patched kernel, kernel modules, and management utilities, lustre-client provides the client modules and userspace tools such as lfs, and e2fsprogs-wc provides the Whamcloud-built e2fsprogs that supports the LDISKFS backend.

Install Server Packages

Run the following steps on the MDS and on both OSS nodes.

1. Install the EPEL repository, which provides several dependencies:

$ sudo dnf install -y epel-release
Enter fullscreen mode Exit fullscreen mode

2. Install the Lustre-patched kernel and matching kernel headers:

$ sudo dnf install -y kernel-4.18.0-553.82.1.el8_lustre kernel-devel-4.18.0-553.82.1.el8_lustre --nogpgcheck
Enter fullscreen mode Exit fullscreen mode

3. Set the patched kernel as the default boot kernel:

$ sudo grubby --set-default /boot/vmlinuz-4.18.0-553.82.1.el8_lustre.x86_64
Enter fullscreen mode Exit fullscreen mode

4. Install the Whamcloud-built e2fsprogs:

$ sudo dnf install -y e2fsprogs --enablerepo=e2fsprogs-wc --nogpgcheck
Enter fullscreen mode Exit fullscreen mode

5. Install the Lustre server packages:

$ sudo dnf install -y lustre-osd-ldiskfs-mount lustre kmod-lustre-osd-ldiskfs --nogpgcheck
Enter fullscreen mode Exit fullscreen mode

6. Pin the kernel version to prevent automatic updates from breaking Lustre:

$ echo "exclude=kernel-4.18.0* kernel-core-4.18.0* kernel-modules-4.18.0*" | sudo tee -a /etc/dnf/dnf.conf
Enter fullscreen mode Exit fullscreen mode

Note: The kernel pin is essential. Lustre server modules build against a specific kernel version, and automatic updates from the regular distribution repositories install kernels that the Lustre modules cannot load against, which breaks the cluster on the next reboot.

7. Reboot the node into the patched kernel:

$ sudo reboot
Enter fullscreen mode Exit fullscreen mode

Wait approximately 60 seconds, then reconnect over SSH.

8. Confirm the running kernel:

$ uname -r
Enter fullscreen mode Exit fullscreen mode

The output displays the Lustre-patched kernel.

9. Load the Lustre kernel module and confirm it loaded:

$ sudo modprobe lustre
$ sudo lsmod | grep lustre
Enter fullscreen mode Exit fullscreen mode

The output lists the lustre, lnet, obdclass, and related modules.

Install Client Packages

Run the following steps on the client node only. The client uses the stock distribution kernel. The kmod-lustre-client package targets the Rocky Linux 8.10 kernel series, so update the client to the latest 8.10 kernel before installing it.

1. Install the EPEL repository:

$ sudo dnf install -y epel-release
Enter fullscreen mode Exit fullscreen mode

2. Update the system packages, including the kernel (--disablerepo=lustre-server keeps the patched server kernel off the client):

$ sudo dnf update -y --disablerepo=lustre-server
Enter fullscreen mode Exit fullscreen mode

3. Reboot the client into the updated kernel:

$ sudo reboot
Enter fullscreen mode Exit fullscreen mode

Wait approximately 60 seconds, then reconnect over SSH.

4. Install the Lustre client packages:

$ sudo dnf install -y kmod-lustre-client lustre-client --nogpgcheck
Enter fullscreen mode Exit fullscreen mode

5. Load the Lustre kernel module and verify it:

$ sudo modprobe lustre
$ sudo lsmod | grep lustre
Enter fullscreen mode Exit fullscreen mode

6. Pin the kernel version to prevent automatic updates from breaking the client module:

$ echo "exclude=kernel-4.18.0* kernel-core-4.18.0* kernel-modules-4.18.0*" | sudo tee -a /etc/dnf/dnf.conf
Enter fullscreen mode Exit fullscreen mode

Configure the Lustre Network

By default, LNet uses each node's primary network interface, which is the public interface on most cloud servers. LNet identifies each node by its network identifier (NID) in the form ADDRESS@NETWORK. Each OST records the NID of the MGS when you format it, and each server registers its own NIDs with the MGS when it first mounts a target, so bind LNet to the private interface on every node before you format any target.

Bind LNet to the Private Interface

Complete the following steps on every MDS, OSS, and client node.

1. List the network interfaces:

$ ip addr
Enter fullscreen mode Exit fullscreen mode

Note the name of the interface that holds the node's private address, such as enp8s0.

2. Open the LNet module configuration file:

$ sudo vi /etc/modprobe.d/lustre.conf
Enter fullscreen mode Exit fullscreen mode

3. Add the following line, replacing PRIVATE_INTERFACE with the private interface name:

options lnet networks=tcp0(PRIVATE_INTERFACE)
Enter fullscreen mode Exit fullscreen mode

Save and close the file. This attaches the tcp0 LNet network to the private interface only, so Lustre traffic never uses the public interface.

4. Unload the Lustre modules so LNet picks up the new setting, then load them again:

$ sudo lustre_rmmod
$ sudo modprobe lustre
Enter fullscreen mode Exit fullscreen mode

5. Display the node's NIDs:

$ sudo lctl list_nids
Enter fullscreen mode Exit fullscreen mode

The output displays a single NID in the form PRIVATE_ADDRESS@tcp. On the MDS, this address is the MDS_PRIVATE_ADDRESS value that you use to format OSTs and mount clients throughout this guide.

Restrict the Lustre Network Port

Lustre nodes communicate over LNet on TCP port 988. Enterprise Linux enables firewalld by default, which blocks this port. Allow the port only from the private subnet on every MDS, OSS, and client node.

1. Allow the LNet port from the private subnet (replace PRIVATE_SUBNET with the subnet in CIDR notation, such as 10.42.0.0/20):

$ sudo firewall-cmd --permanent --add-rich-rule='rule family="ipv4" source address="PRIVATE_SUBNET" port port="988" protocol="tcp" accept'
Enter fullscreen mode Exit fullscreen mode

2. Reload the firewall and verify the rule:

$ sudo firewall-cmd --reload
$ sudo firewall-cmd --list-rich-rules
Enter fullscreen mode Exit fullscreen mode

The output displays the rule that accepts TCP port 988 from the private subnet.


Deploy the Metadata Server

In this deployment, the MDS also hosts the MGS, so the MGS and the MDT share one node and one block device.

1. Identify the dedicated block device on the MDS:

$ lsblk
Enter fullscreen mode Exit fullscreen mode

On servers that use virtio block devices, the operating system occupies /dev/vda and the dedicated MDT volume appears as /dev/vdb. Use the device name shown in your own output in the commands that follow.

2. Format the device as the combined MGS and MDT. This guide names the file system lustrefs in every later command, so keep that name:

$ sudo mkfs.lustre --fsname=lustrefs --mgs --mdt --index=0 /dev/vdb
Enter fullscreen mode Exit fullscreen mode

3. Create the mount point and mount the MDT:

$ sudo mkdir -p /mnt/mdt
$ sudo mount -t lustre /dev/vdb /mnt/mdt
Enter fullscreen mode Exit fullscreen mode

4. Verify that the MDS services are running:

$ sudo lctl dl
Enter fullscreen mode Exit fullscreen mode

The output lists the active devices, including mgs, mds, mdt, and osd-ldiskfs.


Deploy Object Storage Servers

Each OSS hosts one OST that stores file data. This deployment provisions one OST per OSS node with sequential indexes that the MGS uses to distinguish each target.

Configure the First OSS

1. Identify the dedicated block device:

$ lsblk
Enter fullscreen mode Exit fullscreen mode

2. Format the device as an OST that points to the MGS (replace MDS_PRIVATE_ADDRESS with the MDS private address and /dev/vdb with your OST device):

$ sudo mkfs.lustre --fsname=lustrefs --ost --index=0 --mgsnode=MDS_PRIVATE_ADDRESS@tcp /dev/vdb
Enter fullscreen mode Exit fullscreen mode

3. Create the mount point and mount the OST:

$ sudo mkdir -p /mnt/ost0
$ sudo mount -t lustre /dev/vdb /mnt/ost0
Enter fullscreen mode Exit fullscreen mode

4. Verify the OSS services:

$ sudo lctl dl
Enter fullscreen mode Exit fullscreen mode

The output lists obdfilter, ost, and the connection to the MGS through the mgc device.

Configure the Second OSS

The second OSS uses index 1 so that the MGS distinguishes it from the first OST.

1. Format the device with index 1:

$ sudo mkfs.lustre --fsname=lustrefs --ost --index=1 --mgsnode=MDS_PRIVATE_ADDRESS@tcp /dev/vdb
Enter fullscreen mode Exit fullscreen mode

2. Create the mount point and mount the second OST:

$ sudo mkdir -p /mnt/ost1
$ sudo mount -t lustre /dev/vdb /mnt/ost1
Enter fullscreen mode Exit fullscreen mode

3. Switch to the MDS node and verify that both OSTs are registered:

$ sudo lctl get_param osc.*.ost_server_uuid
Enter fullscreen mode Exit fullscreen mode

The output lists lustrefs-OST0000_UUID and lustrefs-OST0001_UUID, each in the FULL state.


Mount the File System on Clients

After you mount the file system, applications interact with it through standard POSIX system calls, so existing Managed Lustre workloads run without code changes.

1. Create the mount point on the client node:

$ sudo mkdir -p /mnt/lustre
Enter fullscreen mode Exit fullscreen mode

2. Mount the file system (replace MDS_PRIVATE_ADDRESS with the MDS private address):

$ sudo mount -t lustre MDS_PRIVATE_ADDRESS@tcp:/lustrefs /mnt/lustre
Enter fullscreen mode Exit fullscreen mode

3. Verify the mount and view the aggregate capacity:

$ df -h /mnt/lustre
Enter fullscreen mode Exit fullscreen mode

The output displays the combined capacity of both OSTs.

4. View per-target capacity and usage:

$ lfs df -h /mnt/lustre
Enter fullscreen mode Exit fullscreen mode

The output lists each MDT and OST separately, which helps identify imbalances and full targets.

5. Run a write test, then remove the test file:

$ sudo dd if=/dev/zero of=/mnt/lustre/testfile bs=1M count=100
$ sudo rm /mnt/lustre/testfile
Enter fullscreen mode Exit fullscreen mode

Configure Striping and File Layouts

Striping distributes the data of a single file across multiple OSTs in fixed-size chunks. The stripe count sets how many OSTs hold a file, and the stripe size sets how much data Lustre writes to one OST before moving to the next. PFL builds a file's layout from components covering consecutive byte ranges, each with its own stripe count, so small files stay on few OSTs while large files spread across many. Run the following steps on the client node.

Set a Default Stripe Layout

1. Create a directory for striped files:

$ sudo mkdir -p /mnt/lustre/striped
Enter fullscreen mode Exit fullscreen mode

2. Set the stripe count to 2 and the stripe size to 1 MiB:

$ sudo lfs setstripe -c 2 -S 1M /mnt/lustre/striped
Enter fullscreen mode Exit fullscreen mode

-c 2 stripes each file across 2 OSTs, and -S 1M sets the stripe size to 1 MiB.

3. Verify the stripe configuration:

$ sudo lfs getstripe -d /mnt/lustre/striped
Enter fullscreen mode Exit fullscreen mode

The output reports stripe_count: 2 and stripe_size: 1048576.

Configure Progressive File Layouts

1. Create a directory for PFL files:

$ sudo mkdir -p /mnt/lustre/pfl
Enter fullscreen mode Exit fullscreen mode

2. Apply a three-component PFL layout:

$ sudo lfs setstripe -E 4M -c 1 -E 64M -c 2 -E -1 -c -1 /mnt/lustre/pfl
Enter fullscreen mode Exit fullscreen mode
  • -E 4M -c 1: The first 4 MiB of each file uses a single stripe, which keeps small files on one OST
  • -E 64M -c 2: The range from 4 MiB to 64 MiB uses 2 stripes
  • -E -1 -c -1: The rest of the file beyond 64 MiB stripes across all available OSTs

3. Confirm the PFL configuration:

$ sudo lfs getstripe -d /mnt/lustre/pfl
Enter fullscreen mode Exit fullscreen mode

The output lists each component with its extent boundaries and stripe count.


Set Up Networking with LNet

LNet is the network abstraction layer Lustre uses for client-server and server-server communication. LNet Multi-Rail lets a node use two or more interfaces together to increase throughput and resilience, while InfiniBand deployments use the o2ib network type instead of tcp. Run the following steps on the client node.

1. Display the current LNet configuration:

$ sudo lnetctl net show
Enter fullscreen mode Exit fullscreen mode

The output shows the active networks, including the loopback (lo) and the tcp network on the private interface.

2. View detailed LNet tunables:

$ sudo lnetctl net show --verbose
Enter fullscreen mode Exit fullscreen mode

3. Test peer connectivity from the client to the MDS:

$ sudo lctl ping MDS_PRIVATE_ADDRESS@tcp
Enter fullscreen mode Exit fullscreen mode

A successful response lists the NIDs of the MDS, which confirms LNet connectivity.


Configure Quotas and Access Control

Quotas enforce per-user and per-group limits on capacity and file count, while POSIX ACLs provide fine-grained permissions beyond the standard owner-group-other modes.

Lustre uses the null security flavor by default, which does not authenticate nodes or encrypt traffic. Any host that reaches the servers over LNet can mount the file system, which is why the firewall rule limits port 988 to the private subnet. For stronger isolation, Lustre supports Nodemap, Shared-Secret Key (SSK) security, root squash, and client-side encryption, which are outside the scope of this guide. See the Lustre Operations Manual.

Enable Quotas

Quota enforcement is a permanent parameter set on the MGS, which runs on the MDS in this deployment.

1. Enable user and group block quotas from the MDS node:

$ sudo lctl set_param -P osd-*.lustrefs-*.quota_slave_dt.enabled=ug
Enter fullscreen mode Exit fullscreen mode

2. Enable user and group inode quotas from the MDS node:

$ sudo lctl set_param -P osd-*.lustrefs-*.quota_slave_md.enabled=ug
Enter fullscreen mode Exit fullscreen mode

quota_slave_dt controls block quotas (enforced by the OSTs), quota_slave_md controls inode quotas (enforced by the MDT), and ug enforces quotas for users and groups.

3. Verify the enforcement status on the MDS:

$ sudo lctl get_param osd-*.*.quota_slave_*.enabled
Enter fullscreen mode Exit fullscreen mode

The output reports ug for the MDT. Run the same command on each OSS node to confirm that the OSTs report ug.

Apply Quota Limits

Exceeding the soft limit starts a grace period, and if usage is still above the soft limit when the grace period expires, Lustre blocks further writes and file creation. The hard limit blocks them immediately.

1. Set quota limits for a specific user from the client (replace USER_NAME with the target Linux username):

$ sudo lfs setquota -u USER_NAME -b 100M -B 200M -i 10000 -I 20000 /mnt/lustre
Enter fullscreen mode Exit fullscreen mode

-b and -B set the soft and hard block limits (100 MiB and 200 MiB), and -i and -I set the soft and hard inode limits (10,000 and 20,000 files).

2. View the quota usage and limits:

$ sudo lfs quota -u USER_NAME /mnt/lustre
Enter fullscreen mode Exit fullscreen mode

Configure POSIX ACLs

Run the following steps on the client node.

1. Create a directory for the ACL test:

$ sudo mkdir -p /mnt/lustre/acltest
Enter fullscreen mode Exit fullscreen mode

2. Grant read, write, and execute permissions to the nobody user:

$ sudo setfacl -m u:nobody:rwx /mnt/lustre/acltest
Enter fullscreen mode Exit fullscreen mode

3. Verify the ACL:

$ sudo getfacl /mnt/lustre/acltest
Enter fullscreen mode Exit fullscreen mode

The output lists the standard POSIX permissions and the additional user:nobody:rwx entry.


Monitoring with Jobstats

Lustre exposes detailed performance metrics through the lctl interface. Jobstats tags each client operation with a job identifier so that you can attribute throughput and operation rates to specific applications. Metrics can then be exported to Prometheus with the community lustre_exporter and visualized in Grafana as the self-hosted equivalent of Cloud Monitoring, which the original article walks through in full.

1. Enable jobstats for the whole file system from the MDS node:

$ sudo lctl set_param -P jobid_var=procname_uid
Enter fullscreen mode Exit fullscreen mode

The -P option stores the setting on the MGS, which applies it to the MDS, OSS, and client nodes and keeps it across remounts and reboots. The procname_uid value tags each I/O operation with the process name and user ID, producing entries such as dd.0.

2. Verify the setting on the client node:

$ sudo lctl get_param jobid_var
Enter fullscreen mode Exit fullscreen mode

The output displays jobid_var=procname_uid.


Plan for High Availability

This guide does not configure failover, because it requires a block device that both servers in a failover pair can reach (a SAN, an iSCSI target, or a multi-attach volume), and the block storage volumes in this deployment attach to one server at a time. When you deploy on infrastructure with shared storage, provision a second MDS and pair OSS nodes the same way, format each shared target with one --servicenode option per server in its pair (for example --servicenode=MDS1_PRIVATE_ADDRESS@tcp --servicenode=MDS2_PRIVATE_ADDRESS@tcp), manage targets in Pacemaker with the ocf:lustre:Lustre resource agent, and configure STONITH fencing so two servers never mount the same target at once. See Configuring Failover in a Lustre File System in the Lustre Operations Manual.


Verify the Deployment with IOR and mdtest

IOR measures parallel I/O throughput, and mdtest measures metadata operation rates. Both run from the client node.

Build IOR and mdtest

1. Install the build dependencies:

$ sudo dnf install -y gcc gcc-c++ make openmpi openmpi-devel git autoconf automake libtool
Enter fullscreen mode Exit fullscreen mode

2. Load the environment modules system and the OpenMPI module:

$ source /etc/profile.d/modules.sh
$ module load mpi/openmpi-x86_64
Enter fullscreen mode Exit fullscreen mode

3. Clone the IOR repository, enter it, and check out the 4.0.0 release tag for a reproducible build:

$ git clone https://github.com/hpc/ior.git ~/ior
$ cd ~/ior
$ git checkout 4.0.0
Enter fullscreen mode Exit fullscreen mode

4. Generate the build configuration, run configure, and compile:

$ ./bootstrap
$ ./configure
$ make
Enter fullscreen mode Exit fullscreen mode

The build creates the src/ior and src/mdtest binaries.

Run the Benchmarks

The benchmarks run several MPI processes in parallel, because a single process cannot drive enough I/O to measure the throughput of multiple OSTs.

1. Create a benchmark directory with permissions the benchmark can write to:

$ sudo mkdir -p /mnt/lustre/iortest-dir
$ sudo chmod 777 /mnt/lustre/iortest-dir
Enter fullscreen mode Exit fullscreen mode

2. Navigate to the IOR source directory:

$ cd ~/ior/src
Enter fullscreen mode Exit fullscreen mode

3. Display the number of CPU cores on the client, which sets the maximum number of MPI processes:

$ nproc
Enter fullscreen mode Exit fullscreen mode

4. Run IOR with 4 MPI processes, a 1 MiB transfer size, and a 1 GiB block size per process (replace 4 with the number of CPU cores):

$ mpirun -np 4 ./ior -w -r -t 1M -b 1G -F -o /mnt/lustre/iortest-dir/testfile
Enter fullscreen mode Exit fullscreen mode

-np 4 starts 4 parallel processes, -w -r performs write and read tests, -t 1M sets the transfer size, -b 1G sets the block size per process, and -F uses file-per-process mode. The output reports the maximum write and read throughput in MiB/s. A single client's network bandwidth limits these results, and the client page cache can inflate read results, so run IOR from several clients at once with an MPI host file to measure aggregate throughput.

5. Create the mdtest directory with write permissions:

$ sudo mkdir -p /mnt/lustre/mdtest-dir
$ sudo chmod 777 /mnt/lustre/mdtest-dir
Enter fullscreen mode Exit fullscreen mode

6. Run mdtest with 4 MPI processes, 100 files per process, and 2 iterations (replace 4 with the number of CPU cores):

$ mpirun -np 4 ./mdtest -n 100 -i 2 -d /mnt/lustre/mdtest-dir
Enter fullscreen mode Exit fullscreen mode

The output reports rates for directory creation, file creation, file stat, and file removal.

Note: The benchmarks can print Performance Scaled Messaging 3 (PSM3) warnings such as Failed to get eth0 (unit 0) cpu set on Ethernet networks. The benchmarks continue to run and report their results.


Migrate from Google Cloud Managed Lustre

Managed Lustre exports instance data to Cloud Storage with gcloud lustre instances export-data, and a client with the self-hosted file system mounted pulls it down with gcloud storage rsync using --recursive and --preserve-posix. Alternatively, copy directly between clients with rsync -aHAX --numeric-ids, which also preserves symlinks, hard links, ACLs, and extended attributes. To move clients, unmount the Managed Lustre instance, remove the Google-provided client packages and any LNet settings added for it, install the open-source client as described above, and mount with mount -t lustre MDS_PRIVATE_ADDRESS@tcp:/lustrefs /mnt/lustre. Applications keep working without code changes because both sides present the same POSIX interface.

Self-hosted Lustre has no built-in equivalent of the Cloud Storage mirror or the Dynamic tier. Lustre HSM with the lhsmtool_posix copytool, an S3-compatible backend, and a policy engine such as Robinhood is the closest substitute. Plan for these differences during cutover:

  • Capacity and throughput: Self-hosted Lustre requires manual OST addition. Size MDT space at roughly 2 GiB per million files and OST capacity at total data plus 20 percent overhead, then benchmark with IOR and mdtest before cutover
  • Attributes that do not carry over: Cloud Storage export does not preserve symlinks, empty directories, or explicit striping, so recreate them and reapply striping, PFL layouts, and quota limits
  • UIDs and GIDs: Keep numeric user and group IDs identical on the self-hosted clients
  • Operations: You own patching, kernel pinning, backups (lfs find with tar or rsync, plus LVM snapshots of the MDT), monitoring, and encryption

Next Steps

You have a Lustre cluster delivering parallel I/O across multiple OSTs with the full POSIX interface that applications expect from Managed Lustre. From here you can:

  • Explore Distributed Namespace Environment (DNE) to scale metadata across multiple MDS nodes
  • Configure LNet Multi-Rail to bond multiple interfaces for throughput and resilience
  • Automate HSM archive and release policies with the Robinhood Policy Engine
  • Export Lustre metrics with lustre_exporter and chart them in Prometheus and Grafana

For the full guide with additional tips, visit the original article on Vultr Docs.

Top comments (0)