1. DIY HOME SERVER - TRUENAS prepare VM
This guide is my implementation of the official TrueNAS Core Installation Guide.
I choose to install TrueNAS Core (formerly FreeNAS) as my primary Proxmox virtual machine. I use PCI Passthrough to completely pass the HBA Controller and all attached hot-swappable disks from Proxmox to TrueNAS. This way these disk will no longer be available to Proxmox but will be managed exclusively by TrueNAS. This requires some advanced BIOS settings as explaned in the BIOS Configuration section of a previous post.
Download the latest TrueNAS ISO and upload it to Proxmox → local storage → ISO Images.
On the Memory tab, specify a decent amount of memory. TrueNAS needs at least 8 GB + 1 GB/ TB storage.
Click the Next button.
Tip :
Whatever amount of memory you throw at TrueNAS, it wil allways use it up to more than 90%. This is not a bug, it’s a feature. By design TrueNAS uses the available memory for caching purposes.
2. DIY HOME SERVER - TRUENAS Installation
3. DIY HOME SERVER - TRUENAS Log in
4. DIY HOME SERVER - TRUENAS Configuration
a. Some minor settings
Select Network → Global Configuration.
Set the Nameservers for your main network adapter.
Set the Default Gateway for your main network adapter.
Select System → General.
Set the Timezone.
Now it is up to you to organize your own data structures by :
- on the tab Accounts, creating users and groups
- on the tab Storage → Pools, creating datasets on the pools and setting security on those datasets
- on the tab Sharing → SMB or NFS, sharing those datasets as SMB or NFS network shares
- on the tab Services, configure the SMB or NFS service
- on the tab Tasks → Periodic Snapshot Tasks, create a periodic snapshot task.