Skip to main content
Version: 3026.10 / 3026.11-mp

Business Continuity for NFS

Fusion NFS provides business continuity at two levels: the resilience built into the NFSv4.1 protocol itself, and scale-out clustering — shared with Fusion SMB — which keeps exports available across node failures.

NFSv4.1 protocol resilience​

NFS version 4.1 (RFC 8881) adds session-based reliability that Fusion NFS uses to withstand transient network failures within a running server instance:

  • No duplicate operations. A request that a client retries after a network hiccup is executed at most once — a retried write or rename never applies twice. Fusion NFS does not keep a reply cache, although RFC 8881 requires one when the client asks for it, so the retry gets an error even if the operation succeeded. Check the result before retrying.
  • Connection recovery. A session is independent of any single TCP connection. If a connection drops, the client can re-establish it within the client lease period and bind it back to the same session, resuming work without remounting or losing its open and lock state.
  • Client and session trunking. A client can drive one session over several network connections, which improves both throughput and resilience to the loss of an individual link.

These mechanisms handle network interruptions shorter than the client lease period, 3 minutes by default, as long as the server process keeps running.

Scale-out clustering​

Fusion NFS supports scale-out cluster mode, the same clustering model used by Fusion SMB. Scale-out adds Continuous Availability to NFS through persistent file handles: on a supported cluster file system a client's file handles are valid on every node, so after a node failure the client continues on a surviving node with the same handles. The client's opens and locks are kept on the node that serves it, so clients re-establish them after a failover, and requests in progress at the moment of the failure may be lost or carried out a second time. If an application gets an error around a failover, check whether the change was made.

Scale-out for NFS is deployed with Corosync and Pacemaker exactly as for SMB, including the shared-storage, networking, and scale_out configuration described in Clustering. Each node exports the same shared file system, so every node in the cluster serves the same export, and clients can access the same files through any node.

State is not preserved across a restart or failover​

warning

Fusion NFS does not persist NFS client state, and does not yet implement the NFSv4.1 grace period. If a server process restarts, or a cluster node fails, the opens and locks held by its NFS clients are lost — clients reconnect without their previous state and must re-open files and re-acquire locks. Without a grace period, another client can take a conflicting lock in the meantime.

Deploying NFS for availability​

  • Scale-out cluster (recommended for HA). Run Fusion NFS in scale-out mode behind the cluster's client-distribution mechanism so that exports stay available when a node fails. See Clustering.
  • Redundant networking and storage. Apply the same networking and shared-storage redundancy practices used for SMB so that the export's data and reachability do not depend on a single component.
  • Standalone with a floating IP. A floating IP keeps the mount target reachable if a single standalone node is replaced, but — because client state is not preserved (see above) — clients reconnect fresh rather than resuming.

For the full clustering, Continuous Availability, and Scale-Out configuration, see Clustering.