Skip to content

NAS — TrueNAS on ZimaBoard 2

Hardware

Component Specification
Board ZimaBoard 2 (Intel N150, 16GB RAM, 64GB eMMC boot)
Drives 2× Seagate IronWolf 6TB
Pool ZFS mirror (one drive can fail with no data loss)
Encryption Native ZFS, AES-256-GCM, keyfile kept in a password manager
OS TrueNAS Community Edition 25.10
Network Management VLAN, NFS to Proxmox, SMB to workstations

History: the first NAS was a Raspberry Pi 5 with a Radxa SATA HAT running OpenMediaVault 7 (4× SSD in RAID 5). It worked — after a power supply surprise — but RAID 5 on small SSDs, an SD-card boot drive and no checksumming made it the weakest link. ZFS fixes all three.

Why ZFS?

 Your file ──► ZFS block + checksum ──► written to BOTH disks
                         │
       On read: checksum doesn't match on disk A?
                         │
                         └──► read disk B, repair disk A automatically
  • Checksums catch silent corruption ("bit rot") that hardware RAID never notices
  • Snapshots are instant and nearly free — ransomware or a bad rm is a rollback, not a disaster
  • Native encryption per dataset, so drives that leave the house are unreadable
  • Scrubs read every block on a schedule and repair from the good copy

Datasets

Each kind of data gets its own dataset, so it can have its own snapshot schedule, permissions and offsite policy:

Dataset Used by Snapshots
media Jellyfin (NFS) none — it can be re-downloaded
surveillance Frigate recordings (NFS) none — Frigate manages retention
photos Immich library (NFS) hourly + daily
documents SMB share hourly → daily → weekly ladder
backups Proxmox vzdump, firewall config daily

Permissions That Matter

  • One user ID everywhere. The SMB user and the containers that read media all use the same UID/GID (1000/100). Mismatched IDs are the #1 cause of "permission denied" between NAS and containers.
  • Hardlinks need one export. Download and library folders must live in the same dataset and NFS export, or "moving" a file becomes a full copy that doubles disk use.
  • Don't mix ACL types between a share and its child dataset. Creating a child dataset with POSIX ACLs under an NFSv4 share raises a critical SMB alert. Keep the child the same type as its parent.
  • NFS into LXCs: mount NFS on the Proxmox host first, then bind-mount into the container.

Health & Alerting

Check Schedule
Scrub Weekly (Sunday), 35-day threshold
SMART short test Weekly
SMART long test Monthly
Alerts TrueNAS alert service → ntfy topic alerts-nas
Metrics TrueNAS Graphite → graphite-exporter → Prometheus

25.10 gotcha: the UI scheduler for SMART tests was removed — schedule them as cron jobs instead. The legacy REST API is also going away (removed in 26.04); scripts that poll TrueNAS should move to the JSON-RPC WebSocket API.

Accounts for Machines

The firewall backs up its config here over SFTP using its own account: key-only, no SMB, no admin, no sudo, home directory locked to 700.

Gotcha: on TrueNAS, giving an SFTP-only user a nologin or rbash shell breaks SFTP. Use a normal shell and restrict the account in every other way.

Offsite

The important datasets are copied offsite every night, encrypted before they leave the house. See Backups.

Known Limits

  • No ECC RAM (hardware limit of the board)
  • No UPS yet