The first time I built a NAS, I bought four 4 TB drives, configured RAID 5, and told everyone my data was safe. Two years later, a drive failed during a rebuild, a second drive threw unreadable sectors, and I lost every photo I'd taken for a decade. The kicker: I'd been calling it a "backup." It wasn't. RAID is not a backup. It's uptime. The lesson I learned the hard way is the one this article exists to teach: a NAS is the easy part. The architecture around it - what's a vdev, what's a dataset, what gets snapshotted, what gets replicated off-site, what gets encrypted - is the part that actually protects your data.
TrueNAS is the storage operating system from iXsystems. It used to be called FreeNAS; in 2020 it split into TrueNAS Core (FreeBSD-based, the continuation of FreeNAS) and TrueNAS SCALE (Debian Linux-based, the newer path with Kubernetes-native app support). Both run OpenZFS underneath, and both are free. If you're starting fresh in 2024+, SCALE is the better bet - same ZFS, modern Linux under the hood, container-native apps, and the migration story from Core is improving. This article assumes SCALE, but the ZFS fundamentals apply to both.
This is the article I wish I'd had before I lost those photos.
What TrueNAS Actually Is (and What ZFS Brings)
TrueNAS is a web-managed OS that wraps OpenZFS. ZFS is the file system that does what every other file system bolted on as afterthoughts: checksums on every block, copy-on-write snapshots, end-to-end data integrity, software RAID that doesn't lie to you about rebuild status, and inline compression that actually saves space without slowing you down. If you've ever run mdadm and wondered whether the array was actually consistent, ZFS is the answer.
The mental model that matters: ZFS has pools, which contain vdevs, which contain disks. A vdev is the unit of redundancy - a mirror of two disks, a RAIDZ1 of three disks, etc. A pool is one or more vdevs concatenated. If any single vdev fails, the pool fails. Inside the pool, you create datasets, which are like sub-filesystems with their own properties (compression, quota, snapshot schedule, encryption key). A snapshot is taken per-dataset. Replication is per-dataset. This matters: a 50 TB pool with one giant dataset means every snapshot touches everything. Split into 20 datasets and you can snapshot, replicate, and restore per-project.
| Feature | ZFS (TrueNAS) | mdadm+ext4 | Synology DSM | unRAID |
|---|---|---|---|---|
| Checksums | Per-block, end-to-end | None | Btrfs optional | None |
| Snapshots | Atomic, instant, copy-on-write | No | Btrfs only | No |
| Bitrot detection | Yes, auto-heals | No | Btrfs only | No |
| Mixed disk sizes | RAIDZ OK, mirrors great | No | Limited | Yes |
| Rebuild time | Minutes (snapshots) to hours | Hours-days | Hours | Hours |
| Cost | Free | Free | Appliance | Paid |
ZFS isn't free of tradeoffs. It wants ECC RAM (more on this below). It's picky about disk controllers - RAID controllers in HBA mode, not hardware RAID. And it has a write hole failure mode on RAIDZ5-equivalent configs that mirrors don't have. None of these are dealbreakers; they're the things you need to know before you build.
Prerequisites: Hardware That Won't Kill Your Pool
Three hardware decisions matter, and getting any of them wrong is the most common cause of pool loss.
RAM: ZFS caches aggressively in ARC (Adaptive Replacement Cache). The rule of thumb is 1 GB RAM per 1 TB of raw storage, with a minimum of 8 GB. ECC RAM is strongly recommended - not because ZFS requires it (it doesn't), but because ZFS caches file data in RAM and a single bit flip in RAM can corrupt a block that gets written back to disk. With ECC, the flip is detected and the system halts. Without ECC, the flip is silently written and you only discover it when ZFS reports a checksum mismatch years later. For homelab use, non-ECC is acceptable but understand the risk. For production, ECC is non-negotiable.
Disk controller: Use an HBA (Host Bus Adapter) in IT mode, not a hardware RAID controller. ZFS wants direct access to each disk; if a RAID controller intercepts, ZFS can't see disk failures, can't run SMART properly, and rebuilds can fail silently. The gold-standard homelab HBAs are LSI 9211-8i, 9207-8i, or 9300-8i flashed to IT-mode firmware. eBay is full of them for $30-50. Avoid Broadcom MegaRAID and PERC cards unless you can flash them to IT mode.
Disks: Use NAS-grade or enterprise drives (Seagate IronWolf, WD Red Plus/Pro, Toshiba N300, or enterprise refurb). Avoid SMR (shingled magnetic recording) drives - they have terrible sustained write performance and cause ZFS resilver times to balloon to days. WD Red (non-Pro, non-Plus) used to be SMR and caused a scandal in 2020. Check the model number before buying; the SMR list changes. SSDs are great for L2ARC and SLOG (more on these later) but expensive for bulk storage.
A note on SLOG / ZIL: the ZFS Intent Log is where synchronous writes land before they're committed to the main pool. A fast SLOG device (NVMe, ideally with power-loss protection) dramatically improves sync-write performance for workloads like iSCSI targets and NFS for databases. If you're serving SMB for home media, you don't need one. If you're running VMs on iSCSI over TrueNAS, you do.
Architecture: Pools, Vdevs, Datasets
CodeCopy ┌─────────────────────────────────────────────────────────────────┐
│ POOL: tank │
│ ┌──────────────────┐ ┌──────────────────┐ ┌──────────────┐ │
│ │ vdev: mirror-0 │ │ vdev: mirror-1 │ │ log vdev │ │
│ │ ┌────┐ ┌────┐ │ │ ┌────┐ ┌────┐ │ │ (NVMe SLOG) │ │
│ │ │dsk1│ │dsk2│ │ │ │dsk3│ │dsk4│ │ │ │ │
│ │ └────┘ └────┘ │ │ └────┘ └────┘ │ └──────────────┘ │
│ └──────────────────┘ └──────────────────┘ │
│ ┌──────────────────────────────────────────────────────────┐ │
│ │ cache vdev: NVMe L2ARC (read cache, optional) │ │
│ └──────────────────────────────────────────────────────────┘ │
│ │
│ DATASETS: │
│ tank/media (compression=lz4, quota=20T) │
│ tank/photos (compression=lz4, snapshots=hourly) │
│ tank/backups (compression=zstd-19) │
│ tank/vms (sync=always, recordsize=16K) │
└─────────────────────────────────────────────────────────────────┘
The key insight: a pool is the storage container, vdevs are the redundancy units, datasets are the management units. You can add vdevs to a pool (so a 4-disk mirror pool can grow to a 6-disk mirror pool), but you cannot add disks to an existing vdev (a 2-disk mirror can't become a 3-disk mirror; you'd have to back up, destroy, and recreate). Plan capacity up front, or accept that expansion means adding new vdevs.
RAIDZ vs Mirrors: The Decision That Matters
When you create a pool, you pick a vdev layout. The choice is between mirrors (2-3 disks per vdev, N-1 or N-2 disks of redundancy per vdev) and RAIDZ (1/2/3 parity disks across N disks). The tradeoff:
| Layout | Capacity (4×16TB disks) | Fault tolerance | Rebuild time | Read perf | Write perf | When to use |
|---|---|---|---|---|---|---|
| Mirror×2 (RAID10) | 32 TB | 1 disk per vdev | Hours | Excellent | Excellent | VMs, databases, IOPS-heavy |
| RAIDZ1 | 48 TB | 1 disk | 12-24h | Good | Fair | Bulk storage, 3-5 disks |
| RAIDZ2 | 32 TB | 2 disks | 18-36h | Good | Fair | Bulk storage, 4-6 disks |
| RAIDZ3 | 16 TB | 3 disks | 24-48h | Fair | Poor | Archive, 6+ disks |
Rules of thumb I follow:
- For VMs, databases, or anything IOPS-sensitive: mirrors. Mirrors give you the read/write performance of single disks with redundancy. Rebuilds are fast (copy from one disk).
- For bulk media (4+ TB disks, mostly sequential reads): RAIDZ2. Two disks of parity, no write hole, good capacity.
- For archive/cold storage: RAIDZ3 on 8+ disks. Maximum safety.
- Never RAIDZ1 with disks >4 TB. Rebuild times exceed the statistical probability of a second failure during rebuild.
- Avoid RAIDZ with mixed disk sizes. RAIDZ stripes across disks, so the smallest disk limits capacity for all. Mirrors handle mixed sizes better.
A practical example: 6× 14 TB disks. Options:
- 3× mirror pairs: 42 TB usable, 3 disks of redundancy (1 per pair), excellent perf, fast rebuilds. My pick for most homelabs and small businesses.
- RAIDZ2: 56 TB usable, 2 disks of redundancy, slower perf, slower rebuilds. Pick if you need the capacity and can accept the perf hit.
- RAIDZ1: 70 TB usable, 1 disk of redundancy. Don't. Too risky at this disk size.
Installation: Bare Metal or Virtualization?
Bare metal is the supported path. TrueNAS SCALE is an appliance OS; install it on the NAS hardware directly, boot from a small SSD (16 GB minimum, 32+ recommended for logs and system dataset), and run the OS from there. Don't boot from a USB stick anymore - the old FreeNAS guidance was "boot from USB," but SCALE writes more and USB sticks die fast.
Download the ISO from truenas.com, flash it to a USB installer with dd or Rufus/Etcher, and boot the NAS from it. The installer walks you through disk selection for the boot pool, network setup, and root password. After install, the web UI is at http://<nas-ip>.
Virtualization works but adds complexity and risk. If you virtualize (Proxmox, ESXi), pass the HBA through to the TrueNAS VM with PCIe passthrough - do not present virtual disks to TrueNAS. ZFS wants the raw disks. If you virtualize, the failure modes include: host reboots killing ZFS writes mid-transaction, virtual disk abstraction hiding SMART data, and snapshots on the hypervisor conflicting with ZFS snapshots. The advice I give to anyone who'll listen: if you can afford bare metal, do bare metal. Virtualization is acceptable but document the risk.
First Boot: Configuration Checklist
After install, before you do anything else, configure these things:
- Network: set a static IP. Pools replicate by IP; if your NAS DHCP-leases a different IP tomorrow, your replication jobs and SMB mounts break. Settings → Network → Edit → uncheck DHCP, set IPv4 address, gateway, DNS.
- DNS and hostname: set a real hostname (
nas01.example.com) so certificates and replication targets make sense. - Time sync: enable NTP. Snapshots and replication are time-sensitive; clock drift causes replication to skip snapshots.
- Email alerts: configure SMTP under System Settings → Alert Settings → Email. You want to know the instant a drive fails or a scrub finds errors.
- Update: System Settings → Update. Patch before you put real data on the box.
- Change default password: if you used a weak password during install, change it now.
- Enable SSH: only if you need it, and only with key auth. Most TrueNAS admin is via the web UI; SSH is for the rare troubleshooting session.
Then, before you create your pool, check that all your disks are visible: Storage → Create Pool → wait for the disk list to populate. If disks are missing, your HBA isn't in IT mode or a cable is loose. Fix that first.
Pool Creation
In the web UI: Storage → Create Pool. Give it a name (lowercase, no spaces, e.g., tank), select the disks, and choose the vdev layout.
For our 6× 14 TB example, drag the disks into 3 mirror pairs:
CodeCopy
plaintext
Pool: tank
├── vdev 0: mirror [disk1, disk2]
├── vdev 1: mirror [disk3, disk4]
└── vdev 2: mirror [disk5, disk6]
plaintext
Set Encryption if you want at-rest encryption (more on this below). For most setups, leave it off initially - you can encrypt later. For the ALUA setting, leave it on for iSCSI workloads.
Click Create. The pool will be created and resilvered (for a new pool, this is instant). You now have a pool. Don't put data on it yet - first, set the dataset properties that matter:
BashCopy
shell
Via SSH on the NAS, for fine-grained control
zfs set compression=lz4 tank
zfs set atime=off tank # don't update access times, big perf win
zfs set xattr=sa tank # store extended attrs in system attr, not hidden files
zfs set recordsize=1M tank/media # large records for media, 128K default is fine
markdown
compression=lz4 is essentially free - LZ4 is fast enough that the CPU savings from writing less data often exceed the compression CPU cost. Always enable it. For data that compresses well and is rarely read (backups), compression=zstd-19 saves more space at higher CPU cost. For data that doesn't compress (already-compressed video), compression=off is fine but lz4 detects incompressible data and skips it, so leaving it on costs nothing.
Datasets: The Management Boundary
A dataset is the unit of policy. Compression, snapshots, quotas, replication, encryption, SMB share - all set per dataset. The pattern I use:
CodeCopy
plaintext
tank/
├── media # movies, TV, music; large files, lz4, no quota
├── photos # family photos; lz4, hourly snapshots, replicated offsite
├── backups # rsync/restic targets; zstd-19, daily snapshots
├── documents # household docs; lz4, hourly snapshots, replicated offsite
├── vms # VM disks via iSCSI; recordsize=16K, sync=always
├── docker # container volumes; recordsize=64K
└── scratch # temporary stuff; no snapshots, no quota
plaintext
Create a dataset: Datasets → tank → Add Dataset. Set Name, then under Advanced Options set:
- Record size: 1M for media (large sequential), 16K for databases/VMs, 128K default for general use. Mismatched record size is a major perf killer for databases.
- Compression: lz4 default, zstd-19 for backups.
- Quota: hard cap on dataset size. Prevents one dataset from filling the pool.
- Sync:
standard(default),always(honor sync writes, use SLOG),disabled(ignore sync writes, fastest but unsafe for databases). - ACL Mode:
restricted(POSIX, default for SCALE) orpassthrough(better SMB compatibility).
Per-dataset snapshots and replication are where TrueNAS earns its keep. Set up a Periodic Snapshot Task for each dataset:
CodeCopy
plaintext
Tasks → Periodic Snapshot Tasks → Add
Dataset: tank/photos
Snapshot Lifetime: 7 days (keep 7 daily)
Naming Schema: auto-%Y-%m-%d_%H-%M
Schedule: Daily at 02:00
markdown
Add another for hourly snapshots with a 24-hour lifetime. Add another for weekly with a 52-week lifetime. This gives you 24 hourly, 7 daily, 52 weekly snapshots - granular recovery for recent accidents, long-term recovery for the "I deleted this six months ago" case. Snapshots are instant and consume space only for changed blocks, so this costs almost nothing.
SMB and NFS Sharing
SMB for Windows and macOS clients, NFS for Linux. To share a dataset over SMB: Shares → Windows (SMB) Shares → Add. Select the dataset path, set a share name, and click Save. The default settings work for most cases; click Advanced if you need to set host allowlists or enable SMB encryption.
For macOS Time Machine backups, enable the "Time Machine" toggle on the share and set the dataset's quota - Time Machine will fill all available space if you let it.
For NFS, Shares → Unix (NFS) Shares → Add. Set the path, allowed hosts, and permissions. NFS is simpler than SMB and faster for Linux clients, but lacks the Windows/Mac integration. Use NFS for VM storage (Proxmox, libvirt) and SMB for user file shares.
Permissions are the gotcha. TrueNAS SCALE uses POSIX ACLs by default; if you're migrating from Core (which used NFSv4 ACLs), behavior differs. For a mixed Windows/Linux environment, set the dataset's ACL Mode to "Restricted" and manage via the TrueNAS ACL editor - manual chmod/chown fights with TrueNAS's ACL management.
For iSCSI (block storage for VMs), the pattern is: create a zvol (a block device carved from the pool, not a dataset), then share it over iSCSI. zvols have their own properties (volblocksize matters - 16K for VMs, 4K for databases). iSCSI is the right answer for VM disks on TrueNAS, not NFS, because iSCSI gives you TRIM/UNMAP and better sync write performance.
Replication: The Off-Site Part That Actually Saves You
Snapshots protect against accidental deletion and corruption. They do not protect against the NAS catching fire. For that, you need replication - streaming snapshots to a second TrueNAS system (or to a remote ZFS host, or to a cloud target).
TrueNAS SCALE has a built-in Replication engine: Data Protection → Replication Tasks → Add. Source is local pool, destination is a remote system (you set up an SSH connection first under Credentials → Backup Credentials → SSH Connections).
For a typical 2-NAS setup (primary in the office, secondary at home):
CodeCopy
plaintext
Primary (office) ──ssh──> Secondary (home)
tank/photos tank/replicated/photos
snapshot auto-2024-* (streamed snapshots)
snapshot weekly-2024-*
Configure replication as "Run automatically" with a schedule that runs after your snapshot task. The replication only sends the delta between snapshots, so a 5 TB dataset that's mostly static sends a few MB per day.
For off-site when you don't have a second NAS, TrueNAS Cloud Sync (Tasks → Cloud Sync Tasks) pushes to S3/B2/GCS/OneDrive. Cloud Sync is not ZFS-native - it copies files, not snapshots - so you lose the snapshot history and ZFS compression. For real backup, use replication to a remote ZFS host. For "I want my photos in the cloud too, just in case," Cloud Sync is fine.
A pattern I use for clients with no second NAS: rent a cheap VPS with enough storage (Hetzner Storage Box, B2 with rclone mount), set up ZFS on the VPS, and replicate to it. The bandwidth cost is real but the data integrity is bulletproof.
Encryption
TrueNAS supports two encryption modes: raw (zfs-native encryption, dataset-level keys) and pool-level (less flexible, hardware key management). For most setups, raw encryption per sensitive dataset is the right answer.
Create an encrypted dataset: Datasets → Add Dataset → Advanced → Encryption: "Active". You'll get a key (download it - store it in a password manager, not on the NAS). When the NAS reboots, the dataset's key must be loaded before the data is accessible. This is the model: the NAS boots, the encrypted datasets are unmounted, and an admin must enter the key (or load it from a key file) before anyone can read them.
The threat model: encryption protects against physical theft of the disks. It does not protect against the running NAS - once the key is loaded, files are readable. If your threat model is "someone breaks in and steals the running NAS," encryption won't help unless you also have a key-escrow setup that requires manual unlock after reboot.
Important caveats:
- Snapshots of encrypted datasets are encrypted at rest.
- Replication: if you replicate an encrypted dataset to a remote host, the remote host needs the key (or you re-encrypt on the remote).
- If you lose the key, the data is gone. There's no recovery. Use a key manager (HashiCorp Vault, AWS KMS) for production.
- Don't encrypt the boot pool. There's a "re-key on boot" feature but it complicates recovery.
Monitoring: SMART, Scrubs, and Alerts
Three monitoring tasks are non-optional:
SMART tests scheduled weekly (short test) and monthly (long test). Tasks → S.M.A.R.T. Tests → Add. Set the schedule; TrueNAS runs smartctl against each disk and emails you on failure. A failing disk reports reallocated sectors long before it dies.
Scrubs scheduled monthly. Storage → Pools → ⋮ → Scrub, or schedule via Tasks → Scrub Tasks. A scrub reads every block, verifies the checksum, and self-heals any block with a mismatched checksum (using redundancy). This is how ZFS catches silent corruption - bit rot, cosmic rays, controller errors. A scrub on a 50 TB pool takes 4-12 hours depending on disk speed and load; schedule it overnight.
Alerts configured for: disk failures, scrub errors, SMART failures, pool capacity > 80%, replication failures, and certificate expiry. System Settings → Alert Settings. Wire these to email or Slack (via webhook). If your NAS emails you "scrub found 0 errors" monthly, you have a healthy NAS. If it emails you "scrub found errors," stop and investigate - that's the early warning before a disk dies.
For deeper monitoring, enable SNMP (Network → Global Configuration) and point Prometheus at it. The truenas_exporter community project exposes per-disk SMART, pool status, and replication status as metrics.
Common Mistakes (and How to Spot Them)
Using RAIDZ1 with 8+ TB disks. Symptom: a disk fails, resilver runs for 36 hours, a second disk fails during resilver, pool is gone. Fix: use RAIDZ2 or mirrors for any disk > 4 TB.
No off-site replication. Symptom: house fire, both NAS and backups gone. Fix: replicate to a remote ZFS host or use Cloud Sync to a cloud bucket. The 3-2-1 rule: 3 copies, 2 media, 1 off-site.
Boot pool on a USB stick. Symptom: TrueNAS SCALE boots slowly, system dataset writes corrupt the stick, OS dies. Fix: use a small SSD (32 GB+) for the boot pool.
Hardware RAID controller, not HBA. Symptom: SMART errors don't surface, ZFS can't see individual disk failures, resilver fails. Fix: flash the controller to IT mode or replace it with a real HBA.
One giant dataset, no per-project splits. Symptom: a snapshot of "tank" takes a snapshot of everything; a single ransomware infection or accidental rm -rf destroys all data. Fix: split into per-project datasets with separate snapshot schedules and quotas.
Sync writes without a SLOG. Symptom: iSCSI VM storage is slow, sync writes are serialized. Fix: add a small NVMe SLOG device (16 GB is enough) and the pool's sync writes go to SLOG first, then to the main pool asynchronously.
Trusting snapshots to be backups. Symptom: NAS dies, you realize snapshots were on the same NAS. Fix: snapshots are not backups; they're the fast-recovery layer. Replicate to a second system for the actual backup.
Troubleshooting, From Real Production
"Pool is DEGRADED, one disk is UNAVAIL". A disk dropped. Storage → Pools → click the pool, look at the vdev status. If it's a single disk failure in a mirror or RAIDZ2, you can keep running but should replace immediately. Offline the failed disk, physically replace it, then in the UI: Offline → Replace → select the new disk. The resilver starts automatically.
"Scrub found checksum errors". The pool self-healed, but it found corruption. Run zpool events and zpool status -v to see which files were affected. If errors are accumulating on a single disk, that disk is failing - replace it. If errors are spread across disks, suspect the controller or cables.
"Replication task failed: snapshot does not exist". The remote side is missing a snapshot that the local side thinks it has. Usually a network blip during a previous replication. Force-resync: delete the most recent snapshots on the remote and let replication re-send, or use the "Resync" option in the replication task UI.
"SMB share is slow on macOS". macOS's SMB client is notoriously slow with the default settings. Disable "Spotlight indexing" on the share, enable "SMB3 multichannel" (Network → Advanced), and on macOS run sysctl net.smb.tcp.cc_slow_start_max=1 to work around a macOS TCP slow-start bug.
"Pool is 95% full and performance tanked". ZFS copy-on-write behaves badly when the pool is > 80% full - fragmentation explodes, write amplification increases. Delete data, expand the pool, or set per-dataset quotas to prevent recurrence. Never let a ZFS pool exceed 90%; it can become effectively unwritable.
Production Considerations
Capacity planning: plan for 80% full. If you expect 30 TB of data, build 40 TB of usable capacity. Build for expansion: leave drive bays empty so you can add vdevs later without rebuilding.
Performance: match recordsize to workload. Databases and VMs want 16K; media wants 1M; general file shares are fine at 128K. Mismatched recordsize is the #1 cause of "ZFS is slow" complaints.
Networking: 1 GbE maxes out at ~110 MB/s, which is the bottleneck for most home NAS use. 10 GbE (or 2.5 GbE) is cheap now and worth it. Bond two NICs with LACP for redundancy, not throughput - LACP doesn't double single-connection bandwidth.
Backups: snapshot locally for fast recovery, replicate off-site for disaster recovery, and periodically test restore by restoring a snapshot to a test dataset and verifying file integrity. A backup you've never restored is a hypothesis.
Security: keep TrueNAS patched. Restrict SMB to known hosts. Use SSH keys, disable password auth. Don't expose the web UI to the internet - VPN in. Enable 2FA on the admin account.
Power: UPS is non-optional. A UPS with USB connection to TrueNAS lets it trigger a clean shutdown on power loss, which prevents ZFS pool corruption from sudden power cuts. Set the UPS shutdown threshold at 30% battery.
Cost Considerations
| Scale | Hardware | Disks | Total |
|---|---|---|---|
| Homelab (20 TB usable) | Mini-ITX, 4-bay, 16 GB RAM | 4× 8 TB WD Red Plus | ~$900 |
| Small office (50 TB usable) | 8-bay Supermicro, 32 GB ECC | 6× 14 TB + 2× SSD cache | ~$2,500 |
| Mid-size (150 TB usable) | 12-bay server, 64 GB ECC | 12× 16 TB in 6 mirror pairs | ~$6,000 |
| Enterprise (500 TB usable) | 24-bay JBOD, 128 GB ECC | 24× 22 TB + NVMe SLOG/L2ARC | ~$18,000 |
Used enterprise gear is the homelab cheat code: a Supermicro server with Xeon, 64 GB ECC, and 12 hot-swap bays is $400-800 on eBay. Add disks and you have a $6,000 NAS for $1,500. Caveat: power consumption - older Xeons idle at 80-120W. Newer hardware (Atom C3758, EPYC embedded) idles at 20-40W; for 24/7 operation, the power savings matter.
Cloud storage for off-site: B2 at $6/TB/month is the cheapest reliable option. For 5 TB replicated off-site, that's $30/month. Glacier Deep Archive at $1/TB/month is cheaper but the restore time (12 hours) and restore cost ($90/TB egress) make it impractical for anything you'd actually need to recover quickly.
Alternatives
| Tool | License | Strength | Weakness | Best for |
|---|---|---|---|---|
| TrueNAS SCALE | Free | ZFS, apps, polished UI | Hardware picky | Homelab/SMB NAS |
| TrueNAS Core | Free | Mature, FreeBSD | Apps are jails not containers | Existing FreeBSD users |
| unRAID | Paid ($36-129) | Mixed disk sizes, parity+data | ReiserFS/XFS, no ZFS | Mixed-size homelab |
| Synology DSM | Appliance | Polished, easy | Closed, Btrfs not ZFS | "I just want it to work" |
| XigmaNAS | Free | FreeBSD, ZFS | Bare UI | Tinkerers |
| Proxmox + ZFS | Free | Combine VM host + NAS | You manage ZFS yourself | Power users |
| Plain Linux + ZFS | Free | Full control | You manage everything | Linux experts |
The choice I recommend: TrueNAS SCALE for most people who want a NAS. Synology for people who want zero maintenance. Proxmox + ZFS for people who want to run VMs and NAS on the same box and don't mind CLI ZFS.
Real-World Use Cases
- Home media + photos: 6-bay NAS with 4× 14 TB in RAIDZ2 for media, 2× 4 TB mirror for family photos with hourly snapshots replicated to a remote B2 bucket. Time Machine target over SMB for Mac backups.
- Small office file server: 8-bay NAS with 6× 12 TB in RAIDZ2 + 2× NVMe SLOG. SMB shares per department, NFS for the Linux engineering team, daily snapshots with 90-day retention, weekly replication to a remote office.
- VMware/Proxmox shared storage: 12-bay NAS with 10× 16 TB in 5 mirror pairs + 2× NVMe SLOG/L2ARC. iSCSI targets per VM host, 16K volblocksize, sync=always, scrubs monthly, replication nightly.
- Backup target for fleet: 24-bay NAS as a restic/borg target for 50 servers. zstd-19 compression, per-client datasets with quotas, snapshots retained 90 days, Cloud Sync to B2 nightly for off-site.
Conclusion
TrueNAS is the most accessible way to run ZFS, and ZFS is the file system that takes data integrity seriously. The patterns that keep your data safe are the ones nobody tells you about until after you've lost something: pick your vdev layout for your workload, split into per-purpose datasets, snapshot aggressively, replicate off-site, scrub monthly, test your restores. The hardware matters - ECC RAM, HBA in IT mode, NAS-grade disks, a UPS - but the architecture matters more. Get the architecture right and TrueNAS will outlast the disks you put in it. Get it wrong and you'll have an expensive lesson about why "RAID is not a backup."
Originally published on Mango Developer.



