Storage · Storage Interfaces
NFS
Cheat sheet · https://pcornel.dk/topic.php?topic=3909
Answer
NFS as a storage interface is the Unix and Linux network file-sharing protocol. NFSv3 is stateless and simple, while NFSv4.x adds stateful locking, Kerberos security and a single port (2049).
Remember
- NFSv3 is stateless; NFSv4 is stateful with locking.
- NFSv4 uses one port (2049).
- Kerberos adds security in NFSv4.
First checks
showmount -e <server>— exportsnfsstat -m— client mounts and optionsrpcinfo -p <server>— RPC services
Verify in this order
client → NFS RPC → server → filesystem
Where it usually breaks
First mismatch in media/firmware → device controller → interface/link → host driver → block device → upper storage layer; preserve identity/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=3909