Skip to content

Configure Mounts

Configure storage mounts, PowerVault iSCSI volumes, and swap space for cluster nodes. All storage configuration is defined in storage_config.yml.

Overview

The storage_config.yml file contains four sections:

  • mounts -- Network and local storage mount definitions
  • mount_params -- Named profiles for filesystem types and mount options
  • powervault_config -- PowerVault iSCSI volume connection definitions
  • swap -- Swap file configurations

Note

Storage configuration is applied during node provisioning. Entries in mounts must use exactly one targeting method: functional_group_prefix or exact groups. powervault_config and swap use functional_group_prefix.

Functional group prefix

The functional_group_prefix parameter uses prefix matching against the FUNCTIONAL_GROUP_NAME column in the PXE mapping file. All nodes whose functional group name starts with any listed prefix receive the mount, swap, or PowerVault configuration.

Available functional group names

The following examples match the staged RHEL 10.0 input and include its operating-system, version, and architecture suffixes. Always copy the exact FUNCTIONAL_GROUP_NAME from the active project's PXE mapping file.

Functional group name Role
os_rhel_10_0_x86_64 Generic OS node (x86_64)
slurm_control_node_rhel_10_0_x86_64 Slurm controller (slurmctld, slurmdbd)
login_node_rhel_10_0_x86_64 Login/SSH access node (x86_64)
service_kube_control_plane_rhel_10_0_x86_64 Kubernetes control-plane node
service_kube_node_rhel_10_0_x86_64 Kubernetes worker node
os_rhel_10_0_aarch64 Generic OS node (AArch64)
slurm_node_rhel_10_0_aarch64 Slurm compute node (AArch64)
login_compiler_node_rhel_10_0_aarch64 Login node with compiler toolchain (AArch64)

During provisioning, Orchestrator internally renames the first control-plane group to service_kube_control_plane_first_rhel_10_0_x86_64. That internal name is not a catalog entry and must not be placed in the PXE mapping file. Other supplied catalogs can define additional role-and-architecture combinations; use only names supported by the active catalog.

Prefix matching examples

Prefix value Matches
["slurm"] All names beginning with slurm_, including controller and compute groups
["slurm_node"] All names beginning with slurm_node_ (compute nodes only)
["slurm_control_node"] All names beginning with slurm_control_node_ (controllers only)
["login"] All names beginning with login_node_ or login_compiler_node_
["service_kube"] All names beginning with service_kube_ (control-plane and worker groups)
["service_kube_node"] All names beginning with service_kube_node_ (workers only)
["os"] All names beginning with os_ (generic OS nodes)
["slurm", "login"] All Slurm nodes and all login nodes
["slurm_node", "login"] Slurm compute nodes and login nodes (excludes Slurm controller)

Tip

Use shorter prefixes to target broader groups. For example, ["slurm"] targets all Slurm roles, while ["slurm_node"] targets only compute nodes.

Prerequisites

  • Access to edit storage_config.yml on the OIM host.
  • NFS server IP address or DNS-resolvable hostname and export path, for NFS mounts.
  • VAST storage appliance configured separately with NFS exports and access policies, for VAST mounts. The Telemetry VAST guide configures metrics and log collection; it does not configure the storage appliance.
  • For VAST mounts, select a with-VAST catalog that supplies the vastnfs package for every targeted architecture. The shipped default catalog is a no-VAST catalog and does not contain that client package.
  • iSCSI initiator setup and network connectivity to the PowerVault controllers, for PowerVault volumes.
  • Functional group names defined in the PXE mapping file, to target mounts, swap, and PowerVault entries to specific node groups. See PXE Mapping File.

Procedure

Mounts

Each mount entry specifies a source, mount point, and optional filesystem parameters.

Parameter

Details

mounts

list / elements=dict

Cloud-init compatible mount configurations. Source must be known at boot time. Each entry must define exactly one targeting field: functional_group_prefix or groups.

name

string / required

Unique identifier for this mount entry

source

string / required

Device name or network path (e.g., /dev/sdc, UUID=xxx, 192.168.1.100:/export/share, powervault:<name>)

mount_point

string / required

Mount point path

fs_type

string

Filesystem type. Overrides mount_params profile when specified.

Default: auto.

mnt_opts

string

Mount options. Overrides mount_params profile when specified.

dump_freq

string

Dump frequency (usually 0). Overrides mount_params profile when specified.

Default: 0.

fsck_pass

string

