Skip to main content

Dell PowerScale: OneFS NFS Design Considerations and Best Practices

White Paper

Nov 3, 2026


Notes, cautions, and warnings

NOTE: A NOTE indicates important information that helps you make better use of your product.
CAUTION: A CAUTION indicates either potential damage to hardware or loss of data and tells you how to avoid the problem.
WARNING: A WARNING indicates a potential for property damage, personal injury, or death.

Copyright

Copyright © Dell Inc. All Rights Reserved. Dell Technologies, Dell, and other trademarks are trademarks of Dell Inc. or its subsidiaries. Other trademarks may be trademarks of their respective owners.

Executive summary

Overview

This document provides common configurations and considerations to help you implement, configure, and manage NFS storage service on Dell PowerScale products. This content includes the following:

  • NFS protocol introduction and its compatibility with OneFS
  • Quick start implementation guide to use NFS service on OneFS
  • NFS considerations on OneFS
  • NFS considerations on client
  • NFS security considerations

Audience

This document is intended for administrators who are using NFS storage service on PowerScale OneFS. The document assumes you have knowledge of the following:

  • Network Attached Storage (NAS) systems
  • Network File System (NFS) protocol
  • PowerScale OneFS distributed file system and scale-out architecture
  • Directory service such as Active Directory and LDAP

You should also be familiar with Dell PowerScale documentation resources, including:

Revisions

Revision history. Lists document revisions, publication dates, and corresponding OneFS version updates.
Date Part number/ revision Description
May 2018 - Initial release
June 2020 - PowerScale rebranding
May 2021 - NFSv3 over RDMA new feature in OneFS 9.2.0
October 2021 - NFSv4.1 support in OneFS 9.3.0
January 2023 H17240.4 Updated for SmartQoS in OneFS 9.5.0
May 2023 H17240.5 Minor updates
January 2024 H17240.6 Template update
April 2024 H17240.7 Update for OneFS 9.8, NFSv4.x over RDMA
July 2024 H17240.8 Update for considerations about co_ownerid strings
December 2025 H17240.9 Change term access zone to multi-tenant access zone
January 2026 H17240.10 Revised for some outdated information
March 2026 H17240.11 Minor changes
August 2026 H17240.12 Updated for OneFS 9.15 and pNFS
November 2026 H17240.13 Updated for OneFS 9.16 and NFS over TLS

We value your feedback

Dell Technologies and the authors of this document welcome your feedback on this document. Contact the Dell Technologies team by email.

NOTE: For links to other documentation for this topic, see PowerScale Info Hub.

NFS protocol and OneFS

OneFS overview

OneFS is a fundamental component for Dell PowerScale storage. It is used to power all Dell PowerScale NAS storage solutions and offers the following key advantages:

  • Scale-out architecture: OneFS is designed to scale in terms of machine, by adding more PowerScale nodes to a cluster, both performance and capacity is scaled. It enables PowerScale scale to a multi-petabyte large cluster which contains a maximum of 252 nodes.
  • Single file system and namespace: Traditional storage model contains file system, volume manager, and data protection. OneFS combines all of them into a single intelligent distributed file system, and provides a single namespace that is accessible through multi-protocol (NFS, SMB, HDFS, S3, HTTP, and FTP) simultaneously.
  • Efficiency and ease of management: OneFS provides unique features to improve PowerScale NAS storage system efficiency and ease of management. For example, with OneFS SmartPools, you can tier your cold data to lower-cost PowerScale nodes automatically.

OneFS is not only the operating system but also the underlying file system that drives and stores data in the PowerScale scale-out NAS cluster.

NFS protocol introduction

The Network File System (NFS) protocol allows users to mount remote file systems transparently and access to shared files across networks. It uses a client/server model based on Remote Procedure Call Protocol (RFC5531), so NFS is portable across different machines, operating systems, network architecture, and transport protocols. NFS eliminates the need to keep copies of files on several machines by letting the clients all share a single copy of a file on the server.

There are three major NFS versions. Each of them is defined in an RFC specification as shown in the following table. This chapter provides a brief summary about NFSv3 and NFSv4.x as they are implemented in most enterprise environments. For more details, see the links in the table.

NFS versions and evolution . Outlines the evolution of the NFS protocol, tracking major releases from legacy versions (NFSv2 and NFSv3) to modern iterations (NFSv4.x).
Version RFC Status
NFSv2 RFC1094 (published in 1989) Obsolete
NFSv3 RFC1813 (published in 1995) Most popular
NFSv4.0 RFC3010 (published in 2000, obsolete) Slowly replacing NFSv3
RFC3530 (published in 2003, obsolete)
RFC7530 (published in 2015)
NFSv4.1 RFC5661 (published in 2010) Adopted gradually
NFSv4.2 RFC7862 (published in 2016)

NFSv3

The NFSv3 is a stateless protocol. Statelessness means that the server does not need to maintain state about any of its clients in order to function correctly. The NFSv3 has following key enhancements compared with NFSv2:

  • The file handle has been increased to a variable length up to 64 bytes, instead of 32 bytes.
  • Supports files larger than 2 GB. Maximum file size depends on the NFS server’s local file systems.
  • Eliminates the 8 KB limit of the maximum size of an on-the-wire NFS read or write operation.
  • Introduces the concept of Weak Cache Consistency. A server reply to a read or write operation returns extra attribute information which can be used by clients to decide whether its data and attribute caches are stale. So NFSv3 clients will detect changes to files faster that are modified by another client.
  • Introduces safe asynchronous writes to improve performance. New COMMIT procedure is added to flush data to stable storage for an asynchronous write and to detect if retransmit the data is needed.

To function correctly, NFSv3 also relies on several auxiliary protocols.

Mount protocol

The mount protocol is separate from, but related to, the NFS protocol. It provides operating system-specific services to get NFS off the ground - looking up export pathnames, validating user identity, and checking access permissions. Clients use the mount protocol to get the first file handle, which allows them entry into a remote file system.

Network Lock Manager (NLM) protocol and Network Status Monitor (NSM) protocol

Because NFS is a stateless service, auxiliary protocols are needed to offer inherently stateful services such as file locking and access control synchronization. So the RPC-based NLM protocol and NSM protocol work together to provide file locking and access control capability.

Binding protocol

As NFS protocol and its auxiliary protocols mentioned above are all based on RPC, it is necessary to map RPC program number/version number pairs to the network port number (TCP/UDP port number) for that version of that program. Binding protocol (RFC1833) provides such a lookup service to find a network port number for a specific RPC program number/version. There are three versions of a lookup service: RPCBIND (Versions 3 and 4) which uses a transport-independent format for the transport address, and Port Mapper (Version 2) which is an older protocol only specific for TCP and UDP transport.

NFSv4.x

The biggest change in NFSv4.x is that it is designed as a stateful protocol. Unlike earlier NFS versions which needs auxiliary protocols to provide additional functions, the NFSv4.x integrates the file locking (NLM/NSM) and the mount protocol. Besides, the NFSv4.x also provides some of the key features as follows:

  • Introduces the COMPOUND procedure as a wrapper to coalesce one or more operations into a single RPC request.
  • Introduces the NFSv4.x Access Control Lists (ACL) to support more expressive and granular access control while clients accessing the NFS shared files.
  • Session model is introduced since NFSv4.1 for better connection management.

Advantages of NFSv4.x

The NFSv4.x retains the essential characteristics of the previous version, such as independent of operating systems, simplicity, and good performance. It also has more advantages compared with older versions.

COMPOUND procedure

The compound procedure will combine multiple individual operations into a single request to reduce the number of RPC packets transmitted over the network. The client can avoid the cumulative latency of multiple RPCs. So the NFSv4.x will perform better in a potentially high latency network like the Internet.

Firewall friendly

To access an NFSv3 server, the client needs to involve NFS protocol and its auxiliary protocols (port mapper, mount, NLM/NSM), each of them needs TCP/UDP ports which would not be the well-known ports listening on the network. This will cause problems for using NFS through firewall. In the NFSv4.x, there are no auxiliary protocols and it is designed as a single protocol using a single TCP port, usually listening on port 2049. So it traverses firewalls and network address translation (NAT) devices easily, and makes the network management and configuration easily. More details and considerations are discussed in Network security considerations.

Stronger security

The NFSv4.x ACL file attribute is added to enable more expressive access control. The NFSv4.x ACL model is quite rich. With the use of NFSv4.x ACL, the server does all access control based on the server’s interpretation of the ACL although the client can manipulate the ACL attributes. More details and considerations are discussed in NFSv4.x ACL.

NFS compatibility with OneFS

For OneFS 9.3 and later, OneFS supports NFSv3, NFSv4.0, NFSv4.1, and NFSv4.2.

For OneFS 9.2 and earlier, OneFS supports NFSv3 and NFSv4.0.

NOTE: NFSv4.2 just adds additional new features based on NFSv4.1, therefore, OneFS allows clients to mount NFS export with NFSv4.2, but OneFS does not implement NFSv4.2 features.

NFSv4.1 support

NFSv4.1 introduced several new features to the NFSv4 protocol standard, as covered in RFC-5661. These differences are covered in Section 1.8 of the RFC.

Some features are listed as required, which means that the feature must be implemented in or supported by the NFS server to claim RFC standard. Other features are listed as recommended or optional features and are supported ad hoc by the NFS server but are not required to claim RFC compliance. Starting from OneFS 9.3.0, OneFS supports NFSv4.1 and NFSv4.2 to access data by implementing all the required features defined in RFC-5661. This support excludes the Secret State Verifier (SSV) which is not implemented by any open-source Linux clients. OneFS 9.3.0 implements the session model which allows NFSv4.1 and NFSv4.2 clients to leverage trunking. Trunking is the use of multiple connections between a client and server in order to widen the I/O path. OneFS 9.3.0 supports both session trunking and client ID trunking.

  • Session trunking is the association of multiple TCP connections to the same session. Most Linux supports session trunking by using nconnect option which is included in Linux kernel version higher than 5.3.
  • Client ID trunking is the association of multiple sessions to the same client ID. Not observed any open-source Linux clients support client ID trunking.

The following figure shows the supported NFS operations in OneFS 9.3.0 and later. Both NFSv4.1 and NFSv4.2 use the existing NFSv4.0 I/O stack in OneFS. NFSv4.2 is a superset of NFSv4.1, with all new features being optional. OneFS still allows clients to mount NFS export of OneFS with NFSv4.2 and access OneFS data even OneFS does not implement any NFSv4.2 features.

Diagram comparing NFSv4.0, NFSv4.1, and NFSv4.2 protocol operations, highlighting which operations are supported by OneFS and which optional operations are not implemented.

Supported NFS operations in OneFS 9.3.0

Implementing NFS

The Dell PowerScale OneFS operating system can enable seamless multiprotocol data access with unified security model. NFS is one of the protocols that gives UNIX and Linux system access to OneFS. This chapter provides a quick start guide to implement NFS as your data access protocol to OneFS in your environment: identity management and authentication, create NFS export and mount export to clients.

Identity management and authentication

It is important to understand the identity management and authentication methods before implementing NFS to your environment. Identity management provides a location to store user information, tell where a user is. Authentication is a process that validates the identity of a user. In OneFS, the identity management and authentication is offered by authentication providers. OneFS supports the following methods for authenticating user:

  • Active Directory (AD)
  • Lightweight Directory Access Protocol (LDAP)
  • Network Information Service (NIS)
  • Local users and groups

Use Active Directory service and LDAP for ease of user identity and access management.

Active Directory (AD)

Active Directory is implemented by Microsoft that provides several services: LDAP, Kerberos, and DNS. The primary reason for a PowerScale cluster to join an AD domain is to provide user/group identity management and authentication. Active Directory service is used to authenticate all Windows clients and users. OneFS is compliant with RFC2307, therefore in a multiprotocol environment it is recommended to integrate AD with OneFS to provide a centralized identity management and authentication.

RFC2307 allows you to implement unified authentication for UNIX and Windows Active Directory accounts by associating a user ID (UID), group ID (GID), home directory, and shell with an Active Directory object.

Windows Server supported some variations of these schema extensions in versions before Windows 2003 R2 with Microsoft Services for UNIX. Windows 2003 R2 and later versions provide full RFC 2307 support. This means that, when configured, the standard UNIX attributes exist in the schemas of domains created with Windows 2003 R2 and later.

To use Active Directory as authentication provider for NFS service. You need to configure the OneFS and Active Directory for RFC2307 compliance, and integration with AD for NFS is also needed on the NFS client side. For more details about how to enable RFC2307 for OneFS and Active Directory, refer to the blog article. For more details about how to integrate Linux client with AD for NFS, refer to the associated official documentations, for example, refer to Red Hat Windows Integration Guide for Red Hat Linux distribution.

Lightweight Directory Access Protocol (LDAP)

OneFS cluster can also be configured to use LDAP as the authentication provider. The LDAP service in a OneFS cluster supports the following features:

  • Users, groups, and netgroups
  • Customized LDAP attribute mapping
  • Simple BIND authentication
  • Redundancy and load balancing across all server with identical directory data
  • Encrypted passwords

To enable a Linux client using LDAP, you can refer to the corresponding Linux distribution official documentation, for example, refer to Red Hat System-level Authentication Guide for Red Hat Linux distribution.

Network Information Service (NIS)

The NIS is a directory services protocol designed by Sun Microsystems. It has inherent limitations, especially in the areas of scalability and security. So it is usually replaced by LDAP unless your environment has been using NIS for a long time.

Local users and groups

The OneFS cluster supports local users and groups for authentication. You can create local users and groups accounts directly on the cluster. Local authentication can be useful for a test environment or if there is no directory service available.

In a multi-protocol environment, there are usually multi-authentication providers with Active Directory for Windows client’s access and LDAP for Linux or UNIX client’s access. If a user exists in both Active Directory and LDAP, it is required to configure a user-mapping rule for the user to have enough permission to access files. You can use isi auth mapping create/view to create or view the user mapping rules.

Create NFS export

OneFS supports NFSv3, NFSv4.0, NFSv4.1 and NFSv4.2. OneFS does not implement NFSv4.2 new features, but it allows clients to mount NFS export with NFSv4.2. By default, OneFS has NFS service disabled. You need to enable NFS service first from WebUI or using isi command. Enabling NFSv4.x is non-disruptive on a OneFS cluster, and it will run concurrently with NFSv3. Any existing NFSv3 clients will not be affected by enabling NFSv4.x.

OneFS NFS export is zone-aware, every NFS export is associated with a Multi-tenant Access Zone. By default, a multi-tenant access zone named “System” is used if you do not specify an Access Zone name when the export is created. More details about access zones are provided in 3.3 Multi-tenant access zone.

