← back to projects
PROJ-009
completed

Homelab: NAS
& Media Server

hardware software homelab storage

A home NAS and media server running TrueNAS SCALE on ZFS, built around used enterprise SAS drives. It serves file storage over SMB and runs Jellyfin for the TV, phone, and other devices.

Hardware

A Gigabyte A520M S2H motherboard with a Ryzen 3 4100, 16GB of DDR4, a 650W power supply, and a 500GB NVMe drive for the OS. Storage is four HGST Ultrastar 7K4000 drives: 4TB, 7200 RPM, 3.5" SAS.

Why SAS

The A520M S2H only has a few SATA ports, and the drives are SAS anyway, so all of the storage hangs off a Broadcom/LSI SAS2308-based HBA card instead of the motherboard. The HBA runs in IT mode so ZFS gets raw passthrough to every disk. The 7K4000s are 512n sector drives, which play well with ZFS.

Enterprise SAS drives are rated for 24/7 use, but these are likely used pulls, so every drive's SMART data (power-on hours, reallocated sectors, pending sectors) got checked before it went into the array. They all looked fine. SAS drives also run hotter and louder than consumer NAS drives, so case airflow matters more than on a typical build.

Storage

One main ZFS pool, laid out as RAIDZ1: a single vdev of all four 4TB drives, so the pool can lose any one drive without losing data. It holds the SMB file share, a dedicated media dataset for Jellyfin, and Jellyfin's app storage.

The last scrub, on September 6, 2026, came back with 0 errors.

Media

Jellyfin runs as a TrueNAS SCALE app from the Apps catalog, not a hand-rolled Docker container. It streams to a Samsung TV through the Jellyfin app, plus phones and browsers.

Next Up

Remote access. The goal is Tailscale on the NAS, so storage and media are reachable from outside the house. That part hasn't happened yet.

A local domain name for Jellyfin, so clients don't need an IP address and port. Options on the table: a DNS override on the router, Pi-hole or AdGuard Home running as an app, or a reverse proxy.

photos & progress

[img]
photo coming soon
[img]
photo coming soon
[img]
photo coming soon