Sub topic 18
Network Attached Storage (NAS) Device
A network attached storage (NAS) device is a dedicated computer that shares its disks with other devices over a network. This chapter assumes you know basic PC components, the roles of RAM and storage, and the idea of watts from earlier chapters. It covers what a NAS needs, how its parts shape its power budget, and how the A+ Core 1 exam tests it.
What a NAS Does
A NAS stores files and serves them to many clients at once. Users reach it through a network share, using protocols such as SMB (Windows file sharing) or NFS (common on Linux and Unix). A NAS can also run backups, media streaming, and print services.
A NAS differs from other storage in these ways:
- Direct attached storage (DAS) connects to one computer, for example by USB or SATA. A NAS connects to the network, so many users share it.
- A storage area network (SAN) provides block-level storage to servers. A NAS provides file-level storage to clients.
- A general PC with shared folders can act as a NAS. A purpose-built NAS is tuned for always-on storage with little else running.
Key Hardware Requirements
The exam expects you to match hardware to the role. For a NAS, the priorities are storage capacity, redundancy, and reliable networking. Raw CPU and GPU power matter little.
| Component | NAS requirement | Why |
|---|---|---|
| Drive bays | Several, ideally hot-swappable | A failed drive can be replaced without shutting down |
| Drives | NAS-rated HDDs or SSDs | They are built for 24/7 operation and heavy vibration from neighboring drives |
| RAID | RAID 1, 5, 6, or 10 | Protects data against drive failure |
| Network | Gigabit Ethernet at minimum, with 2.5 or 10 Gb as options | Network speed limits how fast clients read and write |
| CPU | Modest | File serving is not compute-heavy, though RAID parity and encryption add load |
| RAM | Moderate | Used for caching, and more is needed if the NAS runs extra services |
| GPU | None or integrated | A NAS has no display workload |
| Power supply | Reliable, sized for drives and spin-up | Drives are the main load |
| Cooling | Good airflow | Drives run continuously and heat builds up in a tight enclosure |
RAID and Why It Matters
RAID (redundant array of independent disks) combines several drives into one logical unit. The A+ exam focuses on four levels.
| RAID level | Minimum drives | Behavior | Fault tolerance |
|---|---|---|---|
| 0 | 2 | Stripes data across drives for speed | None. One failure loses everything |
| 1 | 2 | Mirrors data on two drives | One drive can fail |
| 5 | 3 | Stripes data with distributed parity | One drive can fail |
| 10 | 4 | Stripes across mirrored pairs | One drive per mirror can fail |
RAID is not a backup. It protects against drive failure, not against deleted files, malware, fire, or theft. A NAS still needs a separate backup copy, ideally off site.
Power Considerations
A NAS is usually always on, so the power supply matters in two ways: how much power it can deliver at start-up, and how much energy it wastes over months of continuous use.
Spin-Up Surge
A spinning hard drive draws much more power while its platters accelerate than while it is running. Spin-up current is drawn mainly from the +12 V rail, which also powers the motor. If a NAS starts with many drives at once, the surges add up. Many NAS units stagger the spin-up of drives to reduce this peak. When you build your own, size the supply for the start-up peak, not only the idle load.
The earlier sizing method still applies. Add the estimated draw of each component, then include headroom. The Python below estimates a four-bay NAS build and models the spin-up peak.
# Estimate PSU size for a 4-bay NAS build (watts)
steady = {
"cpu": 35,
"motherboard": 40,
"ram_2_modules": 10,
"boot_ssd": 5,
"hdd_x4_running": 4 * 8,
"fans": 10,
}
spin_up_per_hdd = 25 # approximate peak per drive while spinning up
drives = 4
steady_total = sum(steady.values())
# At spin-up, replace running draw of the drives with the spin-up draw
spin_up_total = steady_total - steady["hdd_x4_running"] + drives * spin_up_per_hdd
recommended = round(spin_up_total * 1.3) # about 30% headroom
print(f"Steady load: {steady_total} W")
print(f"Spin-up peak: {spin_up_total} W")
print(f"With headroom: {recommended} W")
# Output:
# Steady load: 132 W
# Spin-up peak: 200 W
# With headroom: 260 WThe result is about 260 W. A good 300 to 400 W supply covers this build. Larger supplies exist, but a supply running far below its rated load is often less efficient, so oversizing too much wastes energy in an always-on system.
Efficiency and Running Cost
Because a NAS runs all day, efficiency translates directly into cost. A supply that is 85% efficient and delivers 132 W of DC power draws about 155 W from the wall. The difference is lost as heat. A higher 80 PLUS rating saves a little power every hour and also produces less heat inside the case.
Protecting Against Power Loss
A NAS writes data continuously, so a sudden power loss can corrupt files or break a RAID array. Connect a NAS to a UPS (uninterruptible power supply), not only to a surge protector. Many UPS units can signal the NAS over USB or the network so that it shuts down cleanly before the battery runs out.
Common Configuration Choices
- Home or small office: a two- to four-bay appliance with RAID 1 or RAID 5, gigabit Ethernet, and a small CPU.
- Media server: the same layout, but with a stronger CPU or integrated graphics for transcoding video.
- Small business backup target: more bays, RAID 5 or 6, 10 Gb Ethernet, and a UPS.
- Do-it-yourself NAS: a standard PC case with many drive bays, a low-power CPU, a reliable supply with enough SATA power connectors, and NAS software.
Check connectors when you choose a supply. Each drive needs a SATA power connector or a Molex connector with an adapter. A supply with only two SATA cables can be too short for a six-drive build, and splitters can overload a single cable.
Drive power check for a 6-drive NAS:
SATA power per drive: 1 connector
Six drives need 6 SATA power connectors
Each cable carries +3.3 V, +5 V, +12 V
Spread the drives across several cables instead of one long chainHow the Pieces Fit
The diagram shows how a NAS serves clients and where power and protection fit in.
Troubleshooting Hints
- A drive shows as failed: in RAID 1, 5, or 10, replace it and let the array rebuild. Avoid heavy use during the rebuild.
- The NAS reboots at start-up: the supply may be too small for the spin-up peak. Check the wattage and the +12 V capacity.
- Slow transfers: check the network link speed, cable category, and switch port. A gigabit link tops out near 110 MB/s in practice.
- Drives run hot: check fans and airflow, and give each bay some space.
Exercises
Exercise
A small office wants a shared file store for 10 users. It must keep working if one drive fails, and the office does not need a powerful GPU. Which configuration fits best?
Show answer
A NAS with several drive bays, NAS-rated drives, RAID 1 or RAID 5, gigabit Ethernet, a modest CPU, and no dedicated GPU. Add a UPS and a separate backup.
Exercise
A DIY NAS has four hard drives and reboots every time it powers on, but runs fine once started. What is the likely cause, and what are two fixes?
Show answer
The power supply cannot handle the combined spin-up surge on the +12 V rail. Fix it by installing a supply with a higher wattage and +12 V capacity, or by enabling staggered spin-up in the BIOS or controller, if available.
Exercise
Why is RAID 1 not a replacement for backups?
Show answer
RAID 1 mirrors every change to both drives, so deleted files, corruption, malware, and encryption copy to the mirror. It also does not protect against fire, theft, or controller failure. A separate backup copy does.