TrueNAS Setup Guide: Pools, Datasets, Shares and Snapshots

Updated 7 min read By the Self-Hosting HQ Editorial Team
Quick answerTo set up TrueNAS, install it to a dedicated boot SSD, create the truenas_admin account, then build a storage pool from at least two identical data disks (a mirror is the documented starting point). Create datasets under the pool rather than sharing the pool root, add a local user with Samba Authentication, create the SMB share, and schedule periodic snapshot tasks. Keep the web UI off the internet.

TrueNAS turns a spare PC or a purpose-built box into a ZFS-based network storage server with a web interface. Getting a first TrueNAS setup right mostly comes down to decisions you can’t easily reverse later: which disks become the boot device, how the data disks are arranged into a pool, and how datasets are organised before you start sharing them.

This guide follows the official TrueNAS documentation for the 25.10 release line. As of December 2026, the TrueNAS software status page lists 25.10.8 for the General user profile and 27.0.0-RC.1 for early adopters; the steps below apply to the stable release. (This is the Linux-based TrueNAS edition long known as TrueNAS SCALE.)

Hardware and planning before you install

The TrueNAS hardware guide lists these minimums:

Component Documented minimum Practical note
Processor 2-core 64-bit Intel or AMD x86_64 More cores help if you’ll run apps or VMs
Memory 8 GB ZFS uses spare RAM as cache; more is better
Boot device 16 GB SSD Dedicated; it does not count toward data disks
Data storage Two identically sized devices for a single pool Two disks allow a mirror

The storage setup guide is explicit that the boot disk doesn’t count toward the data-disk minimum, and that a single-disk pool, while technically allowed, isn’t recommended.

Choose your pool layout now

ZFS groups disks into VDEVs, and VDEVs make up a pool. The layout determines how many disks can fail and how much space you get. Based on the TrueNAS documentation:

Layout Minimum disks Disks that can fail per VDEV Usable capacity (before ZFS overhead)
Stripe 1 0, any failure loses the VDEV Sum of all disks
Mirror 2 All but one disk in the mirror Size of one disk
RAIDZ1 3 (typical) 1 Total minus 1 disk
RAIDZ2 4 (typical) 2 Total minus 2 disks
RAIDZ3 5 (typical) 3 Total minus 3 disks

Worked example with four 8 TB disks: two mirror VDEVs give 2 × 8 = 16 TB raw usable and tolerate one failure in each mirror; RAIDZ1 gives (4 − 1) × 8 = 24 TB and tolerates any one failure; RAIDZ2 gives (4 − 2) × 8 = 16 TB and tolerates any two failures. Real usable space is lower once ZFS metadata and the recommended free-space headroom are counted; TrueNAS links a ZFS capacity calculator from its storage guide for exact figures. For a beginner with two disks, the documented starting point is a simple mirror.

Installing TrueNAS

  1. Write the installer. Download the ISO from TrueNAS and write it to a USB stick with a tool such as Rufus, balenaEtcher or Ventoy. The installation guide warns that these tools erase the USB drive.
  2. Boot the installer and choose Install/Upgrade.
  3. Select the boot device. Press the spacebar to select it; selecting two drives mirrors the boot device. The installer recommends SATA, SAS or NVMe flash media and discourages USB flash drives.
  4. Confirm the clean install. This erases the selected drive, so double-check you haven’t picked a data disk.
  5. Choose the administrative user option. Select Administrative user (truenas_admin) and set a strong password. The first-login documentation explains that this creates the admin account and leaves the root password disabled, which is the recommended option.

After the reboot, the console setup menu shows the web interface address. TrueNAS’s default host name is truenas.local, or you can browse to the DHCP-assigned IP shown on the console.

Keep the web UI privateDon't port-forward the TrueNAS web interface or SSH to the internet. Manage it from your LAN or over a VPN. The first-login documentation also recommends admin accounts with unique usernames and least-privilege permissions.

Creating your first storage pool

In the web UI, go to Storage and start the pool creation wizard. Give the pool a short name, then choose the data VDEV layout and disks. The wizard’s automated disk selection fills in disks for stripe, mirror and RAIDZ layouts. Leave the optional VDEV types (log, cache, special metadata, dedup) empty unless you have a specific, researched reason; they’re advanced features, and some of them can’t be removed easily once added.

Review the summary carefully before clicking create. Creating a pool wipes the selected disks.

Organising data with datasets

A dataset is a filesystem inside the pool with its own permissions and properties, and it can be snapshotted and replicated independently. TrueNAS recommends organising your pool with datasets before configuring sharing, so you can tune access per dataset. A simple home layout:

  • tank/family for shared documents (SMB preset)
  • tank/photos for the photo library (SMB preset, or its own app dataset)
  • tank/backups as a target for computer backups
  • tank/apps for application data (Apps preset)

To create one, go to Datasets, select the parent, click Add Dataset, enter a name and pick a Dataset Preset. According to the dataset documentation, the presets are Generic (non-SMB uses such as NFS, iSCSI, VMs), SMB, Apps and Multiprotocol (for datasets shared over both SMB and NFS). They set the ACL type and case sensitivity for you; for example, the SMB preset uses NFSv4 ACLs with case-insensitive names, while Generic uses POSIX permissions equivalent to 755.

