Pcornel
Browse topics
Options
Recent
Favorites
Storage · Technical reference

NFS Fundamentals

Direct answer

NFS lets a client mount a directory from a server and use it like a local folder. Every operation still travels over the network and is checked against the server's export rules, user mapping and file permissions.

When to use this

Use it when the storage question has been narrowed to NFS → NFS Fundamentals. 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 is RPC-based file access.

2. v3 is stateless with helper services (mountd, lockd); v4 is stateful on 2049.

3. Mount options set behaviour (hard, timeo, rsize/wsize).

4. Exports define client access.

5. Check versions on both sides.

Operational verification

client RPC → server nfsd → filesystem

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

NFS abstracts remote files, but local-looking paths do not remove network, identity, server policy or backend failure points.

Suspicious evidence: assumed defaults differ between endpoints, cached namespace state masks server changes, or permissions are inferred only from local mode bits.

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.

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 Fundamentals. Start from the exact remote path and oper…
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

process → VFS → NFS mount → NFS protocol → export → server VFS/filesystem → storage backend

Healthy evidence: client and server agree on version/security, mount identity matches the intended export, and metadata plus data operations behave as expected.

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
  • Remote path appearance ≠ local filesystem ownership.
  • Client cache ≠ durable server persistence.
  • NFSv3 ≠ NFSv4 state and namespace behavior.
  • File visibility ≠ write authorization.
Key checks
  • rpcinfo -p <server> — RPC services (v3)
  • nfsstat -s (server) / nfsstat -c (client) — operation stats
  • cat /proc/fs/nfsd/versions — versions enabled on server
ReferenceImportant terms & boundaries2 sections · depth on demand

Namespace and identity

NFS abstracts remote files, but local-looking paths do not remove network, identity, server policy or backend failure points.

In depth

NFS shares a directory tree from a server to clients over RPC. The client sends file operations (LOOKUP, READ, WRITE, GETATTR, COMMIT…) and caches attributes and data; the server owns the real filesystem.

VersionTransport / portsStateSecurity
NFSv3TCP/UDP 2049 + rpcbind 111, mountd, statd, lockd (dynamic)Stateless server, locks via NLMAUTH_SYS (UID/GID trust)
NFSv4.0/4.1/4.2TCP 2049 onlyStateful (open/lock state, leases)AUTH_SYS or Kerberos (krb5/krb5i/krb5p)
rpcinfo -p nfs01                 # v3: registered RPC services
showmount -e nfs01               # v3 exports (mountd)
nfsstat -m                       # client: mounted versions and options
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 Fundamentals. 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 fundamentalsnfs basicshow nfs works
Embedded reference data

Quick lookup tables

NFS → NFS Fundamentals file-service map

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

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 boundaryNFS abstracts remote files, but local-looking paths do not remove network, identity, server policy or backend failure boundaries.Correlate client, network, server and filesystem evidence for the same operation/time window
AcceptanceHealthy evidence: client and server agree on version/security, mount identity matches the intended export, and metadata plus data operations behave as expected.Close only after the original operation and server-side/read-back verification succeeds
Confirmation

Confirm action

Continue?