Storage · Storage Troubleshooting
NFS Mount Failure
Cheat sheet · https://pcornel.dk/topic.php?topic=4397
Answer
Trace client path → DNS/route → server NFS service → protocol version/port handling → export policy → mount/state → identity/permissions → server filesystem/backend.
Remember
- Server ping ≠ NFS service reachable.
- Export listed ≠ client is authorized to mount it.
- Mount success ≠ file permissions are correct.
- NFSv3 behavior ≠ NFSv4 namespace/state behavior.
First checks
mount -v <srv>:/path /mnt— verbose mountshowmount -e <srv>— exportsrpcinfo -p <srv>— services
Commands
rpcinfo -p <server>- Query server RPC services. Focus fields: RPC program, version, protocol and port exposed by the selected server.
systemctl status mnt-data.mountjournalctl -b -u mnt-data.mount
Verify in this order
client → network → server → export → mount
Where it usually breaks
First mismatch in media/provider → controller/pool → logical object → path/protocol → filesystem/share/object namespace → consumer workload; preserve identity/pre-state before mutation.
Storage Troubleshooting → NFS Mount Failure proof map
| Troubleshooting boundary | What to verify | Proof limit |
|---|---|---|
| Scope / identity | Exact workload, object/device identity, affected hosts and incident window | Symptom naming alone is not root-cause proof |
| Dependency path | Client mount request → DNS/IP path → NFS service/version → export policy → mount/state → identity/permissions → server filesystem → backend | Healthy adjacent layers do not prove end-to-end health |
| Failure boundary | A mount error proves access failed before a usable NFS mount existed; it does not automatically identify network, service, export, version or permission cause. | Correlate evidence for the same operation and timestamps |
| Acceptance | Healthy evidence shows successful intended-version mount, correct export policy and successful client file operation with expected identity mapping. | Close only after the original workload/recovery test and regression check |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=4397