NAS Fundamentals
Cheat sheet · https://pcornel.dk/topic.php?topic=4123
Answer
NAS works at the file level: clients ask for files and directories by name over NFS or SMB, and the NAS manages the underlying disks and file system — unlike a SAN, which hands out raw block devices.
Remember
- NAS serves files; SAN serves blocks.
- Clients use NFS or SMB.
- NAS manages its own file system.
First checks
showmount -e <nas>— exportsGet-SmbShare— shares (Windows server)df -hT— mounted shares
Verify in this order
client identity → protocol → share → filesystem permissions
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=4123