Pcornel
Storage · NFS

NFS Server

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

Back to the Topic

Answer

The server accepts NFS requests, matches them to exported namespaces and security policy, evaluates credentials and filesystem authorization, then executes operations against local or clustered backing storage.

Remember

  • NFS service running ≠ export available.
  • Export listed ≠ client authorized.
  • Server filesystem mounted ≠ backend healthy.
  • RPC response ≠ durable write completion for every workload semantic.

First checks

  • systemctl status nfs-server — service
  • exportfs -v — active exports with options
  • cat /etc/exports — configuration

Verify in this order

/etc/exports → exportfs → nfsd → clients

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 → NFS Server 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 boundaryServer process health proves the protocol endpoint exists, not that the requested export, permissions, backing path or storage durability are correct.Correlate client, network, server and filesystem evidence for the same operation/time window
AcceptanceHealthy evidence: server listens for the intended NFS version, effective export policy matches the client, backing storage is healthy, and representative operations complete with correct ownership.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=4135

Confirmation

Confirm action

Continue?