Pcornel
Storage · NAS

File Storage

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

Back to the Topic

Answer

File storage presents data as files in a hierarchy of directories, shared over NFS or SMB with locking and permissions. It suits home directories, team shares and applications that expect a normal file system.

Remember

  • Files are shared with locking and permissions.
  • Good for home directories and team shares.
  • Not ideal for databases needing block latency.

First checks

  • findmnt -t nfs,nfs4,cifs — mounts
  • stat <file> — ownership and mode
  • getfacl <path> / icacls <path> — ACLs

Verify in this order

file request → server permissions → filesystem

Where it usually breaks

First mismatch in client identity/DNS → network transport → protocol session → authentication/authorization → export/share → backend filesystem → file operation; 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=4124

Confirmation

Confirm action

Continue?