Use it when the storage question has been narrowed to NFS → NFS Server. 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.
NFS Server
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.
1. NFS server exports directories via /etc/exports.
2. Apply with exportfs -ra.
3. Restrict to specific hosts/subnets.
4. sync is safer than async.
5. Firewall: 2049 (v4) plus rpcbind/mountd for v3.
/etc/exports → exportfs → nfsd → clients
Context & applicabilityCommon mistakes · platform/version boundaries
Server process health shows the protocol endpoint exists, not that the requested export, permissions, backing path or storage durability are correct.
Suspicious evidence: daemon healthy but export missing, stale export configuration, backend read-only/full, identity mapping unexpected or repeated server-side I/O errors.
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Verification path Verify boundary
client request → network listener → NFS server → export match → credential mapping → local filesystem → backend
Healthy 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.
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.
- NFS service running ≠ export available.
- Export listed ≠ client authorized.
- Server filesystem mounted ≠ backend healthy.
- RPC response ≠ durable write completion for every workload semantic.
systemctl status nfs-server— serviceexportfs -v— active exports with optionscat /etc/exports— configuration
ReferenceImportant terms & boundaries2 sections · depth on demand
Namespace and identity
Server process health shows the protocol endpoint exists, not that the requested export, permissions, backing path or storage durability are correct.
In depth
A Linux NFS server is the kernel nfsd plus user-space helpers (rpc.mountd, rpc.idmapd/nfsidmap, rpc.statd for v3). Exports are defined in /etc/exports or /etc/exports.d/*.exports.
systemctl enable --now nfs-server
exportfs -rav # re-read exports and show them
cat /proc/fs/nfsd/versions # enabled versions, e.g. -2 +3 +4 +4.1 +4.2
nfsstat -s # server operation counters
cat /proc/fs/nfsd/threads # nfsd thread count
The number of nfsd threads (/etc/nfs.conf [nfsd] threads=) limits concurrent requests; busy servers with many clients often need 32–128 instead of the default 8.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in NFS → NFS Server. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://www.rfc-editor.org/rfc/rfc8881 · confidence 94%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.
Quick lookup tables
NFS → NFS Server file-service map
Fast namespace, protocol, identity, authorization and proof boundaries for NFS → NFS Server.
| 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 | Server 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 |
| Acceptance | Healthy 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 |