TrueNAS

On this page 7

TrueNAS is an open-source storage operating system developed by iXsystems that turns standard x86 server hardware into a network-attached storage (NAS) or block storage appliance. In server storage, it is known for building everything on the OpenZFS file system, which provides pooled storage, checksummed data, snapshots and replication, and for exposing that storage through SMB, NFS and iSCSI from a web interface.

The product line evolved from FreeNAS, a FreeBSD-based project, and now spans community editions for home labs and small businesses as well as enterprise appliances with dual controllers and vendor support. Its appeal lies in combining enterprise-grade data integrity with commodity hardware and no license fees for the community releases.

How TrueNAS builds storage on ZFS

TrueNAS manages disks through ZFS pools, which are made of one or more virtual devices (vdevs). Each vdev provides its own redundancy, as a mirror or as a RAIDZ group, and the pool stripes data across all vdevs. Because ZFS acts as both volume manager and file system, TrueNAS needs direct access to the raw disks rather than a hardware RAID volume.

Every block written carries a checksum, so ZFS detects silent corruption on read and repairs it from redundant copies. Regular scrubs read the entire pool to find and fix such errors proactively. Writes follow a copy-on-write model, which keeps the on-disk state consistent after a power loss and makes snapshots nearly instant and space-efficient.

The table below summarizes the vdev layouts that TrueNAS offers when a pool is created.

LayoutDisks lost without data lossUsable capacityTypical use
StripeNone100 percentScratch data only
MirrorAll but one disk per vdev50 percent for two-wayVirtual machines, databases
RAIDZ1One per vdevDisks minus oneSmall disks, low risk data
RAIDZ2Two per vdevDisks minus twoGeneral file storage
RAIDZ3Three per vdevDisks minus threeVery large disks, archives
dRAIDOne to three per groupDepends on sparesLarge pools needing fast rebuilds
Pool layouts available in TrueNAS

TrueNAS editions and their platforms

TrueNAS exists in several editions that share the ZFS core but differ in base operating system, features and support. Release naming has changed several times, so administrators should always check the current release notes before planning an installation.

EditionBase systemFocusStatus
TrueNAS COREFreeBSDClassic NAS, jails and pluginsSuccessor of FreeNAS, now in maintenance
TrueNAS SCALEDebian LinuxNAS plus containers and virtual machinesMain development line
TrueNAS Community EditionDebian LinuxUnified free releaseCurrent name of the Linux line
TrueNAS EnterpriseLinux or FreeBSDSupported appliances, high availabilitySold with iXsystems hardware
Main TrueNAS editions

The move to Linux brought Docker-based applications, KVM virtualization and scale-out options, while the FreeBSD line remains valued for its long stability record. Migration from CORE to the Linux edition is supported for pools, but jails and plugins do not migrate and must be rebuilt as applications.

Sharing protocols and data services

TrueNAS serves the same pool to different clients through file and block protocols. Datasets back file shares, while zvols, fixed-size block devices inside the pool, back iSCSI targets for hypervisors and databases.

  • SMB for Windows and macOS clients, with Active Directory integration and snapshot access through previous versions.
  • NFS for Linux servers and virtualization hosts, with export rules per network or host.
  • iSCSI for block storage, optionally over Fibre Channel on enterprise systems.
  • Replication of snapshots to another TrueNAS system over SSH, the basis of off-site backup.
  • Cloud sync tasks that copy datasets to object storage providers.

Compared with other storage platforms in the same field, TrueNAS occupies a distinct position, as the next table shows.

OptionArchitectureStrengthLimitation
TrueNASSingle node or HA pair on ZFSIntegrity, snapshots, simple managementScale-up rather than scale-out
CephDistributed cluster of many nodesHorizontal scaling, no single nodeComplex operation, needs many nodes
MinIOS3-compatible object storeCloud-native object accessNo traditional file shares
Hardware RAID serverController-managed arraysFamiliar, vendor supportedNo end-to-end checksums
Commercial NAS applianceVendor operating systemTurnkey setupLocked hardware and features
TrueNAS compared with related storage options

Hardware and sizing considerations

TrueNAS performance depends on memory, disk layout and controller choice more than on raw CPU speed. ZFS uses free RAM as the Adaptive Replacement Cache (ARC), so more memory directly improves read performance; 16 GB is a practical minimum, and busy systems commonly use 64 GB or more.

ComponentRecommendationReason
MemoryECC RAM, sized to the workloadProtects data in cache, feeds ARC
Disk controllerHBA in IT mode, no RAIDZFS needs direct disk access
SLOG devicePower-loss-protected SSDSpeeds up synchronous writes
L2ARC deviceFast SSD, only after RAM is maxedExtends the read cache
Boot deviceSmall mirrored SSDsKeeps the system bootable
Network10 GbE or faster for shared storageAvoids a network bottleneck
Key hardware choices for a TrueNAS system

For virtual machine storage over iSCSI or NFS, mirrored vdevs usually outperform RAIDZ because random IOPS scale with the number of vdevs, not the number of disks. For bulk file storage, RAIDZ2 with six to ten disks per vdev is a common balance of capacity and safety.

Limitations and common mistakes

The most frequent error is running TrueNAS on a hardware RAID controller, which hides disk errors from ZFS and defeats self-healing. Another is confusing redundancy with backup: snapshots on the same pool do not survive pool loss, so off-site replication remains essential.

Administrators also underestimate the impact of deduplication, which can demand large amounts of memory, and of filling a pool beyond about 80 percent, after which write performance degrades. Classic RAIDZ vdevs could not be widened in older releases, so pool expansion requires planning, although newer OpenZFS versions add RAIDZ expansion. Finally, a single TrueNAS node is not highly available unless it runs on dual-controller enterprise hardware.

In plain words

TrueNAS is software that turns an ordinary computer full of hard drives into a shared, careful storage box for an office or home. Other computers save their files to it over the network.

What makes it special is that it checks every piece of data it stores. If a drive quietly damages a file, TrueNAS notices and repairs it from a spare copy. It can also take quick snapshots, like photographs of all files at a moment, so a deleted or encrypted file can be brought back.

A real-world example

A 40-person architecture firm replaces an aging file server with a TrueNAS system built from a 2U server with eight 16 TB drives in RAIDZ2, 128 GB of ECC memory and a 10 GbE network card. Project folders are shared over SMB with permissions from the firm’s Active Directory, and hourly snapshots are kept for two weeks.

A few months later, ransomware on one workstation encrypts thousands of drawings on a shared folder. The administrator isolates the workstation and rolls the dataset back to the snapshot taken 40 minutes earlier. Nightly replication to a second TrueNAS box at the owner’s branch office provides an independent copy. Work resumes the same afternoon, with less than an hour of changes lost.