NFS Client
Cheat sheet · https://pcornel.dk/topic.php?topic=2884
Answer
An NFS client mounts exports with mount -t nfs or /etc/fstab entries (server:/path /mnt nfs4 defaults,_netdev 0 0), or on demand with autofs/systemd automount.
Remember
Use _netdev (and nofail for non-critical mounts) in fstab so boot does not hang. hard mounts wait forever on a dead server; processes stuck in D state point there. Check the negotiated version with nfsstat -m.
First checks
nfsstat -m— mounted NFS optionsshowmount -e <server> / exportfs -v— NFS exportsfindmnt -t nfs,nfs4,cifs— mounted network sharessmbclient -L //<server> -U <user>— SMB sharestestparm -s— Samba configuration check
Commands
mount -t nfs4
Verify in this order
mount requested → server reachable → export permits client → mounted → file access by UID/GID
Where it usually breaks
First mismatch in persistent intent → provider/parser/generator → kernel/userspace runtime → dependency/security context → logs/counters → consumer-visible read-back; preserve identity/native diagnostic/pre-state before mutation.
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=2884