Fsck pass number (usually 0 or 2). Overrides mount_params profile when specified.

Default: 0.

mount_params

string

Named profile key from the mount_params section. Use an existing profile. The current runtime does not reject an unknown name and instead falls back to auto, defaults, 0, and 0 for the filesystem, mount options, dump frequency, and fsck pass.

mount_on_oim

boolean

Whether to mount this filesystem on the OIM node. Default: false. Ensure the storage system is accessible to OIM

Default: False.

node_key

string

Per-node subdirectory isolation variable. Optional and disabled when omitted.
Allowed values:
- local_hostname - hostname of the node
- local_ipv4 - IPv4 address of the node
- instance_id - instance ID of the node from cloud-init
When set, node_mount_point is required.
Generates bind mounts: <mount_point>/<node_key_value>/<target> -> <target>

node_mount_point

list / elements=string

List of bind mount target paths. Required when node_key is set.

functional_group_prefix

list / elements=string

List of OpenCHAMI functional group prefixes to apply this mount to. Exactly one of functional_group_prefix or groups is required.

groups

list / elements=string

List of GROUP_NAME values from pxe_mapping_file.csv. Exactly one of groups or functional_group_prefix is required.

permissions

dict

Directory ownership and mode commands generated for mount_point. The current command order applies them before mount -av, so they affect the underlying local directory rather than guaranteeing permissions on the mounted filesystem.

owner

string

User owner of the mount point (name or numeric UID)

Default: root.

group

string

Group owner of the mount point (name or numeric GID)

Default: root.

mode

string

Octal permission mode (e.g., 0755, 1777)

Default: 0644.

Example

File: storage_config.yml
mounts:
  - name: "nfs_slurm"
    source: "172.16.0.254:/mnt/share/omnia"
    mount_point: "/opt/omnia/slurm_mount"
    fs_type: "nfs"
    mnt_opts: "nosuid,rw,sync,hard,intr"
    mount_on_oim: true
    functional_group_prefix: ["slurm", "login"]

  - name: "nfs_k8s"
    source: "172.16.0.254:/mnt/share/omnia_k8s"
    mount_point: "/opt/omnia/k8s_mount"
    fs_type: "nfs"
    mnt_opts: "nosuid,rw,sync,hard,intr"
    mount_on_oim: true
    functional_group_prefix: ["service_kube"]

  - name: "vast_storage"
    source: "172.16.107.77:/share/vast"
    mount_point: "/mnt/vast"
    mount_params: "vast_rdma"
    mount_on_oim: true
    functional_group_prefix: ["slurm_node", "login"]

OIM mount selection

Orchestrator distinguishes storage referenced by Slurm or service Kubernetes from an independent OIM mount:

  • When provisioning Slurm, the OIM mounts the NFS storage named by slurm_cluster[].nfs_storage_name and the optional VAST storage named by slurm_cluster[].vast_storage_name. Each referenced mount must set mount_on_oim: true.
  • When provisioning service Kubernetes, the OIM mounts the NFS storage named by a service_k8s_cluster entry only when that entry has deployment: true. The referenced mount must set mount_on_oim: true.
  • A storage name referenced by either workload is not selected through the generic mount_on_oim rule for a different or inactive workload. For example, a Slurm-only run does not contact an unused Kubernetes NFS endpoint, even if that storage entry has mount_on_oim: true.
  • A storage entry that is not referenced by Slurm or service Kubernetes is an independent mount and is selected when mount_on_oim: true.

Important

Storage referenced by a workload must set mount_on_oim: true to pass input validation. That flag alone does not select storage from another or inactive workload during the current provisioning phase. To disable optional Slurm VAST storage, omit vast_storage_name or set it to an empty string in the active slurm_cluster entry.

Slurm storage mounts

Slurm deployments require specific NFS and optional VAST mounts for configuration distribution, authentication, and HPC tools. The slurm_cluster section in omnia_config.yml references these mounts by name.

Primary NFS mount (nfs_storage_name)

This mount stores Slurm configuration files (slurm.conf, slurmdbd.conf, cgroup.conf, gres.conf), munge authentication keys, and shared state. The OIM writes these files during provisioning and all nodes read them at boot.

  • Target all Slurm and login nodes using functional_group_prefix: ["slurm", "login"].
  • Set mount_on_oim: true. The nfs_storage_name reference and active Slurm target select this mount on the OIM so it can populate configuration and munge keys.
  • The name field must match the nfs_storage_name value in omnia_config.yml.
