Sub topic 17
Network Attached Storage (NAS) Device
This chapter assumes you know PSU sizing, SATA power connectors, and basic RAID terms. A NAS is a custom build whose main job is to serve files over the network, so the hardware choices follow from that job.
What a NAS Needs
A network attached storage (NAS) device is a dedicated computer that shares storage with other devices over a network. Clients reach it through file-sharing protocols such as SMB or NFS. It usually runs without a monitor and is managed from a web page.
The CompTIA A+ objectives list these requirements for a NAS:
- Media streaming capability
- File sharing capability
- RAID array
- Gigabit or faster NIC
- Hot-swappable drive bays
| Requirement | Why it matters |
|---|---|
| RAID array | Protects data from a single drive failure (RAID 1, 5, 6, or 10) |
| Gigabit or faster NIC | The network is the bottleneck, so 1 Gbps is the minimum |
| Hot-swappable bays | A failed drive can be replaced without powering down |
| File sharing | Provides central storage for users and backups |
| Media streaming | Serves video and music to TVs and phones |
The CPU and RAM can be modest. A NAS does little processing, so storage and network speed matter more than a fast processor or a GPU.
Power Considerations
A NAS runs around the clock, so power draw and heat matter. Each hard drive needs +5 V and +12 V from a SATA power or Molex connector. The +12 V rail also spins the drive motors, and the spin-up draw is much higher than the idle draw.
Sizing a NAS PSU follows the same method as other builds. This example adds up the drive load.
# NAS power estimate (watts)
components = {
"cpu": 35,
"motherboard": 40,
"ram_2_modules": 10,
"hdd_x4": 40, # about 10 W each
"fans": 10,
}
total = sum(components.values())
recommended = round(total * 1.3) # about 30% headroom
print(f"Estimated load: {total} W")
print(f"With headroom: {recommended} W")
# Output:
# Estimated load: 135 W
# With headroom: 176 WA small PSU is enough here, but check that it has enough SATA connectors for every drive. A semi-modular or modular unit lets you attach only the cables you need. An efficient PSU (80 PLUS Bronze or better) lowers the electricity cost of a machine that never turns off.
Common Mistakes
- Choosing a fast GPU or CPU for a NAS. This wastes money and power.
- Using a 100 Mbps NIC. Streaming and backups will be slow.
- Treating RAID as a backup. RAID survives a drive failure but not deletion, malware, or fire.
- Buying a PSU with too few SATA connectors.
Exercise
A user wants a home file server that streams video to several TVs and keeps working if one drive fails, and a failed drive must be replaceable without shutting the server down. List the NAS features you would specify.
Show answer
A RAID array (such as RAID 5 or RAID 1) for drive-failure protection, hot-swappable drive bays so a failed drive can be replaced while running, a gigabit or faster NIC for streaming and file sharing, and media streaming and file sharing software. A modest CPU is enough.
Exercise
Why is RAID not a substitute for backup on a NAS?
Show answer
RAID only keeps the array running after a drive failure. It does not protect against accidental deletion, malware, controller failure, or a disaster such as fire, because those changes or losses affect all drives. A separate backup is still needed.