A Detail Guide to TrueNAS and its installation on VMware ESXi 8

Introduction

TrueNAS is an open-source network-attached storage (NAS) solution designed for data storage, management, and sharing across networks. Developed by iXsystems, it provides a robust, scalable, and cost-effective alternative to proprietary NAS solutions. TrueNAS is widely used in enterprises, small businesses, and home labs for its reliability, security, and powerful features.

Key Features of TrueNAS

1. ZFS File System

ZFS (Zettabyte File System) is an advanced file system known for its robustness, data integrity, and self-healing capabilities. Unlike traditional file systems (such as NTFS, EXT4, or XFS), ZFS integrates both volume management and file system functions, reducing the risk of data corruption and enhancing performance.

2. Storage and Sharing Capabilities

TrueNAS supports multiple storage protocols, including:

  • NFS (Network File System) – Used for Linux and Unix-based systems.
  • SMB/CIFS (Server Message Block) – Supports Windows file sharing.
  • iSCSI (Internet Small Computer System Interface) – Allows block-level storage sharing.
  • AFP (Apple Filing Protocol) – Compatible with macOS systems.

3. Virtualization Support

TrueNAS uses bhyve (BSD Hypervisor), a lightweight virtualization technology based on FreeBSD. It enables users to create and manage Windows, Linux, and BSD virtual machines directly within the TrueNAS environment. With TrueNAS, we can create and manage VMs through a web-based GUI. Allocate CPU, RAM, and disk storage resources to VMs. Attach virtual disks and network interfaces. Run multiple guest operating systems without additional hypervisor software.

4. High Availability and Scalability

  • TrueNAS Enterprise provides High Availability (HA) with failover support.
  • Supports clustering, allowing businesses to scale their storage infrastructure.
  • Data redundancy with RAID-Z configurations.

5. Security and Encryption

  • Supports Self-Encrypting Drives (SED) for data protection.
  • Built-in RAID support ensures redundancy and protection from disk failures.
  • Supports 2FA (Two-Factor Authentication) and advanced ACLs (Access Control Lists).

6. Cloud Integration and Backup

  • Supports cloud sync with services like Google Drive, Dropbox, Amazon S3, and Backblaze.
  • Can be used for offsite backup replication for disaster recovery.

7. Plugins and Containers

  • TrueNAS CORE supports plugins like Plex, Nextcloud, and BitTorrent.
  • TrueNAS SCALE supports Docker and Kubernetes, making it suitable for running applications.

Why Install TrueNAS on VMware ESXi 8?

Running TrueNAS as a virtual machine on VMware ESXi 8 provides flexibility and maximizes hardware utilization. This setup allows users to consolidate workloads while leveraging TrueNAS’s powerful storage features.

Benefits:

  • Efficient hardware utilization
  • Easy backup and restore options via ESXi snapshots
  • Secure data isolation within a virtual environment

Installing TrueNAS on VMware ESXi 8

Prerequisites:

  1. VMware ESXi 8 Installed – Ensure ESXi 8 is running on your hardware.
  2. TrueNAS ISO Image – Download the latest TrueNAS ISO from the official site.
  3. Storage and Network Configuration – Ensure sufficient disk space and a properly configured network.

Step-by-Step Installation Guide

Step 1: Upload the TrueNAS ISO to ESXi Datastore

We want to install this TrueNAS on VMwar ESXi. Click on the link to download VMware ESXi. Log in to your VMware ESXi Web UI. Next step is to download TrueNAS from the website. Click on the link to start download the ISO file.

  1. Navigate to Storage > Datastore Browser.
  2. Click Upload and select the TrueNAS ISO file.

Step 2: Create a New Virtual Machine

Go to Virtual Machines > Create/Register VM.

Select Create a new virtual machine and click Next.

Name the VM (e.g., TrueNAS-VM).

Choose Guest OS Family: Other and Guest OS Version: FreeBSD 13 or later.

Select the datastore where the VM will be stored.

Configure the following VM settings:

  • CPU: 2+ vCPUs
  • Memory: 8GB+ RAM
  • Hard Disk: 20GB+ (for OS), add additional disks for storage pools
  • Network Adapter: VMXNET3 (Recommended)
  • CD/DVD Drive: Select Datastore ISO file (TrueNAS ISO)
  1. Click Next and then Finish.

Step 3: Install TrueNAS on the VM

  1. Power on the TrueNAS VM and open the console.
  2. Follow the on-screen instructions to install TrueNAS.
  3. Select the target disk for installation and confirm.
  4. Set a root password when prompted.
  5. Once installation is complete, remove the ISO and reboot the VM.

Step 4: Configure TrueNAS Web Interface

Once the VM boots, note the IP address displayed in the console. As we have installed this TrueNAS on VMware ESXi 8. we first login to ESXi. On the left side of navigational menu all VMs are listed. Click on the TrueNAS VM and check the IP address of this TrueNAS. Open a web browser and navigate to http://192.168.92.136

Log in with the root credentials.

Set up Storage Pools by adding disks.

Configure Network Settings and enable necessary services (SMB, NFS, iSCSI, etc.).

Conclusion

Installing TrueNAS on VMware ESXi 8 allows users to leverage a robust storage solution in a virtualized environment. Whether for home labs, business storage, or testing environments, this setup ensures efficiency, security, and high performance. By following this step-by-step guide, you can successfully deploy TrueNAS and manage your data effectively.

80%
Awesome
  • Design
BackupNASSAN
Comments (0)
Add Comment