How to Install TrueNAS on a Vultr Cloud VPS

Updated on August 19, 2021
How to Install TrueNAS on a Vultr Cloud VPS header image

Introduction

TrueNAS is an open-source file storage and sharing system, and the successor to FreeNAS.

This guide explains how to install a TrueNAS server on Vultr's cloud VPS hosting. All references in this guide refer to TrueNAS, but you can also install FreeNAS a Vultr cloud server with these instructions.

Prerequisites

  1. Create at least four Block Storage volumes in the same location, such as New Jersey or Los Angeles.
  2. Download the latest TrueNAS Core ISO.
  3. Follow our guide to upload the ISO to Vultr.

Note: If you prefer to install FreeNAS, you can use the ISO in the Vultr ISO library and skip the ISO upload steps.

Deploy a New VPS

TrueNAS is based on FreeBSD, which needs custom VPS settings at Vultr. The easiest way to get a FreeBSD-compatible VPS is to deploy a FreeBSD 12.2 server, then attach the ISO and reformat the original server.

  1. Deploy a new FreeBSD 12.2 Cloud Compute or High-Frequency Compute cloud VPS server. TrueNAS requires a server with Block Storage, which is unavailable on Dedicated Cloud or Bare Metal instances.

    When configuring your server:

    • Choose the same Vultr location as your block storage volumes.
    • Select Block Storage Compatible in the Additional Features section.
    • Select a plan with at least 8 GB of RAM.

    Use more RAM for better performance if you have large storage volumes.

  2. Wait for your server to deploy.

  3. Navigate to the Block Storage section of the Customer Portal.

  4. Attach your Block Storage volumes to your new instance.

  5. Navigate to the server information page.

  6. Choose the Setting tab.

  7. Click the Custom ISO menu.

  8. Select an ISO.

    If you uploaded a TrueNAS ISO, you'll find it in the Custom ISO section. The FreeNAS ISO is available in the ISO Library section.

  9. Click Attach ISO and Reboot.

  10. Connect to the Vultr web console.

    TrueNAS Install Screen

  11. Choose Install/Upgrade.

  12. Select the first drive as the installation location.

    Setup TrueNAS

  13. Choose Yes to proceed with the installation.

  14. Enter a strong root password.

  15. Choose Boot via BIOS.

  16. Choose Create Swap.

  17. Wait for the installation to complete.

    Install Complete

  18. Navigate to the Server information page in the customer portal.

  19. Click the Settings tab.

  20. Click the Custom ISO menu.

  21. Click Remove ISO. The server will reboot.

  22. Navigate to your server's IP address in a web browser. For example:

    http://192.0.2.123

  23. Log in as root with the password you chose during installation.

  24. Navigate to Storage -> Pools.

  25. Click ADD to add a new storage pool.

  26. Choose Create new pool, then click CREATE POOL.

  27. Enter a name for your pool.

  28. Click SUGGEST LAYOUT to use all available disks.

  29. Click CREATE.

  30. Confirm your choice at the warning prompt.

TrueNAS will format your disks and create a storage pool.

More Information

The basic installation is complete. To configure your TrueNAS server for your particular configuration, please see the TrueNAS documentation.