How to Set Up TrueNAS Scale as a Home NAS

TrueNAS Scale turns a spare PC into a network storage box that serves files to every device in the house, runs apps, and protects your data with snapshots. To set up TrueNAS Scale as a home NAS you need a machine with enough drive bays, a USB stick for the installer, and about an hour. This guide covers the install, your first storage pool, shares, and the settings that matter on day one.

TrueNAS Scale is free and open source, built on Linux and the ZFS file system. ZFS checks your data for silent corruption, lets you take snapshots you can roll back to, and grows by adding drives. Those features are the reason people pick TrueNAS over a plain file share, and they are also the reason the first setup deserves care: a pool built wrong is annoying to fix later. A truenas scale home nas is the cheapest way to get ZFS at home, and this truenas scale setup guide keeps the home nas setup simple: two data drives, one pool, and shares that work from every device in the house.

What TrueNAS Scale is (and is not)

TrueNAS Scale is a storage operating system first and an app platform second. It stores files, shares them over the network, and runs containers for services like media servers and backup tools. It is not a general-purpose desktop OS, and it is not a hypervisor for running many virtual machines, though it can run a few. If your main goal is file storage with strong data protection, it fits. If your main goal is virtual machines, a hypervisor is the better base.

Before you commit, it helps to know how TrueNAS compares with the alternatives. Our comparison of Unraid vs TrueNAS Scale covers the paid-versus-free trade-offs, and the Synology vs TrueNAS vs DIY NAS guide helps you decide between a prebuilt box and building your own.

Hardware basics before you set up TrueNAS Scale

  • CPU: a modern 4-core chip is enough for file serving and a few apps. Transcoding video wants Quick Sync or a similar encoder.
  • RAM: 16 GB is the floor, 32 GB is comfortable. ZFS uses RAM as a read cache, so more memory means faster reads.
  • Boot drive: a small SSD, 32 GB or larger, used only for the operating system. Do not use a USB stick as a boot drive.
  • Data drives: two or more hard drives of the same size for your first pool. NAS-rated drives are built for always-on use.
  • Network: a wired gigabit connection. Wi-Fi is not supported for the NAS itself.

ECC memory is recommended for ZFS but not required for a home NAS. If your board supports it and the price is close, take it. If not, do not delay the build: regular RAM with good backups is a fine start for a home setup.

Step 1: Install TrueNAS Scale

Download the TrueNAS Scale ISO from the official site, write it to a USB stick, and boot the NAS machine from it. The installer asks for a target disk: pick the small SSD you set aside as the boot drive, and make sure you do not pick one of your data drives. The installer will erase the target, so double-check before you confirm.

Set a root password, finish the install, remove the USB stick, and reboot. The console shows the web address of the interface, usually something like http://192.168.1.100. Open it from another computer on the same network and log in. Give the NAS a static IP or a DHCP reservation right away, so its address never changes under you.

Step 2: Create your first pool

A pool is the group of drives that holds your data. Go to Storage, Create Pool, and pick your data drives. For two drives, a mirror is the right choice: each drive holds a full copy, and one drive can fail without losing data. For three or more drives, RAIDZ1 gives you one drive of failure tolerance with more usable space. Do not mix drive sizes in one pool if you can avoid it; ZFS works best with matched drives.

Name the pool something plain, like tank, and confirm. Creating a pool takes a minute. This is the step to get right before you put data on it, because changing the shape of a pool later means moving the data off and rebuilding it.

Step 3: Datasets and shares

Inside a pool, datasets are folders with their own settings: quotas, compression, and snapshot schedules. Create one dataset per job: media, documents, backups, and so on. Turn on compression, usually LZ4, since it costs almost nothing on modern CPUs and saves space.

Then create a share so your other devices can reach the data. SMB is the share type for Windows, macOS, and most phones. Pick a dataset, name the share, and set who can read and write. Test it from a laptop before you copy your whole library over: a permission mistake is much easier to fix with ten files than with ten thousand.

Step 4: Users, permissions, and snapshots

Create a user account for yourself instead of using the root account for daily access, and give that user access only to the datasets it needs. Shared folders with open guest access are convenient and risky; a single account with a password is the better default for a home network.

Turn on snapshots for each dataset. A snapshot is a frozen copy of the data at a point in time, and it costs almost no space until files change. Set a schedule, daily is a good start, and keep a few weeks of history. Snapshots protect against accidental deletion and ransomware, and they are the cheapest insurance a NAS offers. They are not a backup by themselves, though: a copy on the same machine is not a copy somewhere else. Our guide to the 3-2-1 backup rule for servers explains how to get a second copy off the box, and our notes on backing up to S3-compatible storage with Restic show one way to do the offsite part.

Apps and next steps

TrueNAS Scale runs apps as containers from its Apps section. Start with one or two that match your plan: a media server, a backup tool, or a photo manager. Install them on the pool, not on the boot drive, and give each app its own dataset for its data so a reinstall never touches your files.

After the first week, check three things: the pool reports healthy with no errors, snapshots are being taken on schedule, and your offsite backup actually ran. A NAS that reports healthy and backs up is doing its job. Everything after that is optional: more drives, more apps, and more services, added one at a time as you learn what the box can do.

Ditulis oleh

Firdaus Safari Putra

Founder, PT FirKaizen Digital Solutions

Firdaus Safari Putra adalah founder PT FirKaizen Digital Solutions. Ia membangun dan mengoperasikan infrastruktur server di balik panduan ini, dan menulis berdasarkan apa yang benar-benar ia jalankan, uji, dan ukur — bukan teori.