Example: Slurm NFS mount
mounts:
  - name: "nfs_slurm"
    source: "172.16.0.254:/mnt/share/omnia"
    mount_point: "/share_omnia"
    fs_type: "nfs"
    mnt_opts: "nosuid,rw,sync,hard,intr"
    mount_on_oim: true
    functional_group_prefix: ["slurm", "login"]

VAST storage mount (vast_storage_name) — optional

If a VAST storage appliance is available, configure a separate mount for HPC tools and benchmarks (/hpc_tools). This mount provides RDMA-optimized I/O for latency-sensitive workloads. If vast_storage_name is not specified in omnia_config.yml, Omnia uses the primary NFS mount for HPC tools.

  • Target compute and login nodes using functional_group_prefix: ["slurm_node", "login"].
  • Set mount_on_oim: true. The nonempty vast_storage_name reference and active Slurm target select this mount on the OIM so it can populate HPC tools and benchmark artifacts.
  • Use the vast_rdma mount_params profile for RDMA transport over InfiniBand.
  • Use the standard name: "vast_storage", and set vast_storage_name: vast_storage in omnia_config.yml to enable the mount.
  • If vast_storage_name is empty or omitted, Orchestrator skips the standard vast_storage entry and reuses nfs_storage_name for Slurm shared-data and HPC-tools paths. An unused VAST endpoint is therefore not contacted.
  • When vast_storage_name is set, it must match exactly one mount entry. The referenced storage is validated and must be reachable.
Example: VAST storage mount for HPC tools
mounts:
  - name: "vast_storage"
    source: "172.16.107.77:/share/vast"
    mount_point: "/mnt/vast"
    mount_params: "vast_rdma"
    mount_on_oim: true
    functional_group_prefix: ["slurm_node", "login"]

For a complete explanation of what data lives on each mount, see Slurm Storage Architecture.

Configuring NFS shares

NFS is the most widely used storage mount type in Omnia clusters. NFS shares provide shared filesystems across compute, login, and controller nodes for home directories, application data, and Slurm spool directories.

When defining an NFS mount, the source field must use the format server_ip:/export/path. The NFS server IP or DNS-resolvable hostname must be reachable from all target nodes at boot time.

Tip

  • Use hard,intr mount options for production NFS shares. The hard option ensures the client retries indefinitely on server failure, while intr allows interrupted system calls.
  • Set nconnect=16 for high-throughput workloads to open multiple TCP connections per mount.
  • Use rsize=1048576,wsize=1048576 (1 MB) for large sequential I/O patterns common in HPC.
  • Set mount_on_oim: true if the OIM needs access to the same share (e.g., for Slurm accounting or shared configuration).

NFS share for Slurm home directories with per-node isolation:

File: storage_config.yml
mounts:
  - name: "nfs_home"
    source: "172.16.0.254:/mnt/share/home"
    mount_point: "/home"
    fs_type: "nfs"
    mnt_opts: "nfsvers=4.1,hard,intr,noatime,nconnect=16,rsize=1048576,wsize=1048576"
    mount_on_oim: true
    functional_group_prefix: ["slurm", "login"]

NFS share using a named mount_params profile:

File: storage_config.yml
mounts:
  - name: "nfs_app_data"
    source: "172.16.0.254:/mnt/share/appdata"
    mount_point: "/opt/appdata"
    mount_params: "nfs_default"
    mount_on_oim: false
    functional_group_prefix: ["slurm_node"]

When mount_params is specified, the fs_type and mnt_opts values are inherited from the named profile in the mount_params section. Inline fs_type and mnt_opts values override the profile.

Warning

  • NFS paths must be resolvable at boot time. Use IP addresses or DNS-resolvable hostnames.
  • Mount point paths must be unique across all mount entries.
  • Avoid system directories (/etc, /sys, /proc, /boot, /root, /tmp) as mount points.

Configuring VAST storage with RDMA

VAST Data Platform provides high-performance NFS storage that supports RDMA (Remote Direct Memory Access) transport. RDMA bypasses the kernel TCP/IP stack and transfers data directly between the NFS client and the VAST storage appliance memory, delivering significantly lower latency and higher throughput compared to standard TCP-based NFS.

RDMA-based VAST mounts are recommended for latency-sensitive HPC workloads such as AI/ML training, large-scale simulations, and checkpoint/restart operations on Slurm compute nodes.

VAST mount with RDMA transport:

File: storage_config.yml
mounts:
  - name: "vast_storage"
    source: "172.16.107.77:/share/vast"
    mount_point: "/mnt/vast"
    mount_params: "vast_rdma"
    mount_on_oim: true
    functional_group_prefix: ["slurm_node", "login"]

The source-provided vast_rdma mount profile uses proto=rdma, nconnect=8, timeo=600, retrans=2, and 1 MB read/write buffers. You may define a different named profile after validating its options with the VAST appliance and client kernel.

VAST mount with standard TCP transport (fallback):

If the cluster network does not support RDMA (no InfiniBand or RoCE), use the source-provided vast_tcp profile with standard TCP transport:

File: storage_config.yml
mounts:
  - name: "vast_storage"
    source: "172.16.107.77:/share/vast"
    mount_point: "/mnt/vast"
    mount_params: "vast_tcp"
    mount_on_oim: true
    functional_group_prefix: ["slurm_node", "login"]

Note

  • RDMA transport requires InfiniBand or RoCE (RDMA over Converged Ethernet) connectivity between cluster nodes and the VAST appliance.
  • The VAST storage appliance must be configured with NFS exports and appropriate access policies before defining mounts.
  • The slurm_cluster section in omnia_config.yml should reference VAST storage via the vast_storage_name parameter.

K8s storage mounts

Service Kubernetes deployments require NFS mounts for persistent storage, Helm chart distribution, and shared application data. The service_k8s_cluster section in omnia_config.yml references these mounts by name.

Primary NFS mount (nfs_storage_name)

This mount stores Kubernetes persistent volumes, Helm charts, and shared application data. The NFS subdir provisioner creates persistent volumes backed by this share, allowing pods to store data that persists across pod restarts and node failures.

  • Target all K8s control-plane and worker nodes using functional_group_prefix: ["service_kube"].
  • Set mount_on_oim: true. An enabled service_k8s_cluster entry and active Kubernetes target select this mount on the OIM so it can populate initial configuration and Helm charts.
  • The name field must match the nfs_storage_name value in omnia_config.yml.
Example: K8s NFS mount
mounts:
  - name: "nfs_k8s"
    source: "172.16.0.254:/mnt/share/k8s"
    mount_point: "/mnt/k8s"
    fs_type: "nfs"
    mnt_opts: "nosuid,rw,sync,hard,intr"
    mount_on_oim: true
    functional_group_prefix: ["service_kube"]

For a complete explanation of what data lives on this mount, see K8s Storage Architecture.

Mount params

Named profiles that provide default values for filesystem type and mount options. Referenced by mounts and PowerVault entries via the mount_params field.

Parameter

Details

mount_params

dict

Named mount parameter profiles. Each profile defines fs_type and mnt_opts, with optional dump_freq and fsck_pass. Custom fields are rejected.

<mount_params_key>

dict

Profile name referenced by a mount's mount_params value.

fs_type

string / required

Default filesystem type

mnt_opts

string / required

Default mount options

dump_freq

string

Default dump frequency

fsck_pass

string

Default fsck pass number

Example custom profiles

File: storage_config.yml
mount_params:
  nfs_default:
    fs_type: "nfs"
    mnt_opts: "nfsvers=4.1,hard,intr,noatime,nconnect=16,rsize=1048576,wsize=1048576"
    dump_freq: "0"
    fsck_pass: "0"

  vast_rdma:
    fs_type: "nfs"
    mnt_opts: "proto=rdma,nconnect=8,timeo=600,retrans=2,rsize=1048576,wsize=1048576,hard"
    dump_freq: "0"
    fsck_pass: "0"

  vast_tcp:
    fs_type: "nfs"
    mnt_opts: "nosuid,rw,sync,hard"
    dump_freq: "0"
    fsck_pass: "0"

  powervault_iscsi:
    fs_type: "xfs"
    mnt_opts: "defaults,_netdev,noatime,x-systemd.requires=iscsi.service"
    dump_freq: "0"
    fsck_pass: "0"

PowerVault config

Defines PowerVault iSCSI volume connection parameters.

Warning

PowerVault configuration requires proper iSCSI initiator setup and network connectivity to the PowerVault controllers.

Parameter

Details

powervault_config

list / elements=dict

List of PowerVault iSCSI volume connection definitions. Processed via runcmd script because device path is only known after iSCSI login + multipath scan.

name

string / required

Unique identifier for this PowerVault volume

ip

list / elements=string / required