By default, the NFS service applies a root-squashing rule (map the root user to nobody user) for the NFS export. This prevents the client from gaining root privileges to the server despite the user’s credential. Keeping the rule as the default setting is recommended because the root account is the super user in Linux and UNIX environments.

NOTE: If you are creating an NFSv4.x export, you need to configure a same NFSv4.x domain on both the OneFS cluster and NFSv4.x clients. You can configure the NFSv4.x domain for the OneFS from WebUI or using isi command isi nfs settings zone modify. To configure the NFSv4.x domain for NFSv4.x client, you can edit the Domain = example.local to your NFSv4.x domain in the /etc/idmapd.conf file on the client.

Mount export over NFSv3/NFSv4.0/NFSv4.1/NFSv4.2

NFS v3/v4 are supported on Linux 2.6 kernels and later. In this white paper, we use Centos 6.9 as NFS client to illustrate the client side configuration.

NFS exports are mounted on the client using the mount command. The format of the command shown as below:

# mount -t nfs -o options server:/remote/export /local/directory

When you mount an NFS export, the NFS protocol version is determined at mount time, and can be modified by specifying the version of the NFS protocol using mount options nfsvers or vers. For example, the command mount -t nfs -o nfsvers=4.1 server:/remote/export /local/directory mounts the export with NFSv4.1.

The drawback of using mount command is that the mounted NFS export is not persistent across client reboots. So you can use /etc/fstab and autofs to mount the NFS file system. For more details about mount, /etc/fstab and autofs, refer to Red Hat Storage Administration Guide. More mount options and considerations are discussed in section NFS client considerations.

NOTE: Mount options nfsvers and vers have the same meaning in the mount command. The option vers is compatible with NFS implementations on Solaris and other vendors.

PowerScale OneFS considerations

NFS export considerations

NFS export read size and write size on OneFS

While mounting export to a client, you can specify the read size (rsize) and write size (wsize) options. Larger rsize and wsize improve the throughput performance. By default in OneFS, the rsize of 128 KB and wsize of 512 KB are advertised for NFSv3 Linux clients, but can be set as high as 1 MB. NFSv4.x defaults to 1 MB for both rsize and wsize. Explicitly setting these values too small will override the default value and might result in slower than optimal performance.

NFS aliases

In general, create an export with short path when possible. If the long directory path must be used, you can create an NFS alias for the directory path. An NFS alias is designed to give functional parity with SMB share name within the context of NFS. It provides a shortcut for the path. Like exports, NFS aliases are also multi-tenant access zone-ware. You can specify the multi-tenant access zone when you create an alias. You can check the status of an alias from the WebUI or using isi command isi nfs aliases with --check option (status can be: good, illegal path, name conflict, not exported, or path not found).

NFSv3 encoding support

OneFS 8.1.1.1 includes enhancements to NFSv3 encoding. This sets the cluster encoding and export encoding to the same character set using RFC-compliant filenames, enabling exports to any NFSv3 client that uses western or nonwestern characters.

Before OneFS 8.1.1.1, non-utf-8 encoded files or directories may be inaccessible to NFSv3 and NFSv4.x clients. If this issue occurs in your environment, contact Dell technical support service to help solve the issue or upgrade your OneFS cluster to OneFS 8.1.1.1 or higher.

32-bit file IDs over NFS

The NFS protocol supports 64-bit file IDs from NFSv3 onwards. However, some applications do not support 64-bit file IDs. To accommodate these applications, OneFS allows enabling 32-bit file IDs from WebUI or using isi command isi nfs export <exportID> --return-32bit-file-ids.

NOTE: When this change is made, all clients must be remounted. Clients that are not remounted will encounter errors such as "error: fileid changed," or the clients will continue to receive 64-bit file IDs. You might need to schedule a maintenance window before making this change.

SmartConnect

SmartConnect, a licensable software module of the PowerScale OneFS operating system, helps to greatly simplify client management across the enterprise. Through a single host name, SmartConnect enables client connection load balancing and dynamic NFS failover and failback of client connections across storage nodes to provide optimal utilization of the cluster resources.

Client Connection Load Balancing

SmartConnect balances client connections across nodes based on policies that ensure optimal use of cluster resources. By leveraging your existing network infrastructure, SmartConnect provides a layer of intelligence that allows all client and user resources to point to a single hostname, enabling easy management of a large and growing numbers of clients. Based on user configurable policies, SmartConnect applies intelligent algorithms (CPU utilization, aggregate throughput, connection count, or round robin) and distributes clients across the cluster to optimize client performance and end-user experience. SmartConnect can be configured into multiple zones that can be used to ensure different levels of service for different groups of clients. All of this is transparent to the end user.

NFS failover using dynamic IP pool

SmartConnect uses a virtual IP failover scheme that is specifically designed for PowerScale scale-out NAS storage and does not require any client-side drivers. The PowerScale cluster shares a “pool” of virtual IPs that is distributed across all nodes of the cluster. The cluster distributes an IP address across NFS (Linux and UNIX) clients based on a client connection balancing policy.

This is an example illustrating how NFS failover works. As shown in the following figure, in the six-node OneFS cluster, an IP address pool provides a single static node IP (10.132.0.140 – 10.132.0.145) to an interface in each cluster node. Another pool of dynamic IPs (NFS failover IPs) has been created and distributed across the cluster (10.132.0.150 – 10.132.0.161).

Example of a six-node PowerScale cluster showing node-specific static IP addresses and a shared pool of dynamic failover IP addresses distributed across cluster nodes.

Dynamic IPs and Static IPs

When Node 1 in the cluster goes offline, the NFS failover IPs and connected clients associated with Node 1 failover to the remaining nodes based on the configured IP failover policy (Round Robin, Connection Count, Network Throughput, or CPU Usage). The static IP for Node 1 is no longer available as shown in the following figure.

Illustration of NFS client failover after a cluster node outage, showing dynamic IP addresses moving to remaining nodes to maintain client connectivity.

NFS Failover with Dynamic IP Pool

Therefore, using dynamic IP pool for NFS workload is recommended to provide NFS service resilience. If a node with client connections established goes offline, the behavior is protocol-specific. Because NFSv3 is a stateless protocol, after the node failure, workflows can be moved easily from one cluster node to another. It will automatically reestablish the connection with the IP on the new interface and retries the last NFS operation. NFSv4.x is a stateful protocol, the connection state between the client and the node is maintained by OneFS to support NFSv4.x failover and in OneFS 8.x versions and higher, OneFS keeps that connection state information for NFSv4.x synchronized across multiple nodes. Once the node failure occurs, the client can resume the workflow with the same IP on the new node using the previous maintained connection state.

The number of IPs available to the dynamic pool directly affects how the cluster load balances the failed connections. For small clusters under N (N<=10) nodes, the formula N*(N-1) will provide a reasonable number of IPs in a pool. For larger clusters, the number of IPs per pool is between the number of nodes and the number of clients. Requirements for larger clusters are highly dependent on the workflow and the number of clients.

Multi-tenant access zone

OneFS provides a single namespace while enabling multi-protocol access, such as NFS and SMB. Linux machines access the data using NFS; Windows computers access the data using SMB. There is a default shared directory (ifs) of OneFS, which lets clients running Windows, UNIX, Linux, or MacOS access the same directories and files. We recommended that you disable the ifs shared directory in a production environment and create dedicated NFS exports and SMB shares for your workload.

To securely support data access to OneFS, it does three main things:

  • Connects to directory services, such as Active Directory, NIS, and LDAP, which are also known as identity management systems and authentication providers. A directory service provides a security database of user and group accounts along with their passwords and other account information.
  • Authenticates users and groups. Authentication verifies users identity and triggers the creation of an access token that contains information about a user’s identity.
  • Controls access to directories and files. OneFS compares the information in an access token with the permissions associated with a directory or a file to allow or deny access to it.

All three of these functions take place in a multi-tenant access zone -- a virtual security context to control access based on an incoming IP address (groupnet) and provides a multi-tenant environment. In a multi-tenant access zone, OneFS connects to directory services, authenticates users, and controls access to resources. A cluster has a default single multi-tenant access zone, which is known as the System multi-tenant access zone. Until you add a multi-tenant access zone, NFS exports are in the default multi-tenant access zone.

The considerations for multi-tenant access zone are as below:

  • Each multi-tenant access zone may include at most one MIT Kerberos provider.
  • A multi-tenant access zone is limited to a single Active Directory provider; however, OneFS allows multiple LDAP, NIS, and file authentication providers in each multi-tenant access zone. Assign only one type of each provider per multi-tenant access zone to simplify administration.
  • Creating a large number of local users and groups may affect system performance. Therefore, we recommend limiting the number of local users and groups per cluster to 25,000 each.
  • Use the System multi-tenant access zone for cluster management, and create additional multi-tenant access zones for data access.
  • Separate organization tenants using multi-tenant access zone with no more than 50 zones in OneFS 9.15 and earlier releases. OneFS 9.16 raises this access zone limit to a maximum of 500 zones per cluster.
  • Designate separate directory path for each access while you are creating multiple multi-tenant access zones.
  • If DNS settings are different for your different NFS workflows, you can specify the dedicated DNS settings for each workflow using groupnet.

AIMA (Authentication, Identity Management, Access)

When a user connects to a PowerScale cluster, OneFS checks the directory services to which the user’s multi-tenant access zone is connected for an account for the user. If OneFS finds an account that matches the user’s login name, OneFS verifies the user’s identity to authenticate the user. During authentication, OneFS creates an access token for the user. The token contains the user’s full identity including group memberships and OneFS uses the token later to check access to directories and files.

When OneFS authenticates users with different directory services, OneFS maps a user’s account from one directory service to the user’s accounts in other directory services within a multi-tenant access zone—a process known as user mapping. A Windows user account managed in Active Directory, for example, is mapped by default to a corresponding UNIX account with the same name in NIS or LDAP.

As a result, with a single token, a user can access files that were stored by a Windows computer over SMB and files that were stored by a Linux computer over NFS.

Similarly, because OneFS provides multiprotocol access to files, it must translate the permissions of Linux and UNIX files to the access control lists of Windows files. As a result, a user who connects to the cluster with a Linux computer over NFS can access files that were stored on the cluster by a Windows user with SMB.

The following figure summarizes how directory services, identity mapping, policies, and permissions play a role in the OneFS system of authentication and access control. For more details about AIMA, refer to OneFS Multiprotocol Security Guide.

Diagram showing how Active Directory, LDAP, NIS, Kerberos, user mapping, identity mapping, and access control interact within OneFS to provide multiprotocol authentication and authorization.

OneFS authentication and access control

No overlapping ID ranges and avoid common ID ranges

In the case that you contain multiple identity sources, like LDAP and Active Directory with RFC2307, you should ensure that the UID and GID ranges do not overlap. Besides, OneFS also allocates a UID and GID as needed. The default range from which OneFS automatically allocate a UID and GID is 1,000,000 to 2,000,000. Other identity source ID range must not overlap with the OneFS default range. If UIDs and GIDs overlap across two or more directory services, some users could have right to access to other users’ files.

In addition, there are UIDs and GIDs below 1000 are reserved for system, do not assign them to users or groups in the identity source.

User mapping in multiple directory services

When the name of an account in different directory services match exactly, OneFS automatically combines their access tokens into a single token. AIMA requires that SAMAccount name is populated in AD for each user. For example, the user-mapping service maps, by default, a Windows account named CORP\jane from Active Directory to a UNIX account named jane from LDAP and generates an access token that combines the group membership information from the two accounts. OneFS also automatically maps two groups with the same name. Besides the automatic user mapping, OneFS allows the administrator to map users from different directory services manually from the WebUI and CLI.

The following are some considerations for user mapping:

Employ a consistent username strategy
The simplest configurations name users consistently, so that each UNIX user corresponds to a similarly named Windows user. Such a convention allows rules with wildcard characters to match names and map them without explicitly specifying each pair of accounts.
Do not use UPNs in mapping rules
You cannot use a user principal name (UPN) in a user-mapping rule. A UPN is an Active Directory domain and username that are combined into an Internet-style name with an @ symbol, such as an email address: jane@example. If you include a UPN in a rule, the mapping service ignores it and may return an error. Instead, specify names in the format DOMAIN\\user (as the backslash is a special character, using additional backslash as the escape character on OneFS).
Group rules by type and order them
The system processes every mapping rule by default, which can present problems when you apply a deny-all rule—for example, to deny access to all unknown users. In addition, replacement rules might interact with rules that contain wildcard characters. To minimize complexity, group rules by type and organize them in the following order: replacement rules, join/add/insert rules, allow/deny rules.

OneFS protocol audit

OneFS allows you to audit protocol activities. All audit data is stored and protected in the cluster file system and organized by audit topic. Starting in OneFS 8.0, protocol audit tracks and stores activity performed through SMB, NFS, and HDFS protocol connections in a multi-tenant access zone level. You can specify which events to log in each multi-tenant access zone. For example, you might want to audit the default set of protocol events in the System access zone but audit only successful attempts to delete files in a different multi-tenant access zone.

The audit events are logged on the individual nodes where the SMB, NFS, or HDFS client initiated the activity. The events are then stored in a binary file under /ifs/.ifsvar/audit/logs. The logs automatically roll over to a new file after the size reaches 1 GB.

OneFS integration with Dell Common Event Enabler (CEE) enables third-party auditing applications to collect and analyze protocol auditing logs. The following figure shows a logical data flow in an NFS environment when using CEE and third-party applications. During the NFS client access the PowerScale cluster over NFS, the event will be stored as configured to the cluster, the OneFS daemon isi_adudit_cee exports protocol audit events to CEE, and then the CEE will forward protocol audit events to the consumer application.

Data flow diagram showing NFS client activity being logged by OneFS, forwarded through Dell Common Event Enabler (CEE), and consumed by third-party auditing applications.

Protocol audit logical data flow

NOTE: Dell CEE does not support forwarding HDFS protocol events to a third-party application.

By default, the tracked events are create, close, delete, rename, and set_security. For the details of supported event types and its description, refer to the Auditing chapter of OneFS Web Administration Guide. Because each audited event consumes system resources, we recommend that you configure zones only for events that are needed by your auditing application. In addition, we recommend that you install and configure third-party auditing applications before you enable the OneFS auditing feature. Otherwise, all the events that are logged are forwarded to the auditing application, and a large backlog causes a delay in receiving the most current events.

NFS client considerations

Linux client

Use NFS over TCP

