Pcornel
Browse topics
Options
Recent
Favorites
Storage · Technical reference

NFS Server

Direct 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.

When to use this

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.

First 30 seconds

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.

Operational verification

/etc/exports → exportfs → nfsd → clients

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

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.

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 Server. Start from the exact remote path and operation,…
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

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 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
  • NFS service running ≠ export available.
  • Export listed ≠ client authorized.
  • Server filesystem mounted ≠ backend healthy.
  • RPC response ≠ durable write completion for every workload semantic.
Key checks
  • systemctl status nfs-server — service
  • exportfs -v — active exports with options
  • cat /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.

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 Server. 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 servernfs servicenfs daemon
Embedded reference data

Quick lookup tables

NFS → NFS Server file-service map

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

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
Confirmation

Confirm action

Continue?