List of target controller IP addresses for iSCSI discovery

port

integer

TCP port for iSCSI target (default 3260)

Range: 1-65535.

iscsi_initiator

string / required

iSCSI initiator IQN

volume_id

string / required

Volume identifier (hex string / WWN) for multipath device matching

mount_point

string / required

Where the discovered device gets mounted

fs_type

string

Filesystem type. Overrides mount_params profile when specified.

Default: xfs.

mnt_opts

string

Mount options. Overrides mount_params profile when specified.

dump_freq

string

Accepted by the input schema, but the current PowerVault setup script writes 0 in the generated fstab entry and does not apply this value.

fsck_pass

string

Accepted by the input schema, but the current PowerVault setup script writes 0 in the generated fstab entry and does not apply this value.

mount_params

string

Named profile key from the mount_params section. Use an existing profile. The current runtime does not reject an unknown name and instead falls back to xfs with defaults,_netdev,noatime.

node_key

string

Optional cloud-init selector for per-node bind mounts. Accepted values are local_hostname, local_ipv4, and instance_id. When set, node_mount_point is required; no value is selected by default.

node_mount_point

list / elements=string

List of bind mount target paths. Required when node_key is set. Each gets: mount_point/<node_key_value>/<target_stripped_slash> -> <target>

functional_group_prefix

list / elements=string / required

Required list of functional group prefixes for node targeting. PowerVault entries do not support a groups alternative.

permissions

dict

Recursive ownership and mode applied to the root PowerVault mount_point after the per-node bind paths are created. This block runs only when node_key and node_mount_point are set; it is not limited to an individual bind path.

owner

string

User owner of the mount point (name or numeric UID)

Default: root.

group

string

Group owner of the mount point (name or numeric GID)

Default: root.

mode

string

Octal permission mode (e.g., 0755, 1777)

Default: 0755.

Example

File: storage_config.yml
powervault_config:
  - name: powervault1
    ip:
      - 172.1.2.3
    port: 3260
    iscsi_initiator: iqn.2025-01.com.dell:scontrol-node
    volume_id: 00c0ff4343f1f1f1001c8c4e6901000000
    mount_point: "/mnt/slurm"
    mount_params: "powervault_iscsi"
    node_key: "local_hostname"
    node_mount_point:
      - "/var/lib/mysql"
      - "/var/spool/slurm"
    functional_group_prefix: ["slurm_control_node"]
    permissions:
      owner: "slurm"
      group: "slurm"
      mode: "0750"

Swap

Defines swap file configurations created during node provisioning.

Parameter

Details

swap

list / elements=dict

Swap file configurations

filename

string / required

Path to the swap file to create

size

string / required

Size in bytes, 'auto', or human-readable format (e.g., 2G, 512M)

maxsize

string

Maximum size (used with size: auto)

functional_group_prefix

list / elements=string / required

Required list of OpenCHAMI functional group prefixes to which this swap applies. Swap entries do not support a groups alternative.

Example

File: storage_config.yml
swap:
  - name: "compute_swap"
    filename: "/swapfile"
    size: "2G"
    maxsize: "4G"
    functional_group_prefix: ["slurm_node"]

Note

After updating storage_config.yml, re-run the appropriate provisioning playbooks to apply the storage configuration to the nodes.

Verification

  1. Verify mounts are applied on target nodes:

    Run on: Target node
    mount | grep <mount_point>
    

    Expected output shows the mount source, mount point, and filesystem type configured in storage_config.yml.

  2. Verify NFS shares specifically:

    Run on: Target node
    df -h <mount_point>
    
  3. Verify PowerVault iSCSI sessions are active:

    Run on: Target node
    iscsiadm -m session
    
  4. Verify swap is enabled:

    Run on: Target node
    swapon --show
    

    Expected output lists the configured swap file with its size.

Next steps

Troubleshooting

  • Mount does not appear on the target node: Confirm the node's functional group name matches a functional_group_prefix value, and re-run the provisioning playbook. See PXE Mapping File to verify functional group names.
  • NFS mount fails or times out: Verify the NFS server IP/hostname is reachable and resolvable from the target node at boot time, and that the export path exists on the server.
  • VAST RDMA mount fails to connect: Confirm InfiniBand or RoCE connectivity between the node and the VAST appliance, and that the VAST appliance has NFS exports and access policies configured.
  • PowerVault volume does not mount: Verify iSCSI initiator configuration and network connectivity to the PowerVault controllers.

Info