Architecture Overview
A production-grade NFS deployment consists of:
-
RHEL Hosts: Multiple hosts with redundant network connectivity
-
Dedicated Storage Network: Isolated network for NFS traffic
-
NFS Storage Array: Everpure FlashArray with NFSv4.1 support
-
Redundant Network Paths: Bonded NICs for failover
NFS Virtual IP (VIP) and Controller Failover
Everpure FlashArray uses a Virtual IP (VIP) for NFS services:
-
Single Active Controller: The NFS VIP is hosted on one controller at a time.
-
Automatic Failover: If the active controller fails, the VIP migrates to the standby.
-
Client Transparency: NFS clients connect to the VIP-failover is transparent.
-
TCP Session Recovery: NFSv4.1 supports session recovery after failover.
Why hard Mount is Critical
-
Soft mount:
-
Hard Mount:
With soft mounts, if the VIP isn't available within the timeout, NFS returns errors to applications-this can corrupt databases, crash VMs, or lose data. Always use hard mounts for production.
Timeout Calculation
With timeo=300 (30 seconds) and retrans=2:
| Phase | Duration | Cumulative |
|---|---|---|
| Initial request | - | 0s |
| First timeout | 30s | 30s |
| First retransmit + timeout | 30s | 60s |
| Second retransmit + timeout | 30s | 90s |
| Major timeout reached | - | ~90 seconds |
After a major timeout, the client enters exponential backoff but continues retrying indefinitely with hard mount. This ensures VMs survive even extended maintenance windows.
The 90-second window comfortably exceeds FlashArray's <30 second failover target, providing margin for network reconvergence.
Impact on VM I/O During Failover
| Phase | VM Behavior | Duration |
|---|---|---|
| Pre-failover | Normal I/O | - |
| Failover in progress | I/O pauses (queued in kernel) | 10-30 seconds typical |
| Post-failover | Queued I/O completes, normal operation resumes | Automatic |
What happens inside the VM:
-
Processes performing I/O will block (appear frozen).
-
No I/O errors are returned to applications.
-
CPU-bound processes continue normally.
-
Network connections unrelated to NFS are unaffected.
-
After failover, all queued I/O completes in order.
Guest OS behavior:
-
Linux guests: Processes in "D" (un-interruptible sleep) state temporarily
-
Windows guests: Applications may show "Not Responding" briefly
-
Databases: Transactions pause but do not fail (with
hardmount)
Using soft mounts converts the I/O pause into I/O errors, which can cause VM filesystem corruption, database crashes, or application failures.