Table of Contents#
- Prerequisites (Hardware & BIOS)
- Downloading TrueNAS (Community Edition)
- Creating a Bootable USB Drive
- Installing TrueNAS Step-by-Step
- First Boot & Accessing the Web UI
- Initial Post-Install Configuration
- Setting Up ZFS Storage Pools
- Creating Datasets & Managing Permissions
- Configuring Shared Folders (SMB/NFS)
- User & Group Management
- Optional: Advanced TrueNAS Features
- Troubleshooting Common Issues
- Conclusion
- References
1. Prerequisites (Hardware & BIOS)#
TrueNAS requires specific hardware to run reliably. Here’s what you need:
Hardware Requirements#
| Component | Minimum | Recommended (Heavy Use) |
|---|---|---|
| CPU | 64-bit x86 (Intel/AMD), 2 cores | 4+ cores (Intel i5/i7, AMD Ryzen) |
| RAM | 8GB | 32GB+ |
| Boot Storage | 20GB+ SSD | 64GB+ SSD (dedicated for boot) |
| Data Storage | 2+ drives (HDD/SSD) for ZFS pool | 4+ drives (RAID-Z1/Z2 for redundancy) |
| Network | Gigabit Ethernet (1Gbps) | 10Gigabit Ethernet (10Gbps) |
Critical Notes:#
- Boot Drive: Use a separate SSD for the TrueNAS OS—never use your data drives for booting. USB boot drives are no longer recommended due to reliability concerns and increased boot pool write requirements. The minimum boot device size is 20GB, but larger drives provide room for more boot environments.
- Data Drives: ZFS works best with identical drives (same size, speed, brand). Avoid mixing HDDs and SSDs in the same vdev (see Section 7). Also avoid SMR (Shingled Magnetic Recording) drives—use CMR (Conventional Magnetic Recording) drives for ZFS reliability.
- Redundancy: For data safety, use at least 2 drives (mirror) or 3 drives (RAID-Z1).
BIOS/UEFI Settings#
Before installing, configure your motherboard's BIOS:
- Enable UEFI: Disable Legacy BIOS (CSM) if present.
- Disable Secure Boot: Required for booting from a USB drive during installation.
- Enable Virtualization: Turn on Intel VT-x/AMD-V for virtual machines (optional).
- Set Boot Order: Prioritize the SSD (for permanent use) or USB drive (for installation only).
2. Downloading TrueNAS (Community Edition)#
TrueNAS is now available as TrueNAS Community Edition (formerly TrueNAS SCALE), which is the recommended version for new installations. The older TrueNAS Core (FreeBSD-based) is in maintenance mode with no major updates planned.
Why Choose Community Edition?#
- Linux-based: Built on Debian Linux for broad hardware and software compatibility.
- Docker Apps: Run containers and apps like Plex, Nextcloud, and Jellyfin natively.
- Active Development: Receives regular updates and new features.
- Easy Migration: If you're currently running TrueNAS Core, migration tools are available.
Download Steps:#
- Go to the TrueNAS Download Page.
- Click Download Community Edition (ISO file ~2GB).
- Save the ISO to your computer.
- Optionally verify the download using the SHA256 checksum provided on the download page.
3. Creating a Bootable USB Drive#
You'll need a bootable USB drive to install TrueNAS. Use BalenaEtcher (cross-platform), Rufus (Windows), or Ventoy (cross-platform).
Method 1: BalenaEtcher (Windows/macOS/Linux)#
- Download BalenaEtcher.
- Open Etcher, click Select Image, and choose the TrueNAS ISO.
- Insert your USB drive (8GB+), then select it in Etcher.
- Click Flash! and wait for the process to finish (~5 minutes).
- Safely eject the USB drive.
Method 2: Rufus (Windows Only)#
- Download Rufus.
- Open Rufus, select your USB drive from the "Device" dropdown.
- Click Select and choose the TrueNAS ISO.
- Keep default settings:
- Partition scheme: GPT
- Target system: UEFI (non-CSM)
- Click Start and confirm the warning (erases USB data).
- Eject the USB drive when done.
Method 3: Ventoy (Windows/Linux)#
Ventoy is an open-source tool that lets you create a multi-boot USB drive. After installing Ventoy on your USB, simply copy the TrueNAS ISO file to the drive—no need to re-flash for each new version.
4. Installing TrueNAS Step-by-Step#
Now it’s time to install TrueNAS on your server.
Step 1: Boot from the USB Drive#
- Insert the bootable USB into your server.
- Power on the server and press the boot menu key (varies by motherboard):
- Common keys: F12 (Dell/HP), Del (ASUS/Gigabyte), F2 (Lenovo).
- Select your USB drive from the boot menu (e.g., "Kingston DataTraveler").
Step 2: Run the TrueNAS Installer#
- The TrueNAS welcome screen will appear. Select Install TrueNAS (use arrow keys, press Enter).
- Select Boot Drive: Choose your USB/SSD (e.g., "ada0" for USB, "nvme0" for NVMe SSD).
Critical: Do not select your data drives here! - Set Root Password: Enter a strong password (you’ll use this to log into the web UI).
- Network Configuration:
- By default, TrueNAS uses DHCP (automatic IP). To set a static IP (recommended for NAS):
- Select Configure Network Interfaces.
- Choose your Ethernet interface (e.g., "igb0" for Intel Gigabit).
- Select Static IPv4 and enter:
- IP Address: e.g.,
192.168.1.100(use an unused IP on your network). - Subnet Mask:
255.255.255.0(default for home networks). - Gateway: Your router’s IP (e.g.,
192.168.1.1). - DNS:
8.8.8.8(Google DNS) or your router’s DNS.
- IP Address: e.g.,
- Press Save and return to the installer.
- By default, TrueNAS uses DHCP (automatic IP). To set a static IP (recommended for NAS):
- Confirm Installation: Review your settings and press Install.
- Reboot: When the install finishes, remove the USB drive and press Enter to reboot.
5. First Boot & Accessing the Web UI#
After rebooting, TrueNAS will display a console screen with:
- Your server’s IP address (e.g.,
192.168.1.100). - The web UI URL (e.g.,
http://192.168.1.100).
Access the Web UI:#
- On a computer connected to the same network, open a browser (Chrome/Firefox).
- Enter the TrueNAS IP (e.g.,
http://192.168.1.100). - Log in with:
- Username:
root - Password: The root password you set during installation.
- Username:
You’re now in the TrueNAS web UI—let’s configure it!
6. Initial Post-Install Configuration#
First, fix these critical settings:
6.1 Change the Admin Password (Optional but Recommended)#
- Go to Accounts > Users.
- Click the pencil icon next to the
rootuser. - Enter a new password and confirm it.
- Click Save.
6.2 Set Time Zone#
- Go to System > General.
- Under Time Zone, select your region (e.g.,
America/New_York). - Click Save.
6.3 Update TrueNAS#
- Go to System > Updates.
- If an update is available, click Download Now.
- After downloading, click Install Update (reboots the server).
7. Setting Up ZFS Storage Pools#
ZFS is the heart of TrueNAS—it provides data integrity, compression, and redundancy. A "pool" is a collection of drives (vdevs) that store your data.
Step 1: Create a ZFS Pool#
- Go to Storage > Pools > Add.
- Name the Pool: Use a descriptive name (e.g.,
MediaPool). - Add a Vdev:
- Click Add Vdev > Data.
- Select the drives you want to use (e.g., 3 HDDs).
- Choose a RAID level (redundancy):
- Mirror: 2 drives, 100% redundancy (best for small pools).
- RAID-Z1: 3+ drives, tolerates 1 drive failure (most common).
- RAID-Z2: 4+ drives, tolerates 2 drive failures (enterprise-grade).
- RAID-Z3: 5+ drives, tolerates 3 drive failures (extreme redundancy).
- Review Settings: Ensure no data drives are selected for boot.
- Create Pool: Click Create Pool, then Confirm (erases all data on selected drives).
Example Pool Setup:#
- Drives: 4 x 8TB HDDs
- Vdev: RAID-Z2 (tolerates 2 drive failures)
- Total Storage: ~16TB (4 drives × 8TB = 32TB, minus 50% for redundancy)
Critical ZFS Tips:#
- No Mixing Drives: Use identical drives (size, speed, brand) in a vdev. Avoid SMR drives.
- RAIDZ Expansion: As of TrueNAS Community Edition, you can expand an existing RAIDZ vdev by adding a single drive (e.g., expand a 3-drive RAIDZ1 to 4 drives). This is a major improvement over the traditional method of adding entire vdevs.
- Compression: Enable
lz4compression (default) to save space without performance loss.
8. Creating Datasets & Managing Permissions#
A dataset is a folder within a ZFS pool—use it to organize data (e.g., Movies, Photos, Backups).
Step 1: Create a Dataset#
- Go to Storage > Pools > [Your Pool] > Add Dataset.
- Name the Dataset: e.g.,
Movies. - Configure Options:
- Type: Keep as Filesystem (default for general use).
- Compression:
lz4(recommended). - Quota: Optional (e.g.,
10TBto limit dataset size). - Permissions:
- Unix: Simple read/write permissions (best for home use).
- ACL: Fine-grained control (for enterprises).
- Click Save.
Step 2: Set Permissions (Unix)#
- Open the dataset’s Edit menu (pencil icon).
- Go to the Permissions tab.
- Set:
- Owner (User):
root(or a custom user, see Section 10). - Owner (Group):
users(or a custom group). - Mode:
775(read/write for owner/group, read-only for others).
- Owner (User):
- Click Save.
9. Configuring Shared Folders (SMB/NFS)#
TrueNAS supports two main file-sharing protocols—choose the one that matches your devices:
9.1 SMB (Windows/Mac/iOS)#
SMB is the standard for Windows and works with macOS/iOS.
Step 1: Enable SMB Service#
- Go to Services > SMB > Configure.
- Toggle the Enable switch (top-right).
- Click Save.
Step 2: Create an SMB Share#
- Go to Shares > SMB > Add.
- Name the Share: e.g.,
MoviesShare. - Select Dataset: Choose the dataset (e.g.,
MediaPool/Movies). - Permissions:
- Guest Access: Disable (not secure) unless for public files.
- Allowed Users/Groups: Select which users can access the share (e.g.,
john).
- Click Save > Apply Changes.
Access from Windows:#
- Open File Explorer.
- Type
\\[TrueNAS IP]\[Share Name](e.g.,\\192.168.1.100\MoviesShare). - Enter your TrueNAS username/password.
9.2 NFS (Linux/macOS)#
NFS is faster for Linux and macOS.
Step 1: Enable NFS Service#
- Go to Services > NFS > Configure.
- Toggle Enable.
- Click Save.
Step 2: Create an NFS Share#
- Go to Shares > NFS > Add.
- Name the Share: e.g.,
MoviesNFS. - Select Dataset:
MediaPool/Movies. - Allowed Networks: Enter your local network (e.g.,
192.168.1.0/24). - Click Save > Apply Changes.
Access from Linux:#
- Open Terminal.
- Run:
sudo mount -t nfs [TrueNAS IP]:/mnt/[Pool]/[Dataset] /mnt/local-folder
Example:sudo mount -t nfs 192.168.1.100:/mnt/MediaPool/Movies /mnt/Movies
10. User & Group Management#
For security, never use the root user for daily access. Create custom users and groups instead.
10.1 Create a User#
- Go to Accounts > Users > Add.
- Fill in Details:
- Username: e.g.,
john - Password: Strong password
- Home Directory: Select a dataset (e.g.,
MediaPool/Home/john—creates a personal folder). - Primary Group:
users(default) or a custom group.
- Username: e.g.,
- Click Save.
10.2 Create a Group#
Groups make it easier to manage permissions for multiple users.
- Go to Accounts > Groups > Add.
- Name the Group: e.g.,
MediaUsers. - Add Users: Select users to include (e.g.,
john,jane). - Click Save.
10.3 Assign Permissions to a Group#
- Go to Shares > [Your Share] > Edit.
- Under Allowed Groups, select the group (e.g.,
MediaUsers). - Click Save > Apply Changes.
11. Optional: Advanced TrueNAS Features#
11.1 Installing Apps (TrueNAS Community Edition)#
TrueNAS Community Edition lets you run Docker containers (like Plex, Nextcloud, or Jellyfin) directly from the web UI via the TrueNAS Apps ecosystem.
Step 1: Install an App#
- Go to Apps > Available Applications.
- Search for an app (e.g.,
Plex Media Server). - Click Install.
- Configure the App:
- Name: Customize (e.g.,
PlexServer). - Storage: Map the dataset (e.g.,
MediaPool/Moviesto/media). - Network: Keep default (uses a random port).
- Name: Customize (e.g.,
- Click Save (takes 5–10 minutes to install).
Access the App:#
- After installation, click the app’s Web UI button (e.g.,
http://192.168.1.100:32400for Plex).
11.2 Setting Up Backups (Snapshots/Replication)#
ZFS snapshots are point-in-time copies of your data—they’re fast and take no extra space until data changes.
Step 1: Create a Snapshot#
- Go to Storage > Pools > [Your Pool] > Snapshots > Add.
- Name the Snapshot: e.g.,
Movies_20260115. - Recursive: Enable to snapshot child datasets.
- Click Save.
Step 2: Schedule Snapshots#
- Go to Tasks > Snapshots > Add.
- Select Dataset: Choose the dataset (e.g.,
MediaPool/Movies). - Schedule: Set how often to take snapshots (e.g., hourly, daily).
- Retention: Keep snapshots for a set period (e.g., 24 hourly, 7 daily).
- Click Save.
Step 3: Replicate to Another Pool/Remote NAS#
Replication copies snapshots to another pool or remote TrueNAS server.
- Go to Tasks > Replications > Add.
- Source: Select your local dataset (e.g.,
MediaPool/Movies). - Destination: Choose a remote TrueNAS server or local pool.
- Schedule: Set how often to replicate (e.g., daily).
- Click Save.
11.3 Remote Access (VPN/Tailscale)#
To access TrueNAS from outside your home, use a VPN or Tailscale (easier).
Option A: Tailscale (No Port Forwarding)#
Tailscale creates a secure "mesh network" between your devices—no router configuration needed.
- Go to Apps > Tailscale > Install.
- Open the Tailscale app and log in with your Tailscale account.
- Get your Tailscale IP (e.g.,
100.64.1.2). - Access TrueNAS via
http://[Tailscale IP]from anywhere.
Option B: OpenVPN (Secure, Requires Port Forwarding)#
OpenVPN is more secure but requires configuring your router.
- Go to Services > OpenVPN > Configure.
- Click Add > Server.
- Settings:
- Protocol: UDP
- Port: 1194 (default)
- DNS:
8.8.8.8
- Click Save > Apply Changes.
- Port Forwarding: Log into your router and forward UDP port 1194 to your TrueNAS IP.
- Export Client Config: Go to Services > OpenVPN > Clients > Export and send the file to your device.
- Connect: Install the OpenVPN client on your phone/laptop and import the config.
11.4 Monitoring & Alerts#
TrueNAS has built-in tools to monitor your server’s health.
Step 1: Check System Health#
- Go to System > Health.
- Review:
- CPU/RAM Usage: Should be <70% under load.
- Storage: Check for degraded pools or failed drives.
- Network: Ensure no dropped packets.
Step 2: Set Up Email Alerts#
Get notified if a drive fails or the pool degrades.
- Go to System > Alerts > Configure.
- SMTP Settings:
- SMTP Server: e.g.,
smtp.gmail.com(Gmail) - Port: 587 (TLS)
- Username: Your email (e.g.,
[email protected]) - Password: App password (for Gmail, create one here: myaccount.google.com/apppasswords)
- SMTP Server: e.g.,
- Click Save.
- Test Alert: Click Send Test Alert to verify.
12. Troubleshooting Common Issues#
Here are fixes for the most frequent problems:
Issue 1: Can’t Boot from USB#
- Fix: Re-flash the USB with Etcher or try Ventoy. Disable Secure Boot in BIOS. Consider using an SSD for the boot device instead of USB for better reliability.
Issue 2: Can’t Access the Web UI#
- Fix: Ping the TrueNAS IP (e.g.,
ping 192.168.1.100from your computer). If no response, check:- Is TrueNAS on the same network?
- Is the firewall on your computer blocking access?
Issue 3: ZFS Pool Degraded#
- Fix: Go to Storage > Pools—a red "Degraded" status means a drive failed. Replace the drive, then:
- Click Replace next to the failed drive.
- Select the new drive and click Confirm.
- ZFS will rebuild the pool (takes hours/days depending on drive size).
Issue 4: Shared Folder Not Accessible#
- Fix: Check:
- Is the service (SMB/NFS) enabled?
- Does the user have permissions to the share?
- Is the firewall on TrueNAS blocking traffic? (Default: No)
13. Conclusion#
Installing TrueNAS is straightforward with the right preparation. Key takeaways:
- ZFS is King: Use RAID-Z1/Z2 for redundancy—never skip it.
- Separate Boot Drive: Keep the OS on a dedicated SSD (20GB+ minimum).
- Static IP: Critical for reliable access to your NAS.
- Back Up Everything: Use snapshots and replication to protect your data.
- Choose Community Edition: The Linux-based TrueNAS Community Edition is recommended for new installations.
TrueNAS is a powerful tool—start with basic file sharing, then explore Docker apps or virtualization as you gain confidence.
14. References#
- TrueNAS Official Documentation
- TrueNAS Community Edition Download
- TrueNAS Hardware Guide
- OpenZFS User Guide
- Balena Etcher
- Rufus
- Tailscale
- OpenVPN
- ZFS RAID Levels Explained
- TrueNAS Apps Marketplace
- TrueNAS Community Forums
Let me know if you have questions—I’m happy to help! 🚀