NFSv3
Cheat sheet · https://pcornel.dk/topic.php?topic=4139
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, nlockmgrmount -t nfs -o vers=3 ...— v3 mountnfsstat -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 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 | Successful 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 |
| Acceptance | Healthy 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