Pcornel
Storage · NFS

NFSv3

Cheat sheet · https://pcornel.dk/topic.php?topic=4139

Back to the Topic

Answer

NFSv3 keeps core file operations relatively simple and largely stateless at the NFS protocol layer, while ancillary services and client/server caches participate in mount, lock and recovery behavior.

Remember

  • NFSv3 ≠ NFSv4.
  • NFSv3 core file operations being stateless ≠ no state anywhere.
  • Port 2049 reachable ≠ all auxiliary RPC services reachable.
  • NFSv3 mount success ≠ locking behavior proven.

First checks

  • rpcinfo -p <server> — portmapper, mountd, nlockmgr
  • mount -t nfs -o vers=3 ... — v3 mount
  • nfsstat -c -3 — v3 stats

Verify in this order

client → rpcbind → mountd → nfsd (+ lockd)

Where it usually breaks

First mismatch in client identity/DNS → network transport → protocol session → authentication/authorization → export/share → backend filesystem → file operation; preserve identity/pre-state before mutation.

NFS → NFSv3 file-service map

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 boundarySuccessful NFSv3 READ/WRITE proves those operations on that path; it does not prove auxiliary lock/mount services, cache coherency for every workload or HA recovery behavior.Correlate client, network, server and filesystem evidence for the same operation/time window
AcceptanceHealthy evidence: NFSv3 is intentionally negotiated, required RPC dependencies are reachable, locks behave for the workload and server/file operations succeed without repeated retransmission.Close only after the original operation and server-side/read-back verification succeeds

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=4139

Confirmation

Confirm action

Continue?