Mount
Cheat sheet · https://pcornel.dk/topic.php?topic=4138
Answer
The mount is a client-side attachment to a remote export. A path can remain present locally while the server path is unavailable, stale or returning errors, so mount state must be correlated with live I/O.
Remember
- Mountpoint exists ≠ NFS mounted.
- NFS mounted ≠ server healthy now.
- Mount success ≠ permissions proven.
- Unmount/remount recovery ≠ root cause identified.
First checks
findmnt -t nfs,nfs4— mountsmount -a— test fstabsystemctl status <mount>.mount— systemd unit
Verify in this order
fstab/automount → mount → NFS session
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 → Mount file-service map
| 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 | A successful mount establishes protocol access to an export at that moment; it does not prove all file operations, identity semantics or continued availability. | Correlate client, network, server and filesystem evidence for the same operation/time window |
| Acceptance | Healthy evidence: mount source/target/version match design, live operations complete without stale/timeouts and read-back confirms expected remote data. | 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=4138