Datasets can also be encrypted at creation. If you enable encryption, store the key or passphrase somewhere outside the NAS; without it, the data can’t be unlocked.

Sharing data over SMB and NFS

The sharing guide gives one rule worth repeating: don’t create a share on the root (pool-level) dataset. Create a dataset under it instead, because sharing the root dataset leads to storage configuration issues.

SMB (Windows, macOS, Linux)

  1. Create a share user. Under Credentials > Users, add a local user with Samba Authentication enabled. The documentation notes you cannot access SMB shares as root, with built-in accounts or with users lacking Samba Authentication.
  2. Add the share. Go to Shares, click Add on the Windows (SMB) Shares widget, and browse to your dataset (or click Create Dataset to make one from the dialog).
  3. Set permissions. Grant the user or a group access in the dataset’s ACL editor.
  4. Connect from a client. On Windows, map \\truenas.local\family; on macOS, use Finder’s Connect to Server with smb://truenas.local/family.

NFS (Linux clients, Proxmox storage)

NFS shares suit Linux machines and hypervisors. Use a Generic or Multiprotocol dataset, add the share under Shares, and restrict it to specific client IPs or networks rather than leaving it open to all hosts.

Snapshots, replication and backups

Snapshots are where ZFS shines. TrueNAS’s periodic snapshot documentation explains that snapshots don’t copy data, so they’re quick, a snapshot with no changed files takes no space, and it’s common to take them as often as every 15 minutes even on large, active pools.

To schedule them, go to Data Protection > Periodic Snapshot Tasks > Add, choose the dataset, set how long to keep snapshots, pick a schedule and save. A reasonable home starting point is hourly snapshots kept for two weeks plus daily snapshots kept for a few months; adjust to your space and how quickly you’d notice a problem.

Snapshots are not backupsSnapshots live on the same pool. If the pool fails, they go with it. TrueNAS recommends storing snapshots on another system with Replication Tasks, and its backup guide notes a replication task needs an existing periodic snapshot task to run first.

For the offsite part, TrueNAS offers replication to another TrueNAS system, cloud sync tasks and TrueCloud Backup tasks. Combine them into a plan that follows our 3-2-1 backup rule guide.

Common first-setup mistakes to avoid

A handful of errors come up again and again with new TrueNAS installs, and most are easier to avoid than to fix:

  • Installing to a data disk. The installer erases whatever drive you select. Disconnect data disks you care about while installing, or check sizes and serial numbers carefully on the destination screen.
  • Sharing the pool root. As the sharing documentation warns, put shares on child datasets, not the root dataset.
  • Mixing very different disk sizes in one VDEV. A mirror or RAIDZ VDEV is limited by its smallest member, so mismatched disks waste capacity.
  • Treating the pool as the only copy. Redundancy protects against disk failure, not deletion, ransomware, fire or a failed pool. Plan replication or offsite backup from day one.
  • Filling the pool to the brim. ZFS performance and flexibility suffer when a pool is nearly full, so leave headroom and set up capacity alerts.

Post-setup checklist

  • Configure email alerts so disk and pool problems reach you.
  • Schedule SMART tests and pool scrubs under Data Protection, if not already scheduled by default.
  • Download a copy of the system configuration file after setup and after major changes.
  • Record encryption keys and admin credentials in a password manager.
  • Apply updates from the Update screen after reading release notes; stick with the General profile on a home NAS.
  • Keep the web UI and SSH reachable only from your LAN or VPN.

Not sure TrueNAS is the right platform? Our comparisons of Proxmox vs TrueNAS and home server vs NAS help you decide, and the storage section collects related guides.

Frequently asked questions

How much RAM does TrueNAS need?

The TrueNAS hardware guide lists 8 GB of memory as the minimum alongside a 2-core 64-bit CPU and a 16 GB SSD boot device. More RAM helps ZFS caching and is needed if you plan to run apps or VMs on the same box.

Can I install TrueNAS on a USB stick?

The installer recommends SATA, SAS or NVMe flash media for the boot device and discourages USB flash drives. A small SSD is the safer choice.

Can I add a disk to an existing mirror or RAIDZ later?

You can grow a pool by adding another VDEV, and recent OpenZFS versions add RAIDZ expansion, but layout decisions are hard to undo. Check the TrueNAS Managing Pools documentation for your version before buying disks.

Are TrueNAS snapshots a backup?

Not by themselves. They protect against deletion and ransomware-style changes on the same pool, but they're lost if the pool fails. Replicate them to another system or back up offsite to get a real backup.

Sources

  1. TrueNAS Hardware Guide: TrueNAS Documentation
  2. Installing TrueNAS: TrueNAS Documentation
  3. First Time Login: TrueNAS Documentation
  4. Setting Up Storage: TrueNAS Documentation
  5. Adding and Managing Datasets: TrueNAS Documentation
  6. Setting Up Data Sharing: TrueNAS Documentation
  7. Adding Periodic Snapshot Tasks: TrueNAS Documentation
  8. Setting Up Data Backups: TrueNAS Documentation
  9. Software Status: TrueNAS
Written and maintained by the Self-Hosting HQ Editorial Team

We research every guide from manufacturer documentation, government and standards bodies, and other primary sources, which are cited at the end of each article. We do not accept payment for coverage. Read our editorial policy to see how articles are researched, fact-checked and updated, or tell us if something is out of date.