Pcornel
Storage · Storage Interfaces

NFS

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

Back to the Topic

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> — exports
  • nfsstat -m — client mounts and options
  • rpcinfo -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

Confirmation

Confirm action

Continue?