Bookmarks

NAS — network-attached storage

Storage attached to an ordinary local network that serves files to many clients over NFS or SMB, rather than block volumes.

Also: NAS device, NAS appliance, network storage

checked 9 Nov

All terms

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

ComponentWhat it does
Network interfacesEthernet ports from 1 to 25 Gbit/s, with two links to separate switches for redundancy
Controllerthe processor and memory that run the file system and access services
DrivesHDDs or SSDs, usually combined into RAID: data survives a drive failure
ServicesNFS 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.

ProtocolWhere it is used
NFSLinux and Unix servers and workstations; virtualisation storage, for example VMware volumes
SMBWindows 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 pages

Verified 9 Nov

Not to be confused with

what it is mixed up with and how it differs

  • SANstorage area network

    A SAN delivers block volumes over a dedicated storage network, a NAS serves ready files over NFS or SMB through an ordinary network.

  • object storage

    Object storage serves objects over an HTTP API and scales horizontally, a NAS serves a file system over NFS and SMB.

In depth in the references

where the topic is covered in detail