The advantage using NFS over TCP is that it works far better than UDP over unstable networks. When using TCP, a single dropped packet can be retransmitted, without the retransmission of the entire RPC request, resulting in better performance over unstable networks.

In addition, TCP will handle network speed differences better than UDP, due to the underlying flow control at the network level. When using UDP, if network speeds of the client and server are not identical, dropped packets and retransmissions might cause performance to be extremely slow when the faster entity tries to send data to the slower entity.

The overhead incurred by the TCP protocol will result in somewhat slower performance than UDP under ideal network conditions, but the cost is not severe, and is often not noticeable without careful measurement. If you are using 10 GB Ethernet or above from end to end, you might also investigate the usage of jumbo frames. The high-speed network may allow the larger frame sizes without encountering increased collision rates, particularly if you have set the network to full duplex.

Client support for NFS over TCP is integrated into all Linux kernel 2.4 and later. You can check your client kernel version with command uname –r before you use NFS over TCP. By default, the client will attempt to mount NFS export with TCP if supported, you can also use option –proto=tcp to explicitly use TCP.

Security-Enhanced Linux (SELinux)

Security-Enhanced Linux (SELinux) is an implementation of a mandatory access control mechanism in the Linux kernel, checking for allowed operations after standard discretionary access controls are checked.

By default, NFS mounts on the client side are labeled with a default context defined by policy for NFS volumes. In common policies, this default context uses the nfs_t type. Depending on policy configuration, services such as Apache HTTP Server and MySQL may not be able to read files labeled with the nfs_t type. This may prevent file systems labeled with this type from being mounted and then read or exported by other services.

If you would like to mount an NFS volume and read or export that file system with another service, use the -context option when mounting to override the nfs_t type. For example, use the following context option to mount NFS volumes so that they can be shared through the Apache HTTP Server:

mount -o context="system_u:object_r:httpd_sys_content_t:s0" onefs_server:/export /mnt/mount_point

SELinux can enforce rules on files and processes in a Linux system and on their actions based on defined policies. Because SELinux will introduce a performance overhead, disable the SELinux in the Linux client unless it is explicitly required. To permanently disable SELinux, follow these steps:

  1. Configure SELINUX=disabled in the /etc/selinux/config file.
  2. Reboot your system.
  3. Check that your SELinux is disabled. Use the command getenforce, which returns Disabled, or check the status by using the command sestatus.

NFS read size (rsize) and write size (wsize)

The mount options rsize and wsize specify the size of the data block size in bytes to be transferred at one time between the client and server. Setting a larger data block size would improve the performance. But be careful when changing these values; some older Linux kernels and network cards do not work well with larger block sizes. For most of modern systems, these settings are negotiated during mount and the server will specify the recommended settings. By default in OneFS, a rsize of 128 KB and wsize of 512 KB are advertised for NFSv3 Linux clients, but can be set as high as 1 MB. NFSv4.x defaults to 1 MB for both rsize and wsize.

Setting these values incorrectly will result in slower performance, so we recommended that you experiment before you change rsize and wsize. You can test your options with some simple commands if your network environment is not heavily used. Here is an example using command dd to do a simple test to see the speed while using different rsize and wsize.

Commands use to write file to a OneFS cluster and read file from a OneFS cluster:

  • Write file to OneFS cluster: this command transfers 30720 blocks of 1024k each (32 GB file of zeroed bytes) from a special file /dev/zero to the mount point /mnt/. We will measure the completion time. On a client machine, type:
    time dd if=/dev/zero of=/mnt/test.file bs=1024k count=30720
  • Read back the file from OneFS cluster into the null device on the client machine (/dev/null) by typing the following:
    time dd if=/mnt/test.file of=/dev/null bs=1024k

Result shows in the following figure while mounting NFS with options nfsvers=4,rsize=1048576,wsize=1048576, which is the default value advised by OneFS. And leaves the other mount options as default.

test result with options nfsvers=4,rsize=1048576,wsize=1048576 using dd command

Result with options nfsvers=4,rsize=1048576,wsize=1048576

Result shows in the following figure while mounting NFS with options nfsvers=4,rsize=32768,wsize=32768. And leaves the other mount options as default.

test result with options nfsvers=4,rsize=32768,wsize=32768

Result with options nfsvers=4,rsize=32768,wsize=32768

From these results, we can see that the performance will decrease if the inappropriate rsize and wsize values are used. We recommend that you do not specify these options when mounting a OneFS cluster NFS export. If you want to specify these options, we recommend that you verify them, as shown, before you apply these setting in your production environment.

NOTE: The test result shown may vary widely in different test environments—for example, in a different Linux OS/Kernel or network. If you achieve unexpected test results or if you would like to test different types of workloads (sequential, random, mix), use more complex benchmarks such as IOZone, FIO.

Hard mounts and soft mounts, timeout, and retransmissions

Hard mounts
If you have mounted the NFS file system using a hard mount and if for any reason that share is not available, the client will repeatedly retry to contact the server. Once the NFS server is back online, the program will continue to perform undisturbed from the state where it was during server crash. Therefore, with a tradeoff of unavailable applications, the client will not lose any data during the NFS server is unavailable. We can use the mount option intr, which allows NFS requests to be interrupted if the server goes down or cannot be reached. The recommended settings are hard and intr options.
Soft mounts
In case of a soft mount, when a program or application requests a file from the NFS file system, NFS client daemons will try to retrieve the data from the NFS server. But, if it does not get any response from the NFS server (due to any crash or failure of NFS server), the NFS client will report an error to the process on the client machine requesting the file access. A so-called "soft" timeout can cause silent data corruption in certain cases. As such, it is not suggested to use the soft option unless the application requires I/O operations to fail when the NFS server is unresponsive for a specified period. Failure will be the time requires for the iterations of the timeout value. Using NFS over TCP or increasing the value of the retrans option may mitigate some of the risks of using the soft option.
Timeout
The timeout period is specified by the mount parameter timeo and is expressed in deciseconds (tenths of a second). By default, for NFS over TCP the default timeo value is 600 (60 seconds). The NFS client performs linear back off: After each retransmission the timeout is increased by time up to the maximum of 600 seconds.
Retransmissions
The number of times the NFS client retries a request before it attempts further recovery action. This setting is irrelevant with hard mounts because they will retry indefinitely.

Setting these options incorrectly would cause unnecessary retransmissions in some cases, for example, in a high latency network. So unless you have an explicitly requirement to these options for your application and system, you should leave these options as default.

Sync and async mounts

The options is async by default, the NFS client delays sending application writes to the server until any of these events occur:

  • Memory pressure forces reclamation of system memory resources.
  • An application flushes file data explicitly with sync, msync, or fsync.
  • An application closes a file with close.
  • The file is locked/unlocked by fcntl.

In other words, under normal circumstances, data written by an application may not immediately appear on the server that hosts the file. If the sync option is specified on a mount point, any system call that writes data to files on that mount point causes that data to be flushed to the server before the system call returns control to user space.

So the sync write introduces a significant performance overhead while providing better data cache coherence between clients. Applications can use the O_SYNC open flag to force application writes to individual files to go to the server immediately without the use of the sync mount option. It is recommended to use async mounts and the application control the safe write behavior by writing with the O_SYNC open flag or flush data with sync.

Attribute caching (ac/noac)

Use the noac mount option to achieve attribute cache coherence among multiple clients. Almost every file system operation checks file attribute information. The client keeps this information cached for a period to reduce network and server load. When noac is in effect, a client's file attribute cache is disabled, so each operation that needs to check a file's attributes is forced to go back to the server. Besides, the noac option forces application writes to become synchronous so that a client sees changes to a file upon opening, at the cost of many extra network operations. By default, the attribute caching is enabled when mounting the NFS. Enable the attribute caching to improve the attribute checking performance and reduce the NFS operation latency.

nconnect

This mount option exists in all Linux distributions with kernel 5.3 or higher and can be set up to a limit of 16. It allows clients establish multiple TCP connections to a OneFS cluster node for a specific NFS version, as it can be used with NFSv3 and NFSv4.x with each individual version being tracked separately. This option is set during the client's first mount for a particular OneFS node and NFS version combination. If the client performs another NFS mount for the same OneFS node and NFS version, it will reuse the connections established by the first mount. Subsequent mount commands cannot override the nconnect value already established. To set a new nconnect value, all client-mounted NFS file systems which point to a certain OneFS node and NFS version must be unmounted, and you must remount the NFS mount with the desired nconnect value.

Avoid using same hostname for multiple NFSv4 clients

Based on NFSv4.1 RFC, NFS clients should generate a unique co_ownerid string so that multiple clients do not present the same string to the NFS server. Specifically, when multiple clients have same hostname, the co_ownerid string is identical across these clients. Therefore, the OneFS client table records only a single entry for the shared hostname. Consequently, when one client attempts to renew its client ID, the OneFS system responds with an NFS4ERR_STALE_CLIENTID error to the other clients. This forces those clients to issue a new SETCLIENTID operation to obtain a fresh client ID. For more details, see NFSv4 client identifiers.

macOS client

For more details about using OneFS NFS service on macOS client and its configurations, see Using macOS Clients with PowerScale OneFS.

NFS security considerations

Network security considerations

Network security is always the important area to focus on, attacks from a malicious attacker would result in a disaster and may result in service interruption to end users. As a security recommendation, shown in the following figure, you should setup an external firewall with appropriate rules and policies to allow only the trusted clients and servers can access the cluster. Meanwhile, allow restricted access only to the ports that are required for communication and block access to all other ports on the cluster.

Network diagram showing an external firewall placed between NFS clients and a PowerScale cluster to restrict access to required ports and trusted hosts.

Protect PowerScale system with an external firewall

The following table shows the required ports for a client to access data in OneFS cluster over NFS protocol. As NFSv3 requires additional auxiliary protocol (mount, NLM, NSM) to provide mount service and lock capability, all of the ports in the table are required to access cluster using NFSv3. For NFSv4.x, a single protocol provides all functionalities that NFSv3 offers and only supports TCP as the transport protocol, so it is firewall friendly and only the TCP 2049 is required for a client to access cluster using NFSv4.x.

TCP/UDP port requirement for NFS service. A summary of inbound network ports, transport protocols, and service requirements for NFSv3 and NFSv4.x client access in PowerScale OneFS.
Port Service Protocol Connection Usage description
2049 nfs TCP/UDP Inbound As NFSv3 supports both TCP and UDP in OneFS, so both of two transport protocols ports are required for NFSv3.

However, NFSv4.x supports only TCP in OneFS, so only the TCP 2049 port is needed if only the NFSv4.x service is required in your environment.

300 mountd TCP/UDP Inbound NFSv3 mount service.
302 statd TCP/UDP Inbound NFSv3 Network Status Monitor (NSM)
304 lockd TCP/UDP Inbound NFSv3 Network Lock Manager (NLM)
111 rpc.bind TCP/UDP Inbound ONC RPC portmapper that is used to locate services such as NFS, mountd. Only used by NFSv3 if NFSv4.x running on the standard registered TCP port 2049.

See NFS over RDMA for details about the RDMA-related port.

Authentication

OneFS can be configured to authenticate users with Kerberos by using Active Directory Kerberos or a stand-alone MIT Kerberos. The recommendation is to authenticate all users with Kerberos if high security level is required, but be aware of the performance impact by Kerberos. If you are using Kerberos, ensure both the OneFS cluster and your client use either Active Directory or the same NTP server as their time source. Kerberos is a protocol that relies on time synchronization between system components. A time drift among the system components will cause authentication failure. Kerberos on OneFS writes log messages to /var/log/lsassd.log and /var/log/lwiod.log. When Kerberos is used with NFS, Kerberos writes log messages to /var/log/nfs.log.

With NFSv3 and prior, when you authenticate the user using AUTH_SYS security flavor, the UID will be included in every NFS operation and checked by the server. Therefore, someone on a different computer can access the user Jane (UID 1000) file by creating a user Jane (UID 1000) on the computer. Using Kerberos authentication would mitigate this situation, but is still not completely secure, because Kerberos was only applied to the NFS packets and not the auxiliary services like NLM, NSM, and mountd.

NFSv4.x improved NFS security greatly by implementing a single port, ACLs, domain names and contains tightly integrated support for Kerberos, among other improvements. You must have an identical NFSv4.x domain name on OneFS cluster and NFSv4.x clients. With NFSv4.x domain, the NFSv4.x represents users and groups in the form of user@doamin or group@domain in the results of a get attribute (GETATTR) operation and in the arguments of a set attribute (SETATTR) operation. The following figure is a capture of NFSv4.x GETATTR operation. As the following figure shows, the user/group names have an NFSv4.x domain suffix @vlab.local in the GETATTR operation.

Packet capture example showing NFSv4 user and group identifiers represented in user@domain format during a GETATTR operation.

NFSv4 user and group format

Therefore, in the environment that requires high security for NFS, use NFSv4.x instead of NFSv3 and integrate Kerberos authentication with NFS. Note that the configuration is different when using Active Directory Kerberos or MIT Kerberos. Before configuring Kerberos in your NFS environment, it is important to understand how it works. You can obtain a thorough explanation from the online documentation How Kerberos Authentication Works. For the configuration of OneFS NFS Kerberos, refer to white paper Integrating OneFS with Kerberos Environment for Protocols. Kerberos is tied to time synchronization, so whenever you use Kerberos in your environment, ensure your cluster and clients have an NTP server to synchronize time.

As OneFS supports Kerberos authentication for both NFSv3 and NFSv4.x. There are four types of security type supported by OneFS (UNIX, Kerberos5, Kerberos5 Integrity, Kerberos5 Privacy). You can use sec mount option on NFS client to enable Kerberos for a mount. The following table shows the types of security for sec option.

Mount security types. An overview of supported NFS security mount options (sec), detailing authentication, data integrity, and encryption behaviors from standard AUTH_SYS to Kerberos privacy (krb5p).
Options Description
sec=sys The default setting, which uses local UNIX UIDs and GIDs by means of AUTH_SYS to authenticate NFS operations.
sec=krb5 Use Kerberos V5 instead of local UNIX UIDs and GIDs to authenticate users.
sec=krb5i Use Kerberos V5 for user authentication and performs integrity checking of NFS operations using secure checksums to prevent data tampering.
sec=krb5p Use Kerberos V5 for user authentication, integrity checking, and encrypts NFS traffic to prevent traffic sniffing. This is the most secure setting, but it also has the most performance overhead involved.

