
Google Cloud Managed Lustre is Google's fully managed parallel file system for AI and high-performance computing (HPC) workloads. It offers four numbered performance tiers from 125 to 1,000 MBps per TiB, a Dynamic tier for large, partly active datasets, built-in import and export with Cloud Storage, and a one-way mirror from Cloud Storage. It removes the need to operate metadata and object storage servers, 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 parallel file system that Google Cloud Managed Lustre builds on. It complies with the Portable Operating System Interface (POSIX) standard and runs the same way on self-hosted infrastructure without provisioned-capacity billing or Google Cloud API dependencies. It serves HPC, machine learning training, and large-scale data processing workloads by separating file metadata from file data and spreading each across dedicated servers, so throughput grows as you add storage targets. A self-hosted deployment also gives you direct control over striping layouts, Lustre Networking (LNet) configuration, quota policy, and the underlying storage hardware.
This article explains how to deploy Lustre as an alternative to Google Cloud Managed Lustre. It covers the Lustre package installation, metadata and object storage server deployment, client mounts, striping and Progressive File Layouts (PFL), LNet configuration, quotas and POSIX access control lists (ACLs), monitoring with Prometheus and Grafana, high availability planning, benchmarking with IOR and mdtest, and migration from Google Cloud Managed Lustre.
Lustre separates file metadata from file data and distributes each across dedicated servers. The Management Server (MGS) stores the file system configuration. Each target registers with the MGS, and each client retrieves the configuration from the MGS when it mounts the file system. The Metadata Server (MDS) hosts the Metadata Target (MDT), which stores filenames, directory structure, permissions, and file layout information. Object Storage Server (OSS) nodes host Object Storage Targets (OSTs) that store file data. Clients communicate directly with both the MDS and the OSS nodes over LNet, the Lustre networking layer that carries metadata and file I/O traffic between servers and clients, so file data flows in parallel across multiple OSTs without passing through a central gateway.
The following table maps each Google Cloud Managed Lustre feature to its closest self-hosted Lustre equivalent:
Before you begin, you need to:
Servers that run the Lustre 2.15 long-term support release and use the LDISKFS backend, a Lustre-enhanced version of the ext4 file system that stores target data and metadata, need a Lustre-patched kernel. For Lustre 2.15.8, Whamcloud publishes server packages with this kernel only for Enterprise Linux 8.10. Its Enterprise Linux 9.7, Ubuntu 22.04, and SUSE Linux Enterprise Server 15 SP6 builds contain client packages only. This article installs the Enterprise Linux 8.10 build on Rocky Linux 8.10, and the same packages apply to AlmaLinux 8.10 and RHEL 8.10. To run clients on another distribution, choose the matching client repository on the Whamcloud download site and adjust the package names.
The Whamcloud repository serves the Lustre server packages, the matching client packages, and the patched e2fsprogs package that provides Lustre-specific file system utilities.
Open a repository configuration file on each MDS, OSS, and client node.
Add the following configuration.
Save and close the file.
lustre-server: Provides the server-side packages, including the patched kernel, kernel modules, and management utilities.lustre-client: Provides the client-side kernel modules and userspace utilities such as lfs.e2fsprogs-wc: Provides the Whamcloud-built e2fsprogs package that supports the Lustre LDISKFS backend.Run the following steps on the MDS and on both OSS nodes.
Install the Extra Packages for Enterprise Linux (EPEL) repository, which provides several dependencies.
Install the Lustre-patched kernel and matching kernel headers.
Set the patched kernel as the default boot kernel.
Install the Whamcloud-built e2fsprogs.
Install the Lustre server packages.
Pin the kernel version to prevent automatic updates from breaking Lustre.
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.
Reboot the node into the patched kernel.
Wait approximately 60 seconds for the node to reboot, then reconnect over SSH.
Confirm the running kernel after reconnecting.
The output displays the Lustre-patched kernel.
Load the Lustre kernel module.
Confirm that the modules load correctly.
The output lists the lustre, lnet, obdclass, and related modules.
Run the following steps on the client node only. The client uses the stock distribution kernel and does not require the patched 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 you install it.
Install the EPEL repository.
Update the system packages, including the kernel. The --disablerepo=lustre-server option keeps the Lustre-patched server kernel off the client.
Reboot the client into the updated kernel.
Wait approximately 60 seconds for the node to reboot, then reconnect over SSH.
Install the Lustre client packages.
Load the Lustre kernel module.
Verify that the client modules load.
The output lists the lustre, lnet, and related modules.
Pin the kernel version to prevent automatic updates from breaking the client module.
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 identifiers (NIDs), which take 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 VPC interface on every node before you format any target. The firewall rule in this section then keeps the Lustre port closed to everything outside the VPC subnet.
Complete the following steps on every MDS, OSS, and client node.
List the network interfaces.
The output lists each interface with its addresses. Note the name of the interface that holds the node's VPC address, such as enp8s0.
Open the LNet module configuration file.
Add the following line. Replace VPC_INTERFACE with the VPC interface name.
Save and close the file. The networks=tcp0(VPC_INTERFACE) option attaches the tcp0 LNet network to the VPC interface only, so Lustre traffic never uses the public interface.
Unload the Lustre modules so that LNet picks up the new setting.
Load the Lustre modules again.
Display the node's NIDs.
The output displays a single NID in the form VPC_ADDRESS@tcp, where VPC_ADDRESS is the node's VPC address. On the MDS, this address is the MDS_VPC_ADDRESS value that you use to format OSTs and mount clients throughout this article.
Lustre nodes communicate over LNet on TCP port 988. Enterprise Linux enables firewalld by default, which blocks this port and prevents the OSS nodes and clients from reaching the MGS. Allow the port only from the VPC subnet on every MDS, OSS, and client node.
Allow the LNet port from the VPC subnet. Replace VPC_SUBNET with the VPC subnet in CIDR notation, such as 10.42.0.0/20.
Reload the firewall to apply the rule.
Verify the rule.
The output displays the rule that accepts TCP port 988 from the VPC subnet.
In this deployment, the MDS also hosts the MGS, so the MGS and the MDT share one node and one block device. The MGS holds the configuration that OSTs register with and clients retrieve, and the MDT stores the namespace and file layout information for the entire file system.
Identify the dedicated block device on the MDS.
The output lists all attached disks. 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.
Format the device as the combined MGS and MDT. This article names the file system lustrefs in every later command and parameter, so keep that name. Replace /dev/vdb with your MDT device.
Create the mount point.
Mount the MDT.
Verify that the MDS services are running.
The output lists the active devices, including mgs, mds, mdt, and osd-ldiskfs.
Each OSS hosts one OST that stores file data. The MGS coordinates the registration of OSTs with the file system, and clients communicate directly with each OSS for I/O. This deployment provisions one OST per OSS node with sequential indexes that the MGS uses to distinguish each target.
Run the following steps on the first OSS node.
Identify the dedicated block device.
The output lists the dedicated OST volume, such as /dev/vdb.
Format the device as an OST that points to the MGS. Replace MDS_VPC_ADDRESS with the MDS VPC address and /dev/vdb with your OST device.
Create the mount point.
Mount the OST.
Verify the OSS services.
The output lists obdfilter, ost, and the connection to the MGS through the mgc device.
Run the following steps on the second OSS node. The second OSS uses index 1 so that the MGS distinguishes it from the first OST.
Format the device with index 1. Replace MDS_VPC_ADDRESS with the MDS VPC address.
Create the mount point for the second OST.
Mount the second OST.
Switch to the MDS node and verify that both OSTs are registered.
The output lists lustrefs-OST0000_UUID and lustrefs-OST0001_UUID, each in the FULL state.
The client connects to the file system through the MGS network address. After you mount the file system, applications interact with the file system through standard POSIX system calls, so existing Managed Lustre workloads run without code changes.
Create the mount point on the client node.
Mount the file system. Replace MDS_VPC_ADDRESS with the MDS VPC address.
Verify the mount and view the aggregate capacity.
The output displays the combined capacity of both OSTs.
View per-target capacity and usage.
The output lists each MDT and OST separately, which helps identify imbalances and full targets.
Run a write test to confirm functionality.
The command reports the achieved write throughput.
Remove the test file.
Striping distributes the data of a single file across multiple OSTs in fixed-size chunks, which delivers aggregate throughput beyond what a single storage target provides. The stripe count sets how many OSTs hold a file, and the stripe size sets how much data Lustre writes to one OST before it moves to the next. PFL builds a file's layout from components that cover consecutive byte ranges of the file, 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.
A default stripe layout on a directory applies the same stripe count and stripe size to every new file that you create in that directory.
Create a directory for striped files.
Set the stripe count to 2 and the stripe size to 1 MiB.
-c 2: Stripes each file across 2 OSTs.-S 1M: Sets the stripe size to 1 MiB, so Lustre writes 1 MiB to one OST before moving to the next.Verify the stripe configuration.
The output reports stripe_count: 2 and stripe_size: 1048576.
PFL increases the stripe count automatically as a file grows past each component boundary, which improves performance for workloads that mix small and large files.
Create a directory for PFL files.
Apply a three-component PFL layout.
-E 4M -c 1: The first 4 MiB of each file uses a single stripe, which keeps small files on one OST and avoids the overhead of contacting several OSTs.-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. This deployment has 2 OSTs, and the stripe count grows automatically for new files when you add OSTs.Confirm the PFL configuration.
The output lists each component with its extent boundaries and stripe count.
LNet is the network abstraction layer that Lustre uses for client-server and server-server communication. The default configuration uses TCP over the interface that you set in the Bind LNet to the VPC Interface section. LNet Multi-Rail lets a node use two or more network interfaces together, on the same or different networks, to increase throughput and resilience, while InfiniBand deployments use the o2ib network type instead of tcp. Run the following steps on the client node.
Display the current LNet configuration.
The output shows the active networks, including the loopback (lo) and the tcp network on the VPC interface.
View detailed LNet tunables.
The output exposes per-interface statistics for sent, received, and dropped messages, along with the credit tunables.
Test peer connectivity from the client to the MDS. Replace MDS_VPC_ADDRESS with the MDS VPC address.
A successful response lists the NIDs of the MDS, which confirms LNet connectivity between the client and the MDS.
Quotas enforce per-user and per-group limits on capacity and file count across the file system, while POSIX ACLs provide fine-grained file and directory 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 VPC subnet. For stronger isolation, Lustre also supports Nodemap, Shared-Secret Key (SSK) security, root squash, and client-side encryption. Nodemap maps UIDs and GIDs for groups of clients that you define by NID range, and SSK authenticates and encrypts the remote procedure calls between nodes. These features are outside the scope of this article. See the Lustre Operations Manual to configure them.
Lustre enforces quotas at both the MDT and OST levels, with separate limits for blocks (capacity) and inodes (file count). Quota enforcement is a permanent parameter that you set on the MGS, which runs on the MDS in this deployment. The MGS then applies it to every target.
Enable user and group block quotas from the MDS node.
Enable user and group inode quotas from the MDS node.
quota_slave_dt: Controls block quotas, which the OSTs enforce.quota_slave_md: Controls inode quotas, which the MDT enforces.ug: Enforces quotas for users and groups.Verify the enforcement status on the MDS.
The output reports ug for the MDT. Run the same command on each OSS node to confirm that the OSTs report ug.
Quota limits use soft and hard ceilings. 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.
Set quota limits for a specific user from the client. Replace USER_NAME with the target Linux username.
-b 100M: Soft block limit (100 MiB).-B 200M: Hard block limit (200 MiB).-i 10000: Soft inode limit (10,000 files).-I 20000: Hard inode limit (20,000 files).View the quota usage and limits.
The output lists the user's current block and inode usage with the soft and hard limits.
POSIX ACLs grant fine-grained permissions to additional users or groups beyond the standard owner-group-other model. Run the following steps on the client node.
Create a directory for the ACL test.
Apply an ACL that grants read, write, and execute permissions to the nobody user.
Verify the ACL.
The output lists the standard POSIX permissions and the additional user:nobody:rwx entry.
Lustre exposes detailed performance metrics through the lctl interface. The lustre_exporter translates those metrics into Prometheus format, and Grafana visualizes them through dashboards. The combination provides the self-hosted equivalent of Cloud Monitoring metrics for Managed Lustre. Each exporter reads metrics only from the node it runs on, so this section installs one on the MDS and on each OSS, and runs Prometheus and Grafana on the MDS.
The exporter README lists tested support only for Lustre 2.12, with the v2.1.6 tag. This section builds the latest source for Lustre 2.15, so some metrics can be missing or fail to read. If a collector logs errors, set it to core or disabled with its flag, such as --collector.lnet=core, in the ExecStart line of the service file.
The Lustre jobstats feature tags each client operation with a job identifier (job ID), and the MDT and OSTs collect operation statistics for each job ID, which lets you attribute throughput and operation rates to specific applications.
Enable jobstats for the whole file system from the MDS node.
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 originating process name and user ID, which produces job entries such as dd.0 for dd run by user 0 (root).
Verify the setting on the client node.
The output displays jobid_var=procname_uid.
Run the following steps on the MDS and on both OSS nodes. The Lustre exporter is a Go binary that the GSI-HPC community maintains.
Install the build dependencies.
Clone the exporter repository into your home directory.
Git creates the ~/lustre_exporter directory with the exporter source code.
Enter the cloned directory.
Build the binary. The GOTOOLCHAIN=auto setting allows Go to download a newer toolchain if the source requires it.
Verify that the binary exists.
The output lists the lustre_exporter binary with execute permissions.
A systemd service keeps the exporter running across reboots and restarts it on failure. Run the following steps on the MDS and on both OSS nodes.
Copy the binary to the system path.
Create the systemd unit file.
Add the following content.
Save and close the file. The exporter listens on port 9169 by default.
Reload the systemd configuration.
Enable and start the exporter.
Verify that the exporter serves Lustre metrics on port 9169.
The output lists Lustre-specific metrics for capacity, LNet statistics, and component health.
On each OSS node, allow port 9169 from the VPC subnet so that Prometheus on the MDS can scrape the exporter. Replace VPC_SUBNET with the VPC subnet in CIDR notation.
Reload the firewall on each OSS node.
Prometheus scrapes the metrics from every Lustre exporter and stores them as time-series data. Run the following steps on the MDS.
Download the Prometheus archive.
The download saves prometheus-3.13.1.linux-amd64.tar.gz in the current directory.
Extract the archive.
Move the extracted directory to a system location.
Open the Prometheus configuration file.
Replace the contents with the following configuration. Replace OSS1_VPC_ADDRESS and OSS2_VPC_ADDRESS with the VPC addresses of the first and second OSS nodes.
Save and close the file. The localhost:9169 target collects MGS and MDT metrics, and the two OSS targets collect OST metrics.
Create the systemd unit file for Prometheus.
Add the following content.
Save and close the file.
Apply the SELinux context that permits systemd to execute the binary.
Reload the systemd configuration.
Enable and start Prometheus.
Verify that Prometheus scrapes all three exporters successfully.
The output reports "health":"up" three times, once for each target.
Grafana provides interactive dashboards for the Lustre metrics that Prometheus stores. Run the following steps on the MDS. Grafana listens on port 3000, which stays closed in the firewall. You reach it through an SSH tunnel instead, so the login page is never exposed on the public interface.
Open the Grafana repository configuration.
Add the following content.
Save and close the file.
Install Grafana.
Enable and start Grafana so that it initializes the internal database with the correct ownership.
Reset the admin password. Replace ADMIN_PASSWORD with a strong password.
On your local workstation, open an SSH tunnel that forwards local port 3000 to Grafana on the MDS. Replace SSH_USER with your sudo user and MDS_PUBLIC_IP with the public IP address of the MDS.
Keep the SSH session open while you use Grafana.
Open http://localhost:3000 in a web browser on your workstation, then log in as admin with the password you set.
Click Connections, select Data sources, click Add data source, and choose Prometheus.
Set the connection URL to http://localhost:9090, then click Save & test. Grafana confirms successful connectivity to the Prometheus API.
Click Dashboards, select New, select New dashboard, and click Add visualization.
Choose Prometheus as the data source, switch the query editor to Code mode, and enter the following query: lustre_capacity_kibibytes.
Click Run queries to display the capacity of the MGS, the MDT, and both OSTs over time, then click Save to persist the dashboard.
Lustre failover protects the file system against the loss of a server. Two servers form a failover pair that shares access to the same storage device, and high availability software such as Pacemaker and Corosync mounts each target on one server at a time and moves it to the partner when a server fails. This article does not configure failover, because failover requires a block device that both servers in a pair can reach, such as a storage area network, an iSCSI target, or a multi-attach volume, and the Block Storage volumes in this deployment attach to one server at a time. Plan the following elements when you deploy Lustre on infrastructure that provides shared storage.
--servicenode option for each server in its failover pair, such as --servicenode=MDS1_VPC_ADDRESS@tcp --servicenode=MDS2_VPC_ADDRESS@tcp for the combined MGS and MDT. The first server that mounts the target becomes its primary node. The older --failnode option lists only the failover nodes. To add service nodes to an existing target, use tunefs.lustre.--mgsnode option for each MGS NID, and mount clients with both NIDs separated by a colon, such as mount -t lustre MDS1_VPC_ADDRESS@tcp:MDS2_VPC_ADDRESS@tcp:/lustrefs /mnt/lustre. Clients then try each NID until they reach the active server.ocf:lustre:Lustre resource agent, which the lustre-resource-agents package in the Whamcloud server repository provides. The generic ocf:heartbeat:Filesystem agent does not account for failure modes specific to Lustre storage.lctl get_param mdt.lustrefs-MDT0000.recovery_status reports a completed recovery, and that clients resume I/O.For the full procedures, see Configuring Failover in a Lustre File System in the Lustre Operations Manual and the Lustre wiki guide to creating Pacemaker resources for Lustre storage services.
Benchmarks confirm that the deployment delivers the expected throughput. IOR measures parallel I/O throughput, and mdtest measures metadata operation rates. Both tools run from the client node.
The IOR project publishes its source code on GitHub, so compile it on the client node. The build also produces the mdtest binary.
Install the build dependencies.
Load the environment modules system.
Load the OpenMPI module.
Clone the IOR repository.
Git creates the ~/ior directory with the IOR and mdtest source code.
Enter the IOR directory.
Check out the 4.0.0 release tag for a reproducible build.
Generate the build configuration.
Run the configure script.
The script finishes without errors and creates a Makefile in the directory.
Compile IOR and mdtest.
The build creates the src/ior and src/mdtest binaries.
The benchmarks read and write inside dedicated directories on the Lustre file system. They run several Message Passing Interface (MPI) processes in parallel, because a single process cannot drive enough I/O to measure the throughput of multiple OSTs.
Create a benchmark directory.
Set permissions so the benchmark can write to the directory.
Navigate to the IOR source directory.
Display the number of CPU cores on the client, which sets the maximum number of MPI processes to run.
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 from the previous step.
-np 4: Starts 4 parallel IOR processes.-w -r: Performs both write and read tests.-t 1M: Sets the transfer size to 1 MiB.-b 1G: Sets the block size per process to 1 GiB.-F: Uses file-per-process mode.The output reports the maximum write and read throughput in MiB/s. The network bandwidth of a single client limits these results, and the client page cache can inflate read results beyond what the OSTs deliver. To measure the aggregate throughput of the file system, run IOR from several clients at once with an MPI host file.
Create the mdtest directory.
Set permissions so mdtest can write to the directory.
Run mdtest with 4 MPI processes, 100 files per process, and 2 iterations. Replace 4 with the number of CPU cores on the client.
The output reports rates for directory creation, file creation, file stat, and file removal.
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.
This section outlines the strategy for migrating workloads from Google Cloud Managed Lustre to a self-hosted Lustre deployment. It focuses on the concepts and the tools involved so the approach stays applicable as environments and tooling versions change. Refer to the current Managed Lustre documentation and Lustre manual for exact commands and options when you plan your migration.
Data migration moves the existing data set from Managed Lustre to self-hosted Lustre through an intermediate Cloud Storage bucket. Managed Lustre exports instance data directly to Cloud Storage with the gcloud lustre instances export-data command, which takes the instance name, its zone, the destination gs:// bucket path, and the source directory on the file system. The Managed Lustre service agent needs the roles/storage.objectUser role on the bucket, and the identity that starts the transfer needs the lustre.instances.exportData permission, which the roles/lustre.admin role includes. If the instance uses a Cloud Storage mirror, the mirrored directory already reflects its source bucket, so copy that data from the source bucket instead of exporting it.
On the destination side, a client that has the self-hosted Lustre file system mounted pulls the data from the bucket and writes it into a directory on the Lustre mount. The gcloud storage rsync command with the --recursive and --preserve-posix flags copies the objects and restores each file's owner, group, mode, and modification time. For very large data sets, run the copy from multiple clients against different prefixes, or use Storage Transfer Service agents, which can also preserve POSIX attributes when they copy from Cloud Storage to a POSIX file system.
Alternatively, copy directly from a client that mounts the Managed Lustre instance to a self-hosted client over SSH with rsync -aHAX --numeric-ids, which also preserves symlinks, hard links, ACLs, extended attributes, and timestamps that the Cloud Storage export does not carry over. For large data sets, run several transfers in parallel against different directories.
Client migration redirects each compute client from the Managed Lustre instance to the self-hosted MDS address. Managed Lustre clients mount with mount -t lustre IP_ADDRESS:/FILESYSTEM_NAME and use Lustre packages that Google publishes in Artifact Registry, because Managed Lustre does not support open-source Lustre clients. The self-hosted file system uses the open-source client that matches your server version.
On each client, unmount the Managed Lustre instance and remove the Google-provided Lustre client packages. Install the client packages as described in the Install Client Packages section, and remove any LNet settings you added for Managed Lustre, such as the multi-NIC networks option or accept_port=6988. Then mount the self-hosted file system with mount -t lustre MDS_VPC_ADDRESS@tcp:/lustrefs /mnt/lustre, using the MDS VPC address and your file system name, and update any /etc/fstab entries to match. Because Lustre presents the same POSIX interface on both sides, applications continue to work without code changes.
Google Kubernetes Engine (GKE) workloads mount Managed Lustre through the Managed Lustre Container Storage Interface (CSI) driver, so Kubernetes workloads need a separate way to reach the self-hosted file system. Plan that mount path before you move those workloads.
Managed Lustre integrates with Cloud Storage through explicit import and export operations that copy files on request, and through an optional Cloud Storage mirror that continuously syncs a bucket or prefix into a Managed Lustre directory. The mirror runs in one direction only, from Cloud Storage to Managed Lustre, and is available by request. Self-hosted Lustre has no built-in equivalent of the mirror. Lustre HSM is the closest self-hosted equivalent. It tiers data between Lustre and an S3-compatible object storage backend such as Object Storage. The HSM coordinator runs on the MDT and dispatches archive and restore requests to a copytool, a user-space daemon on a Lustre client that moves file data between Lustre and the archive. You enable the coordinator on the MDS through the mdt.*.hsm_control parameter, run a copytool such as lhsmtool_posix on a client, and use any POSIX directory that an S3 bucket exposes through a Filesystem in Userspace (FUSE) mount such as s3fs as the backend. With HSM active, lfs hsm_archive copies a file to the S3 backend, lfs hsm_release frees the local copy while keeping the file in the namespace, and the next read transparently restores the content from S3. A policy engine such as Robinhood automates archive and release decisions based on age, size, or capacity thresholds.
The Managed Lustre Dynamic tier has no direct equivalent. It caches data transparently at the block level, while HSM moves whole files and needs explicit archive and release policies.
An s3fs backend suits testing and small archives, not production HSM. s3fs rewrites the whole object for random writes or appends, has no atomic renames or hard links, and does not coordinate between clients that mount the same bucket. During archive, the copytool also logs fsetxattr ... Operation not supported messages because the s3fs mount rejects some of the extended attributes it sets. The archive and restore operations still succeed, and the copytool stores the file's stripe layout in a companion object alongside the data. Evaluate a copytool that writes to object storage natively before you rely on HSM in production.
Managed Lustre scales capacity within the limits of the performance tier you choose, and its throughput grows with the capacity you provision. Self-hosted Lustre expands by adding OSTs manually, and its throughput depends on your hardware and network. Plan capacity for the MDT and the OSTs based on expected workload patterns.
The following items require attention during the migration window:
lfs setstripe. It also exports each hard link as a separate object, which creates duplicate copies. Recreate symlinks and empty directories, and reapply striping and PFL layouts on the new file system.lfs find with tar or rsync to back up file data, and back up the metadata with LVM snapshots of the MDT device or with a backend file system backup of the MDT mounted as ldiskfs.sudo and SSH access controls. Managed Lustre encrypts data at rest, and Google Cloud encrypts traffic in transit, although Lustre does not encrypt client-server traffic by default. In a self-hosted deployment, plan encryption at rest on the block devices, and keep Lustre traffic on a private network, or configure SSK security if your requirements demand encryption in transit.You have deployed a Lustre file system cluster as an alternative to Google Cloud Managed Lustre, with an MDS, two OSS nodes, and a client, and configured striping and PFL, LNet, quotas and POSIX ACLs, and Prometheus and Grafana monitoring. You also reviewed how Lustre HSM replaces Cloud Storage integration and what a high availability deployment requires. The cluster delivers parallel I/O throughput across multiple OSTs and supports the full Lustre POSIX interface that applications expect from Managed Lustre. For advanced features such as Distributed Namespace Environment (DNE), LNet Multi-Rail, and HSM policy automation with the Robinhood Policy Engine, see the official Lustre documentation.
0 Comments
Be the first to comment and share your perspective with the community.