Use it when the storage question has been narrowed to NFS → NFS Client. 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 Client
Applications use a local pathname while the NFS client maintains mount, protocol, caching and state semantics and forwards operations to the remote server.
1. NFS client mounts remote exports.
2. Use hard (default) for data safety; soft risks corruption.
3. _netdev/systemd automount in fstab.
4. rsize/wsize negotiated (1M typical).
5. Check version negotiated.
client mount → RPC → server
Context & applicabilityCommon mistakes · platform/version boundaries
Client mount metadata shows configuration/state on the client, not current server reachability, authorization or backend persistence.
Suspicious evidence: stale handle/state, retransmissions, unexpected fallback/version, cached access after server changes or client-only permission failures.
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 → local VFS → NFS client/mount state → network → server/export → filesystem
Healthy evidence: mount source/version/options are expected, request/response traffic is clean, identities map correctly and application 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.
- Mounted path ≠ server reachable now.
- Client cache hit ≠ server-side current state.
- Client UID/GID ≠ automatically trusted server identity.
- One working mount ≠ all clients or paths healthy.
nfsstat -m— mounts and optionsmount -t nfs4 <srv>:/path /mnt -o vers=4.2,hard— mountfindmnt -t nfs4— mounted
ReferenceImportant terms & boundaries3 sections · depth on demand
Namespace and identity
Client mount metadata shows configuration/state on the client, not current server reachability, authorization or backend persistence.
Client-side mount, cache and identity boundary
An NFS client translates application filesystem operations into remote NFS requests while also applying client-side mount options, caching and identity semantics. A mounted path shows the mount operation completed, but it does not show every file operation, server export rule, name-to-ID mapping or network path is healthy. When reads or writes fail, identify the exact mount and server endpoint, verify the negotiated NFS version and mount options, then distinguish name resolution, transport, RPC/NFS response, authorization and local cache behavior. Stale file handles indicate that an object identity known to the client no longer maps cleanly on the server; remounting can clear client state but should not substitute for understanding server-side rename/export changes. Close by repeating the original file operation from the same user identity and application context.
In depth
The NFS client mounts exported directories and handles caching, locking and reconnection. Mount options decide behaviour when the server is slow or unavailable, and they are a frequent source of performance and hang problems.
| Option | Effect |
|---|---|
vers=4.2 | Protocol version |
hard / soft | Hard retries forever (safe for data); soft returns errors after timeouts |
timeo, retrans | Timeout and retry behaviour |
rsize, wsize | Transfer size (usually negotiated to 1 MB) |
nconnect=4 | Multiple TCP connections for throughput |
sec=krb5p | Kerberos with encryption |
_netdev, x-systemd.automount | Mount after network / on access |
mount -t nfs4 -o vers=4.2,hard,nconnect=4 nfs01:/export/data /mnt/data
nfsstat -m
cat /proc/self/mountstats | head -40
# /etc/fstab
nfs01:/export/data /mnt/data nfs4 vers=4.2,hard,_netdev 0 0
Prefer hard mounts for writable data; soft mounts can silently lose writes when the server is slow.
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 → NFS Client. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://www.rfc-editor.org/rfc/rfc8881 · confidence 94%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 → NFS Client file-service map
Fast namespace, protocol, identity, authorization and proof boundaries for NFS → NFS Client.
| 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 | Client mount metadata proves configuration/state on the client, not current server reachability, authorization or backend persistence. | Correlate client, network, server and filesystem evidence for the same operation/time window |
| Acceptance | Healthy evidence: mount source/version/options are expected, request/response traffic is clean, identities map correctly and application operations succeed. | Close only after the original operation and server-side/read-back verification succeeds |