Client configuration is required before you can mount a NFS using Kerberos, several key configurations are listed below:

  • The kernel needs to have the rpcsec_gss_krb5 and auth_rpcgss options configured as a module. To configure the module, using these commands in the following order modprobe auth_rpcgss, modprobe rpcsec_gss_krb5, depmod –a. If the module is not configured, you will find an error message in the client’s syslog as shown below.

    An error show Psedoflavor 390003 not found if kerberos module is not configured correctly

  • Add SECURE_NFS="yes" to file /etc/sysconfig/nfs on the client. And start the rpc.gssd service using command service rpcgssd restart. If this setting is not configured, when you mount the NFS, the mount becomes unresponsive and the below error displays in the log.

    An error shows AUTH_GSS upcall timed out if Kerberos for NFS is not enabled in NFS client

The Kerberos will provide high secure authentication, integrity, privacy service while introducing extra cost on the computer resources, and it might affect your system performance. It is highly recommended to make enough measurement before applying Kerberos settings on your NFS environment.

NFS over TLS

OneFS 9.16 introduces native support for encrypting NFS traffic in flight using Transport Layer Security (TLS), implementing RFC 9289, RPC-over-TLS. This capability provides an encryption mechanism for NFS that is independent of the NFS authentication flavor in use, giving administrators a standards-based option for protecting data in flight that does not require deploying or maintaining a Kerberos infrastructure. This section describes the protocol mechanics, configuration model, certificate management, security properties, and client requirements of this capability, and concludes with a direct comparison against Kerberized NFS (krb5p) to guide the selection of an appropriate in-flight encryption mechanism for a given deployment.

Architecture

OneFS NFS over TLS operates as a protocol-level upgrade negotiated on the standard NFS port, 2049, requiring no dedicated TLS listening port and no firewall reconfiguration. A client wishing to use TLS establishes a normal TCP connection to the cluster, then issues a NULL RPC procedure call carrying the AUTH_TLS authentication flavor (flavor value 7), signaling to the server that the client intends to upgrade the connection to TLS before any NFS operations are exchanged. The server responds with a STARTTLS reply, after which both sides perform a standard TLS 1.3 handshake, negotiated with an ALPN (Application-Layer Protocol Negotiation) value of sunrpc to explicitly identify the upper-layer protocol being carried. Once the handshake completes, all subsequent NFS traffic on that connection is encrypted under the negotiated TLS session.

The protocol design is explicitly fail-secure. If the TLS handshake fails for any reason, including certificate validation failure, cipher mismatch, or protocol version mismatch, the connection is rejected outright. There is no mechanism by which a client requesting TLS can silently fall back to an unencrypted NFS session, which eliminates a class of misconfiguration risk in which an administrator believes a given export is protected by encryption when it is not.

Server-Authenticated TLS versus Mutual TLS

Two distinct security modes are supported:

Diagram comparing Server-Auth TLS (xprtsec=tls) and Mutual TLS/mTLS (xprtsec=mtls) authentication between Client and PowerScale. Server-Auth TLS shows a one-way arrow and Server Cert, while Mutual TLS shows bidirectional arrows plus Client Cert and Server Cert. AI-generated content may be incorrect.

Server-authenticated TLS versus Mutual TLS.

These are selected via the client's mount-time xprtsec option and enforced according to the policy model, described below.

  • Server-Auth TLS (xprtsec=tls): the client verifies the cluster's identity via its X.509 server certificate; no client-side certificate is required. This mode provides encryption strength equivalent to krb5p without requiring a Key Distribution Center, keytabs, or cross-realm trust relationships.
  • Mutual TLS (xprtsec=mtls): both the client and the server present and verify X.509 certificates, providing a Kerberos-free replacement for krb5p's mutual authentication guarantee. Mutual TLS includes built-in OCSP and CRL-based certificate revocation checking.

Policy model and configuration

OneFS transport security policy is enforced at two independent levels: a cluster-wide setting that establishes the overall ceiling of permitted transport-security modes, and a per-export allowlist that further constrains which of those modes a specific export will accept. The policy actually enforced for a given export is the intersection of these two settings.

Two-level policy-enforcement diagram for NFS over TLS shows effective policy as intersection of cluster-wide mode and per-export allowlist. Blue cluster-wide setting (`nfs_tls_mode`, such as `none:mtls`) plus orange per-export policy (`xprtsec`, such as `tls:mtls`) produces green effective policy (`{tls, mtls}`), with empty intersections rejected at configuration time. AI-generated content may be incorrect.

Effective per-export transport-security policy is computed as the intersection of the cluster-wide ‘nfs_tls_mode’ setting and the export's ‘xprtsec’ allowlist.

This two-level model allows an administrator to roll TLS out incrementally: A cluster can be configured to permit TLS alongside plaintext NFS (nfs_tls_mode of none:tls:mtls) while individual, sensitive exports are independently configured to require encryption (xprtsec of tls:mtls). This allows TLS-capable and legacy clients to coexist on the same cluster during a phased migration, with encryption requirements tightened on a per-export basis as clients are upgraded.

Cluster-Wide Settings

Cluster-Wide NFS over TLS Configuration Settings. Details default values and supported configurations for cluster-wide TLS settings, defining minimum encryption baselines, negotiation policies, and mTLS client verification parameters.
Options Values Default Description
nfs_tls_mode none, tls, mtls

(colon-separated list)

none:tls:mtls Set of transport-security modes permitted cluster-wide.
nfs_tls_min_version 1.2, 1.3 1.3 Minimum negotiable TLS version. TLS 1.1 and earlier are always rejected.
nfs_tls_ciphers OpenSSL cipher string PFS-capable OpenSSL default Cipher suites permitted for TLS 1.2 and TLS 1.3 negotiation.
nfs_tls_ocsp_mode none, strict,

no_responder_ok, no_response_ok

none OCSP revocation-checking behavior for mTLS client certificates.
nfs_tls_ocsp_address URL string (empty) OCSP responder URL.

Cluster-wide settings are viewed and modified via the CLI as follows:

# View current per-zone TLS settings
isi nfs settings global view | grep TLS
        NFS TLS Mode: none:tls:mtls
 NFS TLS Min Version: 1.3
     NFS TLS Ciphers: -
   NFS TLS OCSP Mode: none
NFS TLS OCSP Address: -

# Require TLS or mTLS cluster-wide, disallowing plaintext NFS
isi nfs settings global modify --nfs-tls-mode tls:mtls

# Set the minimum negotiable TLS version
isi nfs settings global modify --nfs-tls-min-version 1.3

The equivalent operations are exposed via OneFS platform API (pAPI) enpoints:

GET  /platform/27/protocols/nfs/settings/global
PUT  /platform/27/protocols/nfs/settings/global

