File Services
Cheat sheet · https://pcornel.dk/topic.php?topic=2881
Answer
Linux file services share directories over the network: NFS for Linux/Unix clients and SMB/CIFS (served by Samba) for Windows and mixed environments.
Remember
Check in order: network and firewall ports, the export/share definition, authentication and ID mapping, then file permissions on the server. Client-side mount options matter (vers=, sec=).
First checks
showmount -e <server> / exportfs -v— NFS exportsfindmnt -t nfs,nfs4,cifs— mounted network sharessmbclient -L //<server> -U <user>— SMB sharestestparm -s— Samba configuration check
Verify in this order
share defined on the server → port reachable → client authenticated → mounted → permissions allow access
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=2881