Use it when the storage question has been narrowed to NFS. Start from the exact remote path and operation, then separate transport, protocol/session or mount state, identity/security, share/export authorization, filesystem authorization and backend I/O before changing configuration.
NFS
An NFS workload resolves a server and export, establishes protocol access, presents a mount in the client namespace, sends file operations using negotiated NFS semantics and credentials, and relies on the server filesystem plus backend storage for durable data.
1. NFS shares filesystems over the network.
2. NFSv4.1+ preferred (single port 2049, sessions).
3. Hard mounts for data integrity.
4. Root squash by default.
5. Kerberos (krb5p) for security.
client → NFS RPC (2049) → server export → filesystem
Context & applicabilityCommon mistakes · platform/version boundaries
It does not show backup coverage, application consistency, independent HA paths, endpoint security or causation outside the measured file-service scope. A reachable NFS service or successful mount shows only part of the path, but it does not show correct authorization, lock/state behavior, durable backend writes or application consistency.
Suspicious evidence: stale mounts, timeout/retransmission patterns, wrong server/export, protocol-version mismatch, permission denial, identity mismatch or successful metadata access with failing I/O.
Next check: Continue at the first failing step in NFS, SMB, Networking, Security/identity, Filesystems, NAS, Storage Performance or the responsible Linux/Windows/platform branch; make one minimal change and repeat the original file operation/read-back verification.
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Verification path Verify boundary
application → client path/mount → NFS client/RPC → network → NFS server/export policy → server filesystem → backend storage → read-back
Healthy evidence: expected export is reachable with the intended NFS version/security behavior, the mount maps to the correct server path, identity/permissions are correct, and representative read/write/read-back operations succeed.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
Subtopics
Go one level deeper into this subject.
NFS Fundamentals covers the core client/server, export, mount, RPC, caching, identity and persistence model needed before version-specific tuning or troubleshooting.
Subtopic NFS ServerNFS Server covers the service endpoint that publishes filesystem namespaces through exports, enforces export and identity policy, and translates remote operations into local filesystem operations.
Subtopic NFS ClientNFS Client covers the endpoint that discovers or addresses an export, negotiates protocol/security behavior, creates a mount and translates local file operations into remote NFS requests.
Subtopic ExportAn NFS Export is a server-side namespace and policy definition that makes a filesystem path available to selected clients with defined access, security and identity-mapping rules.
Subtopic MountAn NFS Mount binds a remote NFS export into the client filesystem namespace with a negotiated protocol version and client-side behavior/options.
Subtopic NFSv3NFSv3 is the version 3 NFS protocol defined by RFC 1813, commonly used with separate RPC services for functions such as mount discovery and locking in traditional deployments.
Subtopic NFSv4NFSv4 is the stateful NFS protocol family with integrated namespace, locking/open state and COMPOUND operations; NFSv4.1 adds sessions, while NFSv4.2 adds optional extensions such as server-side copy and sparse-file operations.
Subtopic UID / GID MappingUID / GID Mapping covers how client user/group identity is represented and translated so the NFS server can evaluate ownership and filesystem permissions for remote operations.
Subtopic Root SquashRoot Squash is an NFS export-side identity control commonly used to map remote client root requests to an anonymous/unprivileged server identity instead of granting server filesystem root authority.
Subtopic PermissionsNFS Permissions covers the combined authorization path from export policy and remote identity mapping to server-side filesystem mode bits/ACLs and application-required operations.
Subtopic PerformanceNFS Performance covers latency, throughput, operation mix, concurrency, caching, protocol/version behavior, network quality and server/backend limits that determine remote filesystem response time.
Subtopic NFS TroubleshootingNFS Troubleshooting isolates failures from the exact application pathname through mount and NFS protocol state to export policy, identity/permissions, server filesystem and backend storage.
- NFS ≠ block storage or SAN.
- NFS mount success ≠ file permissions or application health.
- Network reachability ≠ export authorization.
- NFS availability ≠ backend filesystem or media health.
showmount -e <server>— exportsnfsstat -m— client mountsexportfs -v (server)— active exports
ReferenceImportant terms & boundaries3 sections · depth on demand
Namespace and identity
A reachable NFS service or successful mount shows only part of the path, but it does not show correct authorization, lock/state behavior, durable backend writes or application consistency.
Platform, version and operating-envelope scope
NFS/SMB dialect, caching, locking and authentication behavior depend on client/server OS and protocol version.
In depth
NFS (Network File System) shares directories from a server so clients can mount them as if they were local. It is the standard file-sharing protocol in Linux/Unix environments and is widely used for VM datastores and shared application data.
| Version | Key traits |
|---|---|
| NFSv3 | Stateless, UID/GID-based access, separate mount and lock protocols |
| NFSv4.x | Single port (2049), stateful, ACLs, Kerberos (krb5/krb5i/krb5p), delegation |
| NFSv4.1+ | Sessions, pNFS for parallel data paths |
Security depends heavily on version: NFSv3 and NFSv4 with sec=sys trust the client's claimed UID, so restrict exports to known hosts and use Kerberos where users must be authenticated. root_squash maps remote root to an unprivileged user.
exportfs -v
showmount -e nfs01
mount -t nfs4 -o vers=4.2 nfs01:/export/data /mnt/data
nfsstat -m
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in NFS. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://www.rfc-editor.org/rfc/rfc8881 · confidence 94%What changed and what may be affected
Recent technical edits are separated from ordinary page timestamps. Relationship impact is advisory: it identifies nearby canonical references to review, not automatic breakage.
Terms & aliases
Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.
Quick lookup tables
NFS file-service map
Fast namespace, protocol, identity, authorization and proof boundaries for NFS.
| File-service boundary | What to verify | Proof limit |
|---|---|---|
| Endpoint / namespace | Correct client, server, export/share, path and negotiated protocol version | Reachability or namespace visibility does not prove authorization or backend health |
| Identity / security | Effective identity, protocol security state and export/share/filesystem authorization | Authentication or one permission layer does not prove complete file access |
| Failure boundary | A reachable NFS service or successful mount proves only part of the path; it does not prove correct authorization, lock/state behavior, durable backend writes or application consistency. | Correlate client, network, server and filesystem evidence for the same operation/time window |
| Acceptance | Healthy evidence: expected export is reachable with the intended NFS version/security behavior, the mount maps to the correct server path, identity/permissions are correct, and representative read/write/read-back operations succeed. | Close only after the original operation and server-side/read-back verification succeeds |