Pcornel
Browse topics
Options
Recent
Favorites
Storage · Technical reference

Export

Direct answer

An NFS export is a directory the server shares, together with rules for which clients may mount it and how (read-only, root squash, security mode). The export rules are checked first; normal file permissions apply after that.

When to use this

Use it when the storage question has been narrowed to NFS → Export. 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. An export entry: path + client spec + options (rw, sync, root_squash, sec=).

2. Avoid * world exports.

3. no_subtree_check default.

4. Re-export after edits: exportfs -ra.

5. Document each export.

Operational verification

path + client + options → export

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

An export can authorize a client to reach a namespace while the underlying filesystem still denies the operation or the backing storage is unhealthy.

Suspicious evidence: overlapping client rules, wrong network match, export points at unexpected mount, stale policy, or read-write export combined with filesystem denial.

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 → Export. Start from the exact remote path and operation, the…
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 identity/address → export match → export options/security → filesystem authorization → backing path

Healthy evidence: effective export policy selects the intended client, exposes the intended server path with expected access/security options, and client operations map to 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
  • Export ≠ mount.
  • Export allowed ≠ filesystem permission allowed.
  • Export path ≠ guaranteed healthy backing filesystem.
  • Read-write export ≠ every client/user can write.
Key checks
  • exportfs -v — exports and options
  • showmount -e <server> — exports from client
  • cat /etc/exports — rules
ReferenceImportant terms & boundaries2 sections · depth on demand

Namespace and identity

An export can authorize a client to reach a namespace while the underlying filesystem still denies the operation or the backing storage is unhealthy.

In depth

An export line names a directory and which clients may mount it with which options:

# /etc/exports
/srv/projects   10.20.0.0/24(rw,sync,no_subtree_check,root_squash)  backup01(ro,no_root_squash)
/srv/home       *.corp.example.com(rw,sync,sec=krb5p)
OptionMeaning
rw / roRead-write or read-only
sync / asyncCommit to disk before replying (safe) vs reply early (fast, risk on crash)
root_squashMap client root to nobody (default)
all_squash, anonuid=Map every user to one UID
no_subtree_checkRecommended; avoids issues with renamed files
sec=sys, krb5, krb5i, krb5p

A space between client and ( changes the meaning: host (rw) exports read-write to the whole world.

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 → Export. 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 exportexportsexportfs
Embedded reference data

Quick lookup tables

NFS → Export file-service map

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

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 boundaryAn export can authorize a client to reach a namespace while the underlying filesystem still denies the operation or the backing storage is unhealthy.Correlate client, network, server and filesystem evidence for the same operation/time window
AcceptanceHealthy evidence: effective export policy selects the intended client, exposes the intended server path with expected access/security options, and client operations map to correct ownership.Close only after the original operation and server-side/read-back verification succeeds
Confirmation

Confirm action

Continue?