Pcornel
Storage · Storage Troubleshooting

NFS Mount Failure

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

Back to the Topic

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 mount
  • showmount -e <srv> — exports
  • rpcinfo -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.mount
journalctl -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 boundaryWhat to verifyProof limit
Scope / identityExact workload, object/device identity, affected hosts and incident windowSymptom naming alone is not root-cause proof
Dependency pathClient mount request → DNS/IP path → NFS service/version → export policy → mount/state → identity/permissions → server filesystem → backendHealthy adjacent layers do not prove end-to-end health
Failure boundaryA 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
AcceptanceHealthy 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

Confirmation

Confirm action

Continue?