PUT /platform/27/protocols/nfs/settings/global
{
  "nfs_tls_mode": "tls:mtls",
  "nfs_tls_min_version": "1.3"

Per-Export Policy

Each NFS export carries its own ‘xprtsec’ allowlist, a colon-separated set drawn from ‘none’, ‘tls’, and ‘mtls’, which independently constrains the transport-security modes a client may use to mount that specific export.

Policy Modes. Details the server-side export settings and corresponding behaviors.
Value Behavior
none:tls:mtls (default) Any mode is permitted; the client chooses plaintext, TLS, or mTLS.
tls:mtls Encryption is required; the client must mount with xprtsec=tls or xprtsec=mtls.
mtls Mutual TLS is required; the client must present a certificate.

Per-export policy is configured via the CLI as follows:

# Require TLS or mTLS on an existing export
isi nfs exports modify <id> --xprtsec tls:mtls

# Require mutual TLS specifically
isi nfs exports modify <id> --xprtsec mtls

# Set the cluster-wide default for newly created exports
isi nfs settings export modify --xprtsec tls:mtls

# View the configured policy on an export
isi nfs export view 1 | grep Xprtsec
Xprtsec (Transport Security): none:tls:mtls

The equivalent Platform API (PAPI v27) operations:

POST /platform/27/protocols/nfs/exports
{ "paths": ["/ifs/secure"], "xprtsec": "tls:mtls" }

PUT /platform/27/protocols/nfs/exports/5
{ "xprtsec": "mtls" }
NOTE: A configuration change to an export whose resulting intersection of the cluster-wide nfs_tls_mode and an export's xprtsec would be empty, for example a cluster-wide mode of none with an export requiring tls:mtls, is rejected at configuration time with an explicit error, preventing an export from inadvertently becoming inaccessible to any client.

Required Privileges

Administrative control of NFS over TLS is governed by role-based access control (RBAC). Configuring TLS-specific settings requires the ‘ISI_PRIV_NFS_TLS’ privilege, held only by the SystemAdmin role by default.

Certificate management

OneFS NFS over TLS reuses OneFS's existing certificate management infrastructure rather than introducing a dedicated certificate store or separate tooling. The cluster's server certificate, required for both TLS and mutual TLS, is a standard X.509v3 certificate with a Subject Alternative Name matching the server's hostname or IP address, stored in the ‘system_server’ certificate store shared with other OneFS services, and imported via the standard certificate management command set:

isi certificate server import <cert-file> <key-file>

For mutual TLS specifically, CA certificates used to verify client certificates are stored in the ‘system_ca’ certificate store and imported separately:

isi certificate authority import <ca-cert-file>

Multiple server certificates may coexist in the ‘system_server’ store, with the appropriate certificate selected automatically at handshake time based on the client's SNI (Server Name Indication) hostname; because SmartConnect zone names naturally map each zone to its own certificate, no per-zone certificate configuration step is required beyond the initial import. Newly imported certificates are detected automatically via MCP gconfig monitor, and are hot-reloaded without disrupting existing TLS sessions, which continue to use the certificate presented at the time they were established. CELOG raises an alert when a certificate approaches expiration, with a configurable default threshold of one month.

Security properties

  • TLS version and cipher control: TLS 1.3 is the default minimum version, with TLS 1.2 available as an explicit administrator opt-in; TLS 1.1 and earlier are rejected unconditionally. Perfect Forward Secrecy is enforced through an ECDHE-only cipher policy, and the permitted cipher suite set is independently configurable cluster-wide.
  • FIPS 140-2 alignment: when OneFS FIPS mode is active, non-FIPS-validated cryptographic algorithms are automatically excluded from the negotiable cipher set, for example CHACHA20-POLY1305, with no NFS-specific FIPS configuration required beyond enabling cluster-wide FIPS mode.
  • Fail-secure design: a failed or incomplete TLS handshake always results in connection rejection rather than a fallback to plaintext, and private key material is never written to logs, diagnostic bundles, or core dumps.
  • Dedicated privilege scoping: TLS configuration changes require the dedicated ISI_PRIV_NFS_TLS privilege described in Section 2.3, distinct from general NFS administration privileges.

Client requirements

NFS over TLS requires a Linux client running kernel 6.5 or later with RPC-over-TLS support, including the tlshd user-space handshake daemon installed and running. The cluster's CA certificate, or the certificate itself for a self-signed deployment, must be present in the client's trust store. Mounting with TLS or mutual TLS is requested via the standard xprtsec mount option:

# Server-authenticated TLS, NFSv4.2
mount -t nfs -o vers=4.2,xprtsec=tls <server>:/ifs/data /mnt

# Mutual TLS, NFSv4.2
mount -t nfs -o vers=4.2,xprtsec=mtls <server>:/ifs/data /mnt

# Server-authenticated TLS, NFSv3
mount -t nfs -o vers=3,xprtsec=tls <server>:/ifs/data /mnt

Clients that do not request TLS are entirely unaffected by this capability; TLS and non-TLS connections coexist on the same NFS port, and no firewall or network configuration changes are required to adopt the feature.

Comparison with Kerberized NFS (krb5p)

OneFS has long supported in-flight NFS encryption through Kerberos's privacy mode, krb5p, which combines strong, mutually authenticated encryption with the broader Kerberos identity infrastructure. NFS over TLS is not intended to replace krb5p in every deployment, but provides an alternative encryption mechanism with a substantially different operational profile. The two mechanisms differ chiefly in the infrastructure they depend on and in how encryption relates to client authentication.

Comparison of Kerberos (krb5p) and NFS over TLS. A comparative analysis of Kerberos (krb5p) and NFS over TLS, evaluating their underlying infrastructure dependencies, deployment complexity, operational resilience, and security architectures
Aspect Kerberos (krb5p) NFS over TLS
Required infrastructure Key Distribution Center, cross-realm trusts if multiple domains are involved, synchronized clocks across all participants, and a keytab provisioned to every client. An imported X.509 server certificate (and, for mutual TLS, client certificates). No KDC, keytabs, or cross-realm trust is required.
Relationship between encryption and authentication Encryption is tied to the selected authentication flavor; krb5p cannot be used without the full Kerberos authentication stack. Encryption is orthogonal to the authentication flavor in use and functions alongside AUTH_SYS and any supported NFS version.
Client setup complexity Multi-component deployment; every client requires a provisioned keytab and correct realm configuration. Three-step setup: import the server certificate, enable TLS on the cluster, and mount with the appropriate xprtsec option.
Operational resilience Kerberos ticket expiry can cause NFS I/O failures if ticket renewal is disrupted or a client's clock drifts out of tolerance. The TLS session persists independently of any ticket lifecycle; certificates can be hot-reloaded with zero session downtime.
Automation and orchestration Limited native automation; keytab distribution typically requires external tooling. Full Platform API (PAPI v27) coverage for both cluster-wide and per-export settings, suited to programmatic configuration management.
Mutual authentication Native via the Kerberos ticket exchange. Available via Mutual TLS (xprtsec=mtls), using X.509 client certificates with built-in OCSP/CRL revocation checking in place of ticket-based identity.
Identity granularity Ties encryption to a specific, centrally managed Kerberos principal per user or per client. Ties encryption to a certificate-based client or server identity; per-user identity, where required, is still provided by the underlying NFS authentication flavor (for example AUTH_SYS or RPCSEC_GSS), independent of the TLS layer.

When to Use Kerberized NFS

Kerberized NFS remains the appropriate choice when an organization already operates a mature Active Directory or MIT Kerberos infrastructure and requires per-user, centrally managed authentication integrated with that identity infrastructure, not merely transport encryption. Environments with an existing, well-maintained ‘keytab’ distribution process, a regulatory or internal security requirement specifically mandating Kerberos-based authentication, or a need for encryption to be bound to a specific, auditable Kerberos principal per client or user are best served by krb5p. Kerberos is also the appropriate choice where NFSv4 ACL enforcement and identity mapping already depend on an established Kerberos realm, since krb5p integrates directly into that same authentication path without introducing a second, parallel identity mechanism.

When to Use NFS over TLS

NFS over TLS is the appropriate choice when the primary requirement is in-flight encryption itself, rather than a specific authentication model, particularly in environments without an existing Kerberos deployment, where standing up a KDC, managing cross-realm trust, and distributing keytabs to every client would represent a disproportionate operational burden relative to the encryption requirement being addressed. It is also the preferred option where certificate-based infrastructure is already in place or preferred over Kerberos for other services, where clients cannot reliably maintain the synchronized clocks Kerberos requires, where encryption needs to be enabled or rolled out incrementally across a mixed client population without disrupting existing ‘AUTH_SYS’-based exports, or where API-driven, programmatic configuration of transport security is a priority. Because NFS over TLS can be deployed with server-only authentication, it additionally provides a materially lower barrier to adopting in-flight encryption at all for environments that do not require the mutual, per-client authentication guarantee Kerberos provides.

NOTE: The two mechanisms are not mutually exclusive at the cluster level, though a given export's effective transport-security and authentication configuration should be deliberately chosen rather than combined by default. An organization may operate krb5p on exports tied to an existing Kerberos-integrated identity model while adopting NFS over TLS on exports or client populations for which standing up Kerberos access is impractical, using Section 2's per-export policy model to apply the appropriate transport-security requirement independently on each export.

NFSv4.x ACL

See Access Control Lists on OneFS documentation for details.

NFSv4.x pseudo-file system

The OneFS cluster supports the NFSv4.x pseudo-file system in compliance with the RFC3530 standard. NFSv4.x servers present all the exported file systems within a single hierarchy. When the server exports a portion of its namespace, the server creates a pseudo-file system which is a structure containing only directories. It has a unique file system id (‘fsid’) that allows a client to browse the hierarchy of an exported file system. An NFSv4.x client can use ‘LOOKUP’ and ‘READDIR’ operations to browse seamlessly from one export to another. The clients’ view of a pseudo-file system will be limited to paths to which the clients has permission to access.

To have a better understanding about pseudo-file system, assume an OneFS cluster has the following directory structure, shown as figure 13.

A figure to show a directory structure in NFS server side

Server side directory structure

Consider a scenario where an application on a server need to access portions of the directories (assuming /ifs/home/user01, /ifs/home/user02, and /ifs/data/marketing) but require mounting these directories using a single mount point to access the files. To satisfy the requirement of the application, we will export these directories separately. Meanwhile, there is an export for /ifs/data/engineer, and this export is not accessible by the application.

In NFSv4.x, the export list and the server hierarchy are disjointed, as illustrated in Figure 14. When the cluster exports the portions of directories, the server creates a pseudo-file system to allow the client to access the authorized exported paths from a single common root. The client only needs to mount the appropriate path of the pseudo-file system, for example, mount the /ifs to the client directly, and the client can access any one of the export paths that are required by the application.

A figure to show a directory structure in NFS server side and client side with NFSv4.x pseudo-file system

NFSv4.x pseudo-file system

If NFSv3 is used in this scenario, the client must export the entire /ifs namespace to allow the application access data in the disjoint directories with a single mount point. This will result in a huge security problem as the whole OneFS cluster namespace is exposed to the client and the client can even access the data that is not used for the application.

The pseudo-file system is a considerable advantage for its access security and flexibility of limiting only part of the namespace that the client can see and access. Use NFSv4.x pseudo-file system instead of NFSv3 in a similar scenario above to provide a more secure access control.

NOTE: In NFSv3, a client browsing the server exports is provided through the MOUNT protocol, every export has its own root file handle. When the client running the command showmount –e server_address to obtain the exports list on the server, the MOUNT protocol will enumerate the server’s exports list and return to the client. In NFSv4.x, a client browses the server exports which uses the same root handle through the pseudo-file system, so in an NFSv4.x environment, showmount command is not supported to get an exports list on server.

NFS over RDMA

NFS over RDMA overview

Remote Direct Memory Access (RDMA) originated with InfiniBand and evolved gradually on Ethernet network environment. Currently, the following network protocols support RDMA on Ethernet, including Internet Wide Area RDMA Protocol (iWARP), and RDMA Over Converged Ethernet (RoCE). For more details, see RoCE.

NFS over RDMA is defined in RFC8267. Starting with OneFS 9.2.0, OneFS supports NFSv3 over RDMA by leveraging the ROCEv2 (also known as Routable RoCE or RRoCE) network protocol. Starting from OneFS 9.8.0, NFSv4.x over RDMA is also supported. With NFS over RDMA support, direct memory access between OneFS and NFS clients is available with consuming less client CPU resource, improving OneFS cluster network performance with lower latency, lower CPU load and higher throughput.

The following figure shows the architecture of NFS over RDMA in OneFS. NFS is implemented over RDMA for data transferring. Please note that the NFSv3 auxiliary protocols (mount, nlm, nsm, rpc portmapper) still work on TCP/UDP. You must add PowerScale nodes RoCEv2 capable front-end network interfaces into an IP pool before the NFS clients can access OneFS cluster data over RDMA.

Architecture diagram showing NFS clients using RoCEv2 RDMA connections to access OneFS data paths while auxiliary NFSv3 services continue to use TCP and UDP.

OneFS NFS over RDMA architecture

The following table shows the TCP/UDP port requirement of using NFS over RDMA.

TCP/UDP port requirement for NFSv3 over RDMA service. A summary of standard network ports, transport protocols, and service definitions for RoCEv2 communication and supporting NFSv3 RPC services.
Port Service Protocol Usage description
4791 RoCEv2 UDP In RoCEv2, the RDMA payload is encapsulated as UDP payload with the 4791 UDP destination port
300 mountd TCP/UDP Only used by NFSv3 mount service
302 statd TCP/UDP Only used by NFSv3 Network Status Monitor (NSM)
304 lockd TCP/UDP Only used by NFSv3 Network Lock Manager (NLM)
111 rpc.bind TCP/UDP Only used by NFSv3. ONC RPC portmapper that is used to locate services such as NFS, mountd.
NOTE: To optimize performance in case of network packet loss, we recommend enabling flow control on switch ports to optimize performance when losing network packet. When mounting NFS export over RDMA, you may need to specify an NFS over RMDA port 20049 depending on your client Kernel version. The port is used to for RPC binding of RDMA interconnect internally and is not required to be allowed in network firewalls. For more details, see RFC5666 RPC Binding. For example, the command may be: mount -t nfs -o nfsvers=4.1,rdma,port=20049 server_fqdn:/ifs/data /mnt

Management options

New configuration options are introduced in order to manage NFS over RDMA feature. Including enable/disable NFS over RDMA globally, filter RoCEv2 capable network interfaces for an IP pool, and check ROCEv2 capability of network interfaces.

Enable/disable NFS over RDMA globally

This allows storage administrators to enable or disable NFS over RDMA capability cluster wide. Below shows the option in CLI command and the figure below shows the option in WebUI.

# isi nfs settings global view
NFS Service Enabled: Yes
      NFSv3 Enabled: Yes        
      NFSv4 Enabled: Yes
              v4.0 Enabled: No
              v4.1 Enabled: Yes
              v4.2 Enabled: Yes
 NFS RDMA Enabled: Yes   
     Rquota Enabled: No
OneFS WebUI screenshot displaying the global option used to enable or disable NFS over RDMA functionality.

Enable/disable NFS over RDMA globally

Filter RoCEv2 capable network interfaces for an IP pool

This option allows administrators to proactively create IP pools that contains only RoCEv2 capable network interfaces. It is not allowed if you try to add a RoCEv2 incapable network interface into the NFSv3 RDMA RRoCE only IP pools. More specifically, this option makes NFS failover using dynamic IP pool still work with NFSv3 over RDMA scenarios. See section SmartConnect for more details about dynamic IP pool failover.

In CLI, this option is --nfs-rroce-only shown as below. The equivalent option in WebUI is called Enable NFSoRDMA, highlighted in the figure below, once the option enabled, all ROCEv2 incapable network interfaces are hidden and removed from the IP pool.

# isi network pools view groupnet0.40g.40gpool
                     ID: groupnet0.40g.40gpool
               Groupnet: groupnet0
                 Subnet: 40g
                   Name: 40gpool
                  ...
                  ...
                  ...
          Static Routes: -
  NFS RDMA RRoCE only: Yes
OneFS WebUI screenshot showing an IP pool configured to use only RoCEv2-capable network interfaces for NFS over RDMA traffic.

Enable NFS RDMA RRoCE only for an IP pool

Check ROCEv2 capability of network interfaces

Starting from OneFS 9.2, RoCEv2 capable network interface contains a flag SUPPORTS_RDMA_RRoCE. This flag is only usable through the CLI command shown below.

# isi network interfaces list -v --nodes=1
        IP Addresses: 172.16.200.29
                 LNN: 1
                Name: 40gige-1
            NIC Name: mlxen0
              Owners: groupnet0.40g.40gpool
              Status: Up
             VLAN ID: -
Default IPv4 Gateway: -
Default IPv6 Gateway: -
                 MTU: 9000
         Access Zone: System
               Flags: ACCEPT_ROUTER_ADVERT, SUPPORTS_RDMA_RRoCE

Key considerations

This section lists several key considerations when using OneFS NFSv3 over RDMA feature.

  • NFSv4.x includes built-in support for stronger security mechanisms compared to NFSv3. While these security features are not directly tied to RDMA, NFSv4.x over RDMA benefits from the enhanced security capabilities of NFSv4.x compared to NFSv3.
  • Match the Maximum Transfer Unit (MTU) on both the OneFS cluster and NFS client. Mismatch MTU size may result in NFS operations becoming unresponsive and breaking your workload.
  • Dynamic IP pools failover considerations when using NFS over RDMA.
    • Dynamic IP pools is the current network configuration recommendation for OneFS NFS. The purpose of dynamic IP pools is to allow client workflow to continue processing when a node goes down. Dynamic IP pools provide an IP-failover ability to move an IP from one network interface card (NIC) to another NIC on any node.
    • IP failover from a ROCEv2 capable interface to a ROCEv2 incapable interface is not supported. Therefore, enabling NFS RDMA RRoCE only option in the RDMA IP pool is recommended if you are using NFS over RDMA.
    • When OneFS cluster and NFS clients are connected through L2 Switch directly, the IP failover may fail for NFS over RDMA workflow. This is caused by the client RDMA stack cannot handle Gratuitous ARP properly. Therefore, we recommend placing a router or L3 Switch between the OneFS cluster nodes and the NFS over RDMA clients.
  • Enable flow control on switch ports to achieve good performance when losing network packet.
  • NFS over RDMA does not support aggregated interfaces in PowerScale nodes.
  • IPv6 is not supported when using NFS over RDMA.
  • Making sure your NFS client is running on RoCEv2 mode.

Parallel NFS (pNFS)

pNFS overview

Parallel NFS (pNFS) is an extension of the NFSv4.1 protocol designed to significantly improve throughput for NFS workloads by enabling clients to perform data reads and writes directly and concurrently to multiple nodes within a cluster, rather than routing all I/O through a single NFS server.

In a traditional NFS deployment, a client mounts a share and directs all read and write operations to the single node associated with the mount IP address, which inherently limits performance and creates a bottleneck regardless of overall cluster size or capability.

Illustration showing a traditional NFS client connected to a single cluster node, with all metadata and data traffic passing through that node.

Regular NFS client mount to a single PowerScale node.

All I/O for this mount is between the client and node over NFSv3 or NFSv4.1, while the remainer of the cluster’s nodes sit idle for this client.

In contrast, when pNFS is enabled in OneFS 9.15 and later, the client continues to communicate with a single node on the cluster for metadata operations such as file open, close, rename, and attribute queries, but is explicitly informed which other nodes to send the actual file data to.

Diagram showing a pNFS client distributing file data traffic across multiple cluster nodes while metadata operations remain centralized.

Parallel NFS (pNFS) client mount to multiple PowerScale cluster nodes.

Any node in the cluster can act as the metadata server (MDS), or serve data connections (DS). This separation of the metadata path from the data path allows file I/O traffic to be distributed across multiple nodes in the cluster, thereby maximizing available bandwidth and parallelism.

In a pNFS-enabled storage cluster, the client always talks to the MDS over NFSv4.1 for namespace, attributes, and locking, and it talks directly to data servers for the actual I/O.

Workflow diagram illustrating client interactions with metadata servers and data servers during pNFS layout requests, reads, and writes.

pNFS client session workflow.

  1. When a pNFS client opens a file, it sends an NFSv4.1 ‘OPEN’ and ‘GETATTR’ to the MDS, which returns a filehandle and any required state.
  2. The client then issues a ‘LAYOUTGET’ to the MDS, which responds with a layout describing exactly which Data Servers (DSs) hold which byte ranges or stripes of the file, often using a ‘files’ layout with per-node NFS file-handles or device IDs. The client may also send a ‘GETDEVICEINFO’ request, to which the MDS responds.
  3. For reads, once the client has this layout, it bypasses the MDS and issues NFS ‘READ’ RPCs directly to the Data Servers corresponding to the required byte ranges. The DSs return data straight to the client, while the MDS is only involved again if there is a layout error or a recall, in which case the client may perform ‘LAYOUTCOMMIT’, ‘LAYOUTRETURN’, and a fresh ‘LAYOUTGET’ to resynchronize.

    For writes, the client similarly acquires a read-write layout via ‘LAYOUTGET’ from the MDS, then sends NFS ‘WRITE’ (and, if needed, ‘COMMIT’) operations directly to the Data Servers based on the stripe mapping in the layout.

  4. After the Data Servers have durably stored the data, the pNFS client uses ‘LAYOUTCOMMIT’ to inform the MDS about changes such as the updated file size and modification time.
  5. Finally, the client passes a ‘LAYOUTRETURN’ when it is finished with the layout.

Throughout this process, all metadata operations, including directory lookups, creates, deletes, renames, attribute changes, and locks, are handled exclusively by the MDS using standard NFSv4.1 operations (i.e. LOOKUP, CREATE, REMOVE, RENAME, GETATTR, SETATTR, LOCK, and LOCKU, etc). In contrast, the Data Servers never see namespace, simply serving or accepting data for extents identified by the layout. The net effect is that metadata and control traffic (opens, layouts, locks) flow between the client and the MDS, while bulk data reads and writes flow directly between the client and multiple DS nodes in parallel, allowing the data path to scale with the number of storage nodes rather than being bottlenecked by a single NFS server.

The primary benefits of pNFS include increased single‑client throughput by eliminating the single‑node bottleneck and distributing I/O across all nodes within a SmartConnect pool, as well as improved aggregate cluster throughput through more balanced I/O distribution and better utilization of existing caching and prefetch mechanisms. This functionality is transparent to applications, as pNFS negotiation occurs automatically between the Linux NFS client and the OneFS NFS server without requiring application‑level changes. Because OneFS provides a single distributed filesystem in which every node inherently has access to all data, pNFS simply authorizes the client to communicate directly with additional nodes for data transfer.

When a pNFS‑capable client mounts an NFS export on a pNFS‑enabled OneFS cluster, each node functions as both a Metadata Server and a Data Server, with the Metadata Server role being implicitly assigned to the node the client initially contacts during the mount. Data I/O operations are performed using NFSv3, as permitted by the pNFS Flexible File Layout specification, while NFSv4.1 or NFSv4.2 is used exclusively for layout management and metadata operations. Layouts are granted on a per‑file basis, with the client requesting a layout upon file open that specifies the appropriate data server or servers for that file. Different files may be assigned to different nodes, and traffic distribution behavior is influenced by server‑side alignment settings. The set of data server addresses provided to the client is determined by the SmartConnect pool associated with the mount IP address.

The OneFS NFSv4.1 or v4.2 metadata server (MDS) conducts all metadata and control operations over TCP port 2049. As part of the layout, the MDS returns the data server (DS) network addresses and file handles directly to the client, eliminating the need for the auxiliary mount (mountd) and portmapper (rpcbind) services. The MDS also manages all locking and state, so the Network Lock Manager (lockd) and Network Status Monitor (statd) services are not required. Clients perform NFSv3 data-path I/O directly to the DS nodes over TCP port 2049 and, in the event of a DS node failure, transparently fall back to the MDS over the same port.

To activate pNFS, the cluster must be running OneFS 9.15, with NFSv4.1 or NFSv4.2 enabled for metadata operations and NFSv3 enabled for data operations. The SmartConnect pool can use either static or dynamic IP allocation. Client systems must be running Linux kernels that support the pNFS Flexible File Layout, which is available in mainline kernels version 5.14 and later, and mounts must explicitly specify NFSv4.1 or NFSv4.2 using either TCP or RDMA transport, as UDP is not supported.

With OneFS 9.15 and later releases, pNFS configuration can be performed via the OneFS CLI or platform API, but the WebUI does not currently have an equivalent option. Internally, the configuration is managed by the ‘isi_gconfig’ registry keys under the NFS driver path. Client remounts are strongly recommended when enabling or disabling pNFS, as clients cache file attributes that determine layout eligibility, so may otherwise retain stale information. Activation requires unmounting NFS clients, enabling the pNFS feature from the OneFS CLI, and restarting the NFS service, with a corresponding process to disable the feature.

Several configuration parameters control pNFS behavior, including a master enablement flag for advertising Metadata Server and Data Server capabilities, alignment settings that determine how file data is distributed across nodes, options for mapping network interfaces to pNFS devices, and internal settings governing layout tracking scalability. In particular, the stripe alignment configuration has a substantial impact on I/O distribution patterns and must be carefully considered when tuning performance, as different alignment values favor different workload characteristics.

pNFS configuration parameters. . An overview of the core architectural components and operational mechanics governing pNFS layouts, network routing, node responsibilities, and protocol usage.
Facet Details
Layout Layouts are per-file. Each time a client opens a file, it requests a layout that tells it which data server to use. Different files may be assigned to different nodes. How the client spreads its traffic also depends on the server settings around alignment.
Network SmartConnect determines the pool. The set of data server addresses returned to the client comes from the SmartConnect pool that the client's mount IP belongs to.
Node roles Every node in the cluster acts as both a Metadata Server and a Data Server. The "MDS" role simply means the node the client happened to connect to for that mount.
Protocol version Data I/O uses NFSv3. The pNFS Flexible File Layout standard allows data servers to speak NFSv3, which is well-supported and performant. The client uses NFSv4.1 only for metadata and layout management.

As illustrated in figure 17 above, every node in the PowerScale cluster functions as both a Metadata Server (MDS) and a Data Server (DS), with the MDS role simply representing the node to which the client initially connects during the mount operation. Data I/O operations are performed using NFSv3, as permitted by the pNFS Flexible File Layout specification, while NFSv4.1 is used exclusively by the client for metadata handling and layout management. Layouts are granted on a per‑file basis, such that each time a file is opened, the client requests a layout identifying the appropriate data server, allowing different files to be serviced by different nodes, with overall traffic distribution further influenced by server‑side alignment configurations. The set of data server addresses provided to the client is determined by SmartConnect, with the addresses drawn from the SmartConnect pool associated with the client’s mount IP.

When it comes to enabling pNFS on a PowerScale cluster, ensure that the prerequisites described in table 6 below are met. These include:

pNFS enablement prerequisites.. A summary of the core cluster, protocol, network, and client-side requirements necessary to deploy and support Parallel NFS (pNFS) in a PowerScale OneFS environment.
Attribute Details
OneFS version OneFS 9.15 or later to provide pNFS support.
NFS protocol versions NFSv4.1 or NFSv4.2 must be enabled for the metadata path. NFSv3 must also be enabled for the data path. Kerberos is also supported for both the NFSv4.1 or v4.2 MDS and the NFSv3 DS nodes.

NFSv4.1 and NFSv4.2 and can coexist with non-pNFS clients on the same export, since pNFS is negotiated individually during session setup and clients that do not support it will continue using traditional NFS I/O paths while still accessing the same files.

SmartConnect pool type The SmartConnect network pool can use Static or Dynamic IP allocation.
Client OS Linux with kernel pNFS Flexible File Layout support (available in mainline Linux kernel versions 5.14 and later).
Client mount options The client must mount the cluster export using NFSv4.1 (-o vers=4.1) or NFSv4.2 (-o vers=4.2). Transport protocol may be RDMA (proto=rdma) or TCP (proto=tcp). UDP is unsupported.

The process to enable pNFS support via the CLI in OneFS 9.15 and later is as follows:

  1. First, verify that the desired SmartConnect network pool is configured for static IPs:
    # isi network pools list
  2. Next, ensure that NFSv3 and NFSv4.1 are enabled:
    # isi nfs settings global view
  3. When both the above prerequisites are confirmed, pNFS can be activated:
    # isi nfs settings global modify --pnfs-enabled 1
  4. Once pNFS is successfully enabled, the cluster’s NFS exports can then be mounted from a Linux client. For example:
    # mount -t nfs4 -o vers=4.1 <pool-ip>:/ifs/data /mnt/pnfs
  5. After performing some I/O, the ‘mountstats’ file contents or CLI command output can be used to verify pNFS is active from the NFS client:
    # grep -A 20 "pnfs" /proc/self/mountstats

    Or:

    # mountstats --nfs /mnt/pnfs

Specifically, the presence of non-zero ‘pNFS_read’ and ‘pNFS_write’ counters in the output confirms that the Linux client is using pNFS.

Optionally, as a second part to step 3 above, additional optimizations and tunings can be applied if needed.

The recommended alignment value (the default) is ‘0’

# isi_gconfig registry.Services.lwio.Parameters.Drivers.nfs. NFSV4FFLayoutAlignedSize=0

NIC-level device granularity configuration can also be applied via gconfig. For example:

# isi_gconfig registry.Services.lwio.Parameters.Drivers.nfs.NFSV4LayoutDeviceUseNICAsUniqueDevice=1

Followed by an NFS service restart:

# isi services nfs disable && isi services nfs enable

Additionally, if pNFS does need to be disabled for any reason, first unmount any NFS clients, then run the following CLI command:

# isi nfs settings global modify --pnfs-enabled 0

The OneFS pNFS implementation (and the pNFS spec in general) does not require any changes to applications, as it is negotiated transparently between the NFS client and server. This allows applications to continue reading and writing files normally while the client kernel automatically manages layout negotiation and communication with data servers.

If a data server node becomes unavailable while a client holds a layout, the client may encounter I/O errors on the NFSv3 data path to that node. However, most Linux NFS clients will fall back to performing I/O through the metadata server (MDS) until the data server becomes available again, at which point they can re-request a layout, with the exact behavior varying by client kernel version and implementation. However, there is currently no failover support for the MDS node, since OneFS 9.15 only supports static network pools. This means that, in the event of an MDS node outage, pNFS clients will error and timeout.

Additionally, pNFS can work with RDMA when the server advertises both TCP and RDMA data server addresses and the environment includes RDMA-capable interfaces, enabling compatible clients to use RDMA for the data path. Finally, pNFS requires NFSv3 to be enabled because the Flexible File Layout specification allows data servers to be accessed via NFSv3. The data path between clients and data server nodes uses NFSv3 for simplicity and compatibility, while the metadata operations, including layout management and file open or close operations, must use NFSv4.1 or NFSv4.2.

The following OneFS gconfig parameters are also available for configuring and tuning pNFS if desired:

pNFS Server Configuration Parameters. Details core registry and interface parameters governing pNFS enablement, stripe alignment, device granularity, and internal layout table sizing.
Parameter Default Value Details
ServerPNFSEnabled 1 Master on/off toggle for pNFS. Configurable via CLI, PAPI, and registry
NFSV4FFLayoutAlignedSize 0 Controls stripe alignment size (registry only). Default: 0 (no striping — each file is served from a single node).
NFSV4LayoutDeviceUseNICAsUniqueDevice 0 Sets device granularity in the layout (registry only). 0 = one device per node (default); 1 = one device per NIC. Not required for aggregated network interfaces.
NFSV4LayoutTableSize 1048576 Internal layout hash table size (registry only). Auto-resizes at runtime. The default value suits most environments and does not typically need adjustment.

In OneFS 9.15, pNFS has some notable considerations and caveats. These include:

  • Static SmartConnect pools required. Dynamic pool support is planned for a future release.
    • While pNFS and regular NFS clients can be mixed, pNFS clients are required to be on a static SmartConnect network pool, with non-pNFS clients on a dynamic network pool.
  • Currently pNFS is supported via the flex-files layout only, with NFSv4.1/v4.2 for metadata, NFSv3 for data). The NFSv4 files layout will be introduced in a future release.
  • The recommendation is to use Linux clients with kernel versions 5.14 or newer for pNFS.
  • The nconnect mount parameter works and forms ‘nconnect=value’ of connections per data server. There is no need to use a high value with nconnect (e.g. 32 or higher) because each DS connection will form with “value” number of connections
  • OneFS pNFS works with both TCP and RDMA network transports.
  • The recommendation is to retain the default stripe alignment (AlignedSize) parameter configuration value of ‘0’.
  • No server-initiated layout recall (CB_LAYOUTRECALL). So server cannot revoke layouts and clients return them voluntarily.
  • No layout persistence across NFS restarts. Clients must re-request layouts after service or node restart.
  • No pool change notifications. To refresh pool membership cache, restart NFS.
  • Read/write size is fixed at 1 MB on the data path. Client-reported I/O errors are not processed by the server.

SmartQoS

SmartQoS overview

SmartQoS allows administrators to apply an OPS ceiling or limit to specified workloads for business workload prioritization: SmartQoS:

  • Is applicable to NFSv3, NFSv4, NFSoRDMA, SMB, and S3
  • Enables IT infrastructure teams to achieve performance SLAs
  • Enables throttling of rogue or low-priority workloads, thus prioritizing other business-critical workloads
  • Helps minimize DU events due to overloaded clusters

Configuring ops limitation

SmartQoS is implemented based on the partitioned performance in OneFS. Concepts such as dataset, workload, and so on are still applied to SmartQoS. Use the following steps to configure an operations (OPs) limit using SmartQoS:

  1. Enable SmartQoS in OneFS.
  2. Create a SmartQoS dataset.
  3. Pin a workload from the dataset.
  4. Set an ops limitation for a pinned workload.

Bandwidth limits

OneFS 9.15 and later releases also include the ability to configure SmartQoS bandwidth limits, addressing the limitation where SmartQoS could previously cap workloads only on operations (OPs) but not on network throughput. This enhancement adds a cluster-wide bandwidth limit (bytes per second) as an enforceable limit type for pinned workloads.

Bandwidth is measured as total throughput combining both inbound and outbound bytes, fairly distributed across cluster nodes and enforced in the kernel through the existing throttle path. The feature augments the partitioned performance framework to be limit-type agnostic, using generic resource statistics that can handle any limit type instead of IOPS-specific code paths.

Configuration is via the OneFS CLI, with new bandwidth limit options specified in megabytes per second. For example:

# isi performance settings modify --bandwidth-limit-enabled=true
# isi performance workloads pin <dataset> --limits "bandwidth:<MB/s>”

The bandwidth limiting feature is enabled only after the upgrade to OneFS 9.15 or later is committed. Throttling converges over periodic 30-second loops rather than being instantaneous.

Operation class limits

SmartQoS with operation class-aware throttling is also available in OneFS 9.15 and later releases, enabling cluster administrators to configure OPs and/or bandwidth limits per operation type. These operation types include read, write, create, delete, namespace_read, namespace_write, file_state, session_state, and other, as reported by the following CLI command:

# isi performance metrics view operation_class
     Metric: operation_class
  Data Type: string
System Only: No
  Value Set: read, write, create, delete, namespace_read, namespace_write, file_state, session_state, other
Description: Tracks the operation class of a protocol operation.
This functionality allows fine-grained workload isolation. For example, a read-heavy analytics workload can be protected from being starved by concurrent bulk writes by creating a dataset filtered on the write operation class and applying a bandwidth ceiling, while leaving reads unthrottled. For example:
# isi performance workloads pin <dataset> -–metric_value operation_class:write
# isi performance workloads pin --limits "bandwidth:<MB/s>”

Operation class limits are supported across the NFS v3, NFS v4, SMB, and S3 protocols.

Enable SmartQoS in OneFS

The SmartQoS feature is enabled by default. Use the following CLI command to view the current settings. For example, for a cluster with both protocol ops and bandwidth limiting configured:

# isi performance settings view
                                           Top N Collections: 10000
                                Time In Queue Threshold (ms): 10.00
                         Target read latency in microseconds: 12000.0
                        Target write latency in microseconds: 12000.0
                                  Protocol Ops Limit Enabled: Yes
Medium impact job latency threshold modifier in microseconds: 12000.0
  High impact job latency threshold modifier in microseconds: 24000.0
                                     Bandwidth Limit Enabled: Yes

Disable SmartQoS in OneFS

To disable the SmartQoS protocol ops limit feature, use the following command:

# isi performance settings modify --protocol-ops-limit-enabled=false
protocol_ops_limit_enabled: True -> False

Similarly, to disable the SmartQoS bandwidth limit functionality, if configured:

# isi performance settings modify --bandwidth-limit-enabled=false
bandwidth-limit-enabled: True -> False

Create a SmartQoS dataset

A dataset is used to categorize workloads by various metrics, including:

SmartQoS workload metrics.. Describes the metrics that SmartQoS can use to categorize, monitor, and control workloads.
Metric Description
directory_tree Track a directory tree
export_id Track an NFS export id.
file Track a file.
group_id Track a group by group ID (GID).
group_security_id Track a group by group security ID (GSID).
groupname Track a group by groupname.
job_type Tracks a Job Engine Job. Reserved for use by the system dataset.
local_address Track a local address.
operation_class Tracks the operation class of a protocol operation.
protocol Track a specific protocol.
security_id Track a user by security ID (SID).
share_name Track an SMB share name.
system_name Tracks the name of an internally generated process. Reserved for use by the system dataset.
user_id Track a user by user ID (UID).
username Track a user by username.
zone_name Track a multi-tenancy access zone.

The full list of available metrics can be viewed with the ‘isi performance metrics list’ CLI command:

# isi performance metrics list

In the following example, we use protocol and path to create a test dataset.

  1. Use the following command to create the dataset:
    # isi performance datasets create --name ds1 protocol path
    Created new performance dataset 'ds1' with ID number 1.
    
    NOTE: Resource usage tracking by 'path' metric is only supported by SMB and NFS.

    You can use the WebUI for the same purpose:

    1. Select Smart QOS under Cluster management in the WebUI (or via Storage > QoS (SmartQoS)) in OneFS 9.15 and later.
    2. Click the Create Performance Dataset button:
      SmartQoS user interface showing the option used to create a new performance dataset for workload monitoring and control.

      Click Create Performance Dataset

    3. Specify your dataset name, select the Path and Protocol checkboxes, then click Save:
      SmartQoS configuration screen for defining dataset names and selecting workload metrics such as path and protocol.

      Create a performance dataset

  2. Use the following command to list all the datasets
    # isi performance datasets list

Pin a workload from the dataset

After you have created the dataset, you can pin a workload from there by specifying the metric values. In this example, we use the dataset created in the section Create a SmartQoS dataset and set the metric values to the following to pin the workload we need:

  • Protocol is smb2
  • Path is /ifs/data/client_export

Use the following command:

# isi performance workloads pin ds1 protocol:smb2 path:/ifs/data/client_export
Pinned performance dataset workload with ID number 100.

To pin the workload in the WebUI, under Storage > QoS (SmartQoS):

  1. Click Pin Workload.
    SmartQoS interface used to pin a workload by specifying protocol and path criteria for resource management.

    Pin workload

  2. Select the protocol from the drop down list, specify the path, then click the Pin workload button.

    To list all the pinned workloads from a specified dataset, use the following command:

    # isi performance workloads list ds1

Set an ops limit for a pinned workload

For a pinned workload in a dataset, you can use the following command to set the limit for the protocol ops:

# isi performance workloads modify <dataset> <workload ID> --limits protocol_ops:<value>

In this example, the name of the dataset is ds1 and the workload ID is 100. We also set the ops limit to 10:

# isi performance workloads modify ds1 100 --limits protocol_ops:10
protocol_ops: 18446744073709551615 -> 10

Alternatively, the following syntax can be used to specify a bandwidth limit:

# isi performance workloads modify <dataset> --limits "bandwidth:<MB/s>"

Or from the WebUI under Storage > QoS (SmartQoS):

SmartQoS interface used to pin a workload by specifying protocol and path criteria for resource management.

Pin workload

Useful NFS commands and tools

isi statistics command

The isi statistics command is an advanced tool that can be used to obtain various kinds of statistics that can help you measure the usage and performance of a PowerScale OneFS cluster. Isi statistics is a versatile utility with the various subcommand-level. It provides two subcommand-levels for protocols:

Protocol: Display cluster usage statistics organized by communication protocol.

Pstat: Generate the specified protocol detailed statistics along with CPU, OneFS, network, and disk statistics.

The NFS operations are grouped according to the classes in isi statistics as the following table shows.

NFS operations classes in isi statistics. Lists protocol operations and categories used by isi statistics to monitor NFS activity and performance.
Port Service Protocol Usage description
4791 RoCEv2 UDP In RoCEv2, the RDMA payload is encapsulated as UDP payload with the 4791 UDP destination port.
300 mountd TCP/UDP NFSv3 mount service.
302 statd TCP/UDP NFSv3 Network Status Monitor (NSM)
304 lockd TCP/UDP NFSv3 Network Lock Manager (NLM)
111 rpc.bind TCP/UDP ONC RPC portmapper that is used to locate services such as NFS, mountd. Only used by NFSv3 if NFSv4.x running on the standard registered TCP port 2049.

isi statistics protocol

You get the detailed NFS protocol operations performance data by running the following command:

isi statistics protocol list --protocols=nfs3,nfs4 --sort=TimeAvg --degraded

OneFS 9.15 includes per-phase NFS latency statistics, providing granular observability into NFS request processing that was previously unavailable. Prior to this enhancement, NFS performance analysis relied solely on aggregate latency metrics (TimeAvg), which could indicate that a problem existed but could not identify the contributing stage. The new feature captures seven discrete timing fields per NFS request, including authentication, export validation, LW Scheduler wait, File Handle Affinity (FHA) blocking, kernel reservation, Spark dispatch latency, and NFS protocol operation time. These metrics help enable cluster administrators to precisely locate where time is being spent across the full request lifecycle.

These latency statistics covers both NFSv3 and NFSv4 (including compound-request-aware attribution for NFSv4), with data collected at the per-CPU kernel level using lock-free shards, aggregated every five seconds by isi_stats_d, and presented on demand by the CLI using the ‘--latency’ argument:

isi statistics protocol list –protocols=nfs3,nfs4 --latency

They are also available via the OneFS platform API (v26) REST with ‘latency=true’ parameter. A complementary slow operation logging capability writes per-request latency breakdowns to /var/log/nfs.log for operations exceeding a configurable threshold (default: 1,000 ms). The functionality is enabled by default in OneFS 9.15 and later releases, runtime configurable without an NFS service restart, carries negligible overhead when active, and is fully backward compatible with existing monitoring scripts and API consumers.

isi statistics pstat

The sub-command isi statistics psstat output can help you analysis the approximate mix of read, write, and metadata operations. The following figure is an example output by running the following command with --protocol=nfs3 option to get the NFSv3 statistics.

A figure shows the isi statics pstat command output for NFS

isi statistics pstat result for NFS

You can find each operation rates for NFSv3, in this example, subtract the 33071 ops/s for read and 33992 ops/s for write from the total 146313 ops/s, which leaves 79250 ops/s for metadata operations. So the NFSv3 read, write and metadata ratio approximately: read 22.6%, write 23.2%, metadata 54.2%.

Packet capture tool and analysis

It is useful to capture NFS packet during the troubleshooting. You can figure out the communication details between the server and client. On Linux environment, you can use tcpdump tool to capture the traffic on the server or client. For the usage of tcpdump, you can refer to the man page of tcpdump. For OneFS cluster, it is more convenient to use isi_netlogger command tool to capture the traffic in the cluster on more than one node. You can get the usage through the help output using isi_netlogger –h. Below is an example scenario about how to use these tools to analysis the NFS traffic and get the information as needed.

Assuming that an application has an issue to read/write a file on the cluster, we need to verify and find out if the actual file in the network traffic is same as the file that the application reported. So that we need to find the filename according to the filehandle in the captured packet. We use isi_netlogger to capture the packet and use Wireshark to analyze the .pcap file.

  1. Running the following command captures the packets on the interface mlxen2 (IP 172.16.200.41) of OneFS cluster node number 1. And only capture the traffic to and from the application host 172.16.200.160.
    isi_netlogger –l mlxen2 –n 1 host 172.16.200.160
  2. The captured file will be stored at /ifs/netlog by OneFS. You can download the file to your local machine, and open it using Wireshark which is a feature-rich network packet analysis tool. Find the operation which accesses the file on OneFS cluster, as shows in the following figure.
    Obeserve NFSv3 filehandle in a network trace via wireshark

    The NFSv3 operation filehandle

    Filehandle in OneFS NFSv3 is a 32 bytes structure contains the following parts:

    • File system ID (4 bytes): the exported file system identifier.
    • Export (4 bytes): the unique export identifier.
    • File ID (8 bytes): the file's logical inode number (LIN).
    • Snap ID (4 bytes): the snapshot identifier of the root of the mount.
    • Portal (4 bytes): the snapshot portal depth.
    • Root LIN (8 bytes): the LIN of the root of the export.

    The following figure is the filehandle broken into each section, the LIN in the packet capture is represented in little-endian format rather than a big-endian format. So the actual file’s LIN in OneFS is 00:00:00:01:3c:0b:8d:82 (13c0b8d82).

    NFSv3 filehandle format

    NFSv3 filehandle in OneFS

  3. Find the file path on the OneFS cluster for the obtained LIN using command isi get –L 13c0b8d82, the output is similar to the following.
    # isi get -L 13c0b8d82
    A valid path for LIN 0x13c0b8d82 is /ifs/test.txt
    

References

Dell Technologies documentation

The following Dell Technologies documentation provides other information related to this document. Access to these documents depends on your login credentials. If you do not have access to a document, contact your Dell Technologies representative.

Appendix A

pNFS client-side NIC trunking

Parallel NFS (pNFS) flex-files, defined in RFC 8435 and carried over NFSv4.1 or NFSv4.2, separates a file system’s metadata path from its data path. In a flex-files deployment, the PowerScale cluster fills two roles simultaneously:

Metadata Server (MDS)
The IP address you mount. It handles namespace operations and issues data layouts to the client through the LAYOUTGET operation.
Data Servers (DSes)
The addresses the client reads and writes file data to directly. Every node in the network pool can act as a DS, so DS addresses span the entire pool range.

When the client performs I/O, the MDS returns a flex-files layout listing the DS addresses for the data. The client then opens transport connections directly to those addresses.

The single-NIC limitation

By default, Linux resolves all of those DS addresses to a single egress interface — the route with the lowest metric wins — so every data connection leaves through one NIC. A client with two NICs attached to the same PowerScale data network therefore uses only half of its available bandwidth, while the second NIC stays idle.

Comparison showing a pNFS client using one network interface versus using route-based NIC trunking to distribute traffic across two interfaces.

Default single-NIC behavior (left) versus client-side NIC trunking (right).

The trunking solution

The technique in this guide pins half of the pool’s addresses to each NIC using host-specific (/32) routes. Data-server connections then fan out across both interfaces, so a single mount can drive the aggregate bandwidth of both NICs. The approach works identically for RDMA (RoCE/InfiniBand) and TCP; RDMA-only steps are marked where they apply. All configuration is performed on the Linux client; the cluster requires no change beyond having NFS over RDMA and pNFS flex-files enabled on the export.

NIC trunking architecture

The client’s two NICs sit on separate subnets, each with its own gateway toward the PowerScale data network. Host routes split the pool so that addresses .81–.100 egress NIC 1 and .101–.120 egress NIC 2. Whichever node answers the mount acts as the MDS; the flex-files layouts it returns still reference DS addresses drawn from across the whole pool, so both NICs are exercised once the routes are split evenly.

Network architecture diagram showing a pNFS client using two NICs and split routes to access a PowerScale SmartConnect pool through separate network paths.

Client-side NIC trunking architecture: one mount, split routes, and a PowerScale pool in which every node can serve as MDS or DS.

NOTE:  Split the data pool you actually mount through — not the management pool, and not a different data pool. OneFS returns roughly one DS address per node drawn from the pool your mount uses. If the cluster has several data pools on different ranges, mounting through one pool returns only that pool’s DS addresses, so splitting a different range accomplishes nothing.

Data flow

The following stages summarize how a mount becomes trunked data I/O across both interfaces.

Workflow showing pNFS mount establishment, layout retrieval, and parallel data transfer across multiple NICs and data server nodes.

pNFS flex-files data flow, from mount through layout retrieval to parallel data-server traffic across both NICs.

NIC trunking prerequisites

Confirm that all PowerScale, networking, and client prerequisites listed below are met before making any change.

Client requirements

  • A recent enterprise Linux distribution with NFS/RDMA, pNFS flex-files, and nconnect support — for example RHEL 8.x/9.x, Ubuntu 20.04+, or SLES 15 SP3+.
  • Two client NICs, each with its own IP address and a working route to the cluster data subnet.
  • Root (or sudo) access on the client.
  • The rdma-core and nfs-utils Linux packages are installed.
  • RDMA only: Confirm each NIC’s RDMA device mapping with rdma link show (for example, mlx5_0 maps to eth0).

PowerScale requirements

  • OneFS 9.15 or later (a release supporting NFS over RDMA and pNFS flex-files).
  • NFS over RDMA enabled, and pNFS flex-files enabled on the export.
  • RDMA-capable cluster front-end interfaces.

On the PowerScale cluster, verify that NFS over RDMA is enabled:

isi nfs settings global view | grep -i rdma

Network requirements

  • A RoCEv2 fabric with lossless Ethernet (PFC/ECN) configured end-to-end.
  • One subnet per client NIC is recommended for clean routing.
  • A reachable gateway on each NIC’s subnet toward the cluster pool.

Reference environment

The commands throughout this guide use the example values below. Substitute your own IP addresses and paths consistently, as appropriate. The IP address pool is split in half: .81–.100 via NIC 1 and .101–.120 via NIC 2.

Reference environment values. Provides example network, storage, and client configuration values used throughout the NIC trunking deployment example.
Item Value Notes
Cluster data subnet 192.168.100.0/24 Where the NFS pool lives
Network pool range 192.168.100.81 – .120 (40 IPs) Any one is the mount target; all are potential DS IPs
NIC 1 eth0, 10.10.1.11, gw 10.10.1.254, mlx5_0 First client NIC
NIC 2 eth1, 10.10.2.11, gw 10.10.2.254, mlx5_1 Second client NIC
Export path /ifs/data NFS export on the cluster
Mount point /mnt/pscale Local directory on the client

Mount options

NFS mount options used in this guide. Describes recommended mount options and values for pNFS and NFS over RDMA deployments.
Option Value Purpose
proto rdma Use RDMA transport (use tcp for the TCP variant)
port 20049 Standard NFS-over-RDMA port
vers 4.1 NFSv4.1 — required for pNFS flex-files
rsize / wsize 1048576 1 MB I/O buffers (a good default for RDMA)
nconnect 4 Parallel connections per DS IP; start at 4 and raise only if a single DS connection bottlenecks

NIC trunking deployment procedure

The procedure comprises eight steps. All are performed on the Linux client, except Step 1, which queries the PowerScale cluster. Validate first with temporary routes (Step 3, Option A), confirm the split is working (Steps 4 through 8), and then make the routes permanent (Step 3, Option B). Experienced administrators may proceed directly to a permanent method.

Step 1: Confirm the cluster pool

On the PowerScale cluster, examine the SmartConnect static network pool to obtain the exact IP range and gateway that the client will route across its two NICs:

# on the cluster
isi network pools list
isi network subnets list

You will mount one address from this range (or the pool’s SmartConnect DNS name, which resolves to one of them) and route the entire range across your two NICs.

CAUTION:  Use the NFS data pool, not the management pool. A management or pool0 address may answer ping and even accept a TCP connection on port 2049, but mounts through it hang and never produce data layouts. Choose the pool on the cluster’s data interfaces (for example, 25/100 GbE), and split exactly that pool’s range.

Step 2: Back up the current network configuration

Before changing anything, capture the current state so you can restore it. First, on the Linux client, save the runtime routing state (all distributions):

mkdir -p /root/net-backup-$(date +%F)
ip route show > /root/net-backup-$(date +%F)/routes.txt
ip rule show  > /root/net-backup-$(date +%F)/rules.txt

Next, back up the persistent network configuration for your distribution on the client. This is only required if you will use Option B (permanent routes) in Step 3; Option A leaves persistent configuration untouched.

  • NetworkManager (RHEL, Rocky, SLES): profiles live in /etc/NetworkManager/system-connections/ (keyfile) or /etc/sysconfig/network-scripts/ (ifcfg). Back up whichever is present.
  • netplan (Ubuntu): back up /etc/netplan.
# Ubuntu / netplan example
cp -a /etc/netplan /root/net-backup-$(date +%F)/
NOTE: eep these backups until the new configuration is confirmed working and stable.

Step 3: Add the split routes

Add a host-specific (/32) route for every pool address, sending half to each NIC. There are two ways to accomplish this.

Option A — Temporary (runtime only, for testing)

These routes take effect immediately and are lost on reboot, which makes them ideal for validating the configuration before committing. On the Linux client, run the following as root:

# .81–.100 via NIC 1
for id in {81..100}; do
  ip route replace 192.168.100.$id via 10.10.1.254 dev eth0 src 10.10.1.11
done
# .101–.120 via NIC 2
for id in {101..120}; do
  ip route replace 192.168.100.$id via 10.10.2.254 dev eth1 src 10.10.2.11
done
ip route flush cache

The src attribute pins the connection’s source address to the egress NIC. It is required for RDMA (the RoCE source GID must belong to the egress device) and keeps the path symmetric. Because ip route replace is idempotent, the commands are safe to re-run.

Option B — Permanent (choose one method)

Store the routes declaratively so the network stack reapplies them automatically on boot or NIC bounce. Choose one method; do not combine them for the same addresses.

NetworkManager (RHEL, Rocky, SLES). On the client, add the routes with nmcli, using the connection name (from nmcli connection show), which often differs from the device name. The src attribute pins the source address exactly as in Option A.

nmcli connection show    # note the NAME column (may differ from DEVICE)
# NIC 1 connection
for id in {81..100}; do
  nmcli connection modify eth0 \
    +ipv4.routes "192.168.100.$id/32 10.10.1.254 src=10.10.1.11"
done
# NIC 2 connection (name may be e.g. "Wired connection 1")
for id in {101..120}; do
  nmcli connection modify "Wired connection 1" \
    +ipv4.routes "192.168.100.$id/32 10.10.2.254 src=10.10.2.11"
done
nmcli connection up eth0
nmcli connection up "Wired connection 1"
CAUTION: nmcli connection up briefly bounces the interface and drops any SSH session running over that NIC. Run the activation from the console/BMC, or detached (for example, wrap it in nohup ... &). Do not chain the two commands with && over a live SSH session on the first NIC.

Ubuntu / netplan. On the client, add routes under each interface in the netplan YAML, then run sudo netplan apply. A route placed under an interface egresses that interface and uses its IP as the source automatically, so no explicit src is needed. Validate with ‘sudo netplan generate’ before applying.

network:
  version: 2
  ethernets:
    eth0:
      routes:
        - to: 192.168.100.81/32
          via: 10.10.1.254
        # ... one entry per .81–.100
    eth1:
      routes:
        - to: 192.168.100.101/32
          via: 10.10.2.254
        # ... one entry per .101–.120

OS-agnostic — systemd oneshot service. For mixed client fleets, or when a single approach across all hosts is preferred, this small ‘oneshot service’ replays the Option A commands at boot on the client. It is the most transparent method, and the safest to apply remotely, because it never reconfigures a NIC’s address and so never bounces a link.

# /usr/local/sbin/nfs-trunk-routes.sh
#!/bin/bash
set -e
for id in {81..100}; do
  ip route replace 192.168.100.$id via 10.10.1.254 dev eth0 src 10.10.1.11
done
for id in {101..120}; do
  ip route replace 192.168.100.$id via 10.10.2.254 dev eth1 src 10.10.2.11
done
ip route flush cache
# /etc/systemd/system/nfs-trunk-routes.service
[Unit]
Description=Split NFS pool routes for NIC trunking
After=network-online.target
Wants=network-online.target
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/usr/local/sbin/nfs-trunk-routes.sh
[Install]
WantedBy=multi-user.target
chmod +x /usr/local/sbin/nfs-trunk-routes.sh
systemctl daemon-reload
systemctl enable --now nfs-trunk-routes.service
systemctl status nfs-trunk-routes.service --no-pager  # expect: active (exited)
NOTE:  On-link pool (no gateway) is a special case. If the cluster pool is in the same subnet as your client NICs — shown by ip route show as a proto kernel scope link route with no via — omit the gateway: For example, ip route replace 192.168.100.81 dev eth0 src 10.10.1.11, or in netplan use scope: link with no via. When the pool is reached through a router, keep the gateway.

Step 4: Verify the split

On the Linux client, confirm that the boundary addresses resolve to the expected interfaces:

ip route get 192.168.100.81    # expect: dev eth0  src 10.10.1.11
ip route get 192.168.100.100   # expect: dev eth0  src 10.10.1.11
ip route get 192.168.100.101   # expect: dev eth1  src 10.10.2.11
ip route get 192.168.100.120   # expect: dev eth1  src 10.10.2.11

Or check the whole pool at once:

for id in {81..120}; do ip route get 192.168.100.$id | head -1; done

Addresses .81–.100 should all show eth0, and .101–.120 should all show eth1.

Step 5: Connectivity check (optional)

On the Linux client, perform a quick reachability check before mounting. Skip it if you prefer to go straight to Step 6 — the mount plus the verification in Steps 7 and 8 is the definitive end-to-end test.

# RDMA only: both devices should be ACTIVE / LINK_UP
rdma link show
# reach one IP from each half over its intended NIC
ping -c2 -I eth0 192.168.100.81      # path via NIC 1
ping -c2 -I eth1 192.168.100.101     # path via NIC 2

A ping failure on one NIC means that path is down — check link state, switch/VLAN configuration, and gateway reachability (for example, arping -I eth1 10.10.2.254).

Step 6: Mount

On the Linux client, mount one pool address as the MDS, using nconnect to set the number of connections opened per DS address:

For RDMA configurations:

mount -v -o proto=rdma,port=20049,vers=4.1,rsize=1048576,wsize=1048576,nconnect=4 \
  192.168.100.81:/ifs/data /mnt/pscale/

For TCP configuration:

Replace 'proto=rdma,port=20049' with 'proto=tcp'

The mount confirms the source address it selected. The reported clientaddr should match your NIC 1 IP (10.10.1.11).

NOTE:  Immediately after mounting, and before any I/O, only the MDS address appears in the transport table. This is expected — DS connections are created once I/O triggers LAYOUTGET.

To remount automatically on boot, add an entry to /etc/fstab on the client (_netdev defers the mount until the network is up):

192.168.100.81:/ifs/data  /mnt/pscale  nfs4  \
  proto=rdma,port=20049,vers=4.1,rsize=1048576,wsize=1048576,nconnect=4,_netdev  0  0

Step 7: Verify trunking — transport connections

On the client, generate a small amount of I/O (for example, a find, or a short fio or dd job) to trigger layout retrieval, then count the transport connections per address:

grep -h 'addr:' /sys/kernel/debug/sunrpc/rpc_xprt/*/info \
  | awk '{print $2}' | sort -t. -k4 -n | uniq -c

Healthy trunking shows every participating address with nconnect (here, 4) connections — the MDS plus DS addresses from both halves of the pool:

  4 192.168.100.81     <- MDS (NIC 1 range)
  4 192.168.100.90     <- DS  (NIC 1 range)
  4 192.168.100.101    <- DS  (NIC 2 range)
  4 192.168.100.118    <- DS  (NIC 2 range)
  ...

If only .81–.100 appear, the NIC 2 routes are wrong — recheck Step 4. Entries for the cluster management address (port 2049) and the local rpcbind socket are unrelated to data I/O and can be ignored.

Step 8: Verify trunking — RDMA queue pairs (RDMA only)

For RDMA configurations, on the Linux client, confirm that queue pairs (QPs) exist on both RDMA devices:

rdma resource show qp link mlx5_0    # NIC 1
rdma resource show qp link mlx5_1    # NIC 2

Both devices must return QPs, and each should carry roughly half of the total — for a 40-address pool with nconnect=4, about 20 × 4 = ~80 QPs per device. QPs on only one device mean all traffic is on one NIC; recheck the routes for the other half.

NOTE: If you validated with temporary routes (Option A) and everything checks out, return to Step 3, Option B to make the routes permanent.

NIC trunking rollback and restore

To return to the original configuration, roll back using the same method you applied. Replace the backup date with the date of your Step 2 backup directory.

Temporary routes (Option A, all distributions)

On the Linux client, either delete the host routes, or simply reboot (since routes do not persist):

for id in {81..120}; do ip route del 192.168.100.$id; done
ip route flush cache

NetworkManager

On the client, remove exactly the routes you added, using -ipv4.routes. This works regardless of whether or not NetworkManager created a new keyfile, and does not touch anything else:

# NIC 1 connection
for id in {81..100}; do
  nmcli connection modify eth0 \
    -ipv4.routes "192.168.100.$id/32 10.10.1.254 src=10.10.1.11"
done
# NIC 2 connection (use the same NAME you used to add the routes)
for id in {101..120}; do
  nmcli connection modify "Wired connection 1" \
    -ipv4.routes "192.168.100.$id/32 10.10.2.254 src=10.10.2.11"
done
nmcli connection reload
nmcli connection up eth0
nmcli connection up "Wired connection 1"
CAUTION: Do not rely on restoring the keyfile backup alone. If a NIC had no saved profile when you backed up, Option B created a new keyfile for it, and a plain ‘cp -a restore’ never deletes that new file — so those routes survive the rollback. Use the ‘-ipv4.routes’ method above, then verify none remain with the ‘ip route show | grep /32’ command.

netplan (Ubuntu)

On the client, restore the backed-up netplan, then apply. If you added the routes by editing an existing file, this is complete. If you added a separate file, delete it first — the backup will not contain it:
rm -f /etc/netplan/90-pnfs-trunking.yaml   # only if you created a separate file
cp -a /root/net-backup-YYYY-MM-DD/netplan/* /etc/netplan/
sudo netplan apply

systemd service (all distributions)

On the client, disable the unit, remove its files, then clear the live routes (or reboot):

systemctl disable --now nfs-trunk-routes.service
rm -f /etc/systemd/system/nfs-trunk-routes.service \
      /usr/local/sbin/nfs-trunk-routes.sh
systemctl daemon-reload
for id in {81..120}; do ip route del 192.168.100.$id; done
ip route flush cache

Troubleshooting NIC trunking

Common symptoms, causes, and resolutions. Provides troubleshooting guidance for common NIC trunking deployment and connectivity issues.
Symptom Likely cause Resolution
Ping or mount hangs on one NIC’s path No working path via that NIC’s gateway Check link, switch/VLAN, and gateway (arping -I eth1 10.10.2.254)
Mount hangs though ping and port are reachable Mounting the wrong pool (management, not data) Confirm the IP is in the NFS data pool (isi network pools list); mount a data-pool IP
Only NIC 1 addresses in the transport table NIC 2 host routes missing or wrong Recheck ip route get 192.168.100.101
No QPs on mlx5_1 RDMA device not mapped to NIC 2 rdma link show; confirm device-to-netdev mapping
Transport table shows only the MDS IP after I/O pNFS flex-files inactive, or no real I/O performed Confirm flex-files is enabled on the export; perform real reads/writes
ip route get shows the wrong NIC Route cache stale ip route flush cache
SSH session drops during Option B apply/rollback nmcli connection up bounced the NIC carrying your session Run the activation detached (nohup ... &) or from console/BMC
Routes still present after Option B rollback cp -a keyfile restore did not delete an NM-created profile Use the -ipv4.routes rollback method; verify with ip route show
ip route replace permission error Not root Use sudo

NIC trunking best practices and considerations

The following practices help ensure a reliable, maintainable NIC-trunking deployment and apply regardless of the preferred persistence method or transport (RDMA or TCP):

NIC trunking best practices and considerations. Summarizes recommended configuration and operational practices for reliable client-side NIC trunking deployments.
Topic Details
Gateways Reuse the existing gateway each NIC already uses for the cluster subnet (determined via ‘ip route show’ command) rather than creating new ones.
Source pinning The ‘src’ attribute pins the source address to the egress NIC. It is required for RDMA and keeps the path symmetric.
Uneven pools Adjust the static network pool ranges so that roughly half of the addresses go to each NIC. The split need not be exactly even.
Nconnect Start at nconnect=4 and raise it only if a single DS connection becomes a bottleneck.
Verify before permanence Validate with temporary routes, confirm with the checks in steps 7 and 8 above, and only then make a configuration permanent. Plus, always keep a tested rollback option.

Summary of NIC trunking

Client-side NIC trunking is an efficient, fully reversible way to unlock the aggregate bandwidth of two client interfaces for pNFS flex-files on Dell PowerScale. Because the technique relies only on host-specific routes and an ‘nconnect’ mount, it requires no cluster-side change and applies equally to RDMA and TCP. Following the procedure in this guide (i.e. confirm the correct data pool, back up first, split the routes, verify with the transport and queue-pair checks, and persist with a tested rollback in place) delivers a single mount that drives data traffic across both NICs.