Pcornel
Storage · NFS

Mount

Cheat sheet · https://pcornel.dk/topic.php?topic=4138

Back to the Topic

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 — mounts
  • mount -a — test fstab
  • systemctl 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 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 boundaryA 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
AcceptanceHealthy 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

Confirmation

Confirm action

Continue?