Storage
NAS
Cheat sheet · https://pcornel.dk/topic.php?topic=4122
Answer
NAS (network-attached storage) shares file systems over the network with NFS or SMB, so many clients use the same files with central permissions, quotas, snapshots and backup.
Remember
- Effective access combines share or export rules with file permissions.
- NFS relies on matching user IDs unless Kerberos is used.
- Quotas and snapshots consume volume space.
First checks
showmount -e <nas>— NFS exportssmbclient -L //<nas> -U <user>— SMB sharesdf -h <mount>— client usage
Verify in this order
clients → NFS/SMB → NAS → 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=4122