Pcornel
Browse topics
Options
Recent
Favorites
Storage · Technical reference

NFS Client

Direct answer

Applications use a local pathname while the NFS client maintains mount, protocol, caching and state semantics and forwards operations to the remote server.

When to use this

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.

First 30 seconds

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.

Operational verification

client mount → RPC → server

Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Failure and recovery traps

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.

Platform / version applicability
Network file storage
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformNetwork file storage
Scope / prerequisiteUse it when the storage question has been narrowed to NFS → NFS Client. Start from the exact remote path and operation,…
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

1 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

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 references

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.

observation · 1
Key points
  • 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.
Key checks
  • nfsstat -m — mounts and options
  • mount -t nfs4 <srv>:/path /mnt -o vers=4.2,hard — mount
  • findmnt -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.

OptionEffect
vers=4.2Protocol version
hard / softHard retries forever (safe for data); soft returns errors after timeouts
timeo, retransTimeout and retry behaviour
rsize, wsizeTransfer size (usually negotiated to 1 MB)
nconnect=4Multiple TCP connections for throughput
sec=krb5pKerberos with encryption
_netdev, x-systemd.automountMount 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.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docNetwork file storage current

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%
Terminology layer

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.

Aliases that resolve here
nfs clientnfs mount clientremote nfs client
Embedded reference data

Quick lookup tables

NFS → NFS Client file-service map

Fast namespace, protocol, identity, authorization and proof boundaries for NFS → NFS Client.

File-service boundaryWhat to verifyProof limit
Endpoint / namespaceCorrect client, server, export/share, path and negotiated protocol versionReachability or namespace visibility does not prove authorization or backend health
Identity / securityEffective identity, protocol security state and export/share/filesystem authorizationAuthentication or one permission layer does not prove complete file access
Failure boundaryClient 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
AcceptanceHealthy 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
Confirmation

Confirm action

Continue?