A NAS is a standalone device or server that stores files and serves them over an ordinary local network. Inside are drives, usually combined into a RAID array, and a system that handles access. A single NAS serves tens or hundreds of clients, so shared documents and backups live in one place instead of on each machine’s own drive.
Inside a NAS
| Component | What it does |
|---|---|
| Network interfaces | Ethernet ports from 1 to 25 Gbit/s, with two links to separate switches for redundancy |
| Controller | the processor and memory that run the file system and access services |
| Drives | HDDs or SSDs, usually combined into RAID: data survives a drive failure |
| Services | NFS and SMB for files, often also FTP, sync and a web admin interface |
File access: NFS and SMB
The client asks not for disk sectors but for file operations: open, read a block, write, lock. The NAS itself checks permissions, so the same folders are visible to Windows machines over SMB and to Linux servers over NFS. This is what sets a NAS apart from a SAN, where the server receives a block volume and runs its own file system on it.
| Protocol | Where it is used |
|---|---|
| NFS | Linux and Unix servers and workstations; virtualisation storage, for example VMware volumes |
| SMB | Windows and shared office folders; Samba exposes the same protocol from a Linux server |
When it is used
- Shared folders and employee home directories in an office.
- A backup target for production servers.
- High-capacity archives: video surveillance, media libraries, database dumps.
- Shared data for small clusters and labs: images, configurations, copies.
A capacity example: in a NAS with four 8 TB drives in RAID 5, one drive goes to parity and 24 TB remain usable. That is enough for an office of a few dozen people to keep shared folders and backups.
Sources
the term is written from these pagesVerified 9 Nov