Utah Tech Logo

IT3300

DevOps virtualization

TrueNas (TrueNas) Install

By the end of this project you should have an instance of TrueNas configured. You will have 2 different exports created. One export will be used for storing your virtual machine images, the other export will be used for storing any iso files that you wish to install.

Description

Begin by installing TrueNas a physical server. Your server MUST have at least 2 physical drives for this to work. You should double check the servers that were assigned to you to make sure you choose one that has 2 physical disks.

Before you start the install, you should make sure that your two physical disks are NOT raided together (otherwise they present as a single disk and things don’t work right). To do this (Fall 2023) on some servers.you can select F2 during the bootup process -> select device settings -> integrated RAID controller. Clear the configuration. Then go back into the integreated RAID controller settings and you should be able to select something like “Convert to non-RAID disks”. (If you do not see this option, you may have to reboot and enter this menu again). Select both disks, select ok, confirm the action. Reboot. On other servers, you might have to hit “Control + R” or something in the boot sequence to access the RAID device. The important thing is to remove raid so we can access both disks individually.

Now as you boot the machine, you will select F11 during the bootup option and select the one shot UEFI boot menu. Choose your flash drive that has TrueNas on it. (Some of these are in the lab and marked with a ‘T’ or ‘Truenas’). During the install, make sure you only select a single disk to install TrueNas to. If it doesn’t show both disks during the install, something is wrong and this server won’t work for this installation. Try a different server.

This video seems to give a good overview on how to install.

Here are some of my walkthroughs:

After you can connect to the web interface, you will create 2 NFS shares.

To create two NFS shares: Navigate to your pool on Truenas, click on the 3 dots next to your pool name. Create a new dataset. Give is some name like “iso”. Create. Do it again for “disks”. Now when you create NFS shares, you can choose those folders under /mnt/poolname/iso.

Here is how I created an nfs share.

Make sure you configure permissions so that your proxmox servers can access these shares as I showed in the slides. In particular, make sure you set the correct subnet allowed list and set the maproot user to root (see the pdf above)

To Pass off

We will pass this off during the next assignment.