βββ β ββ β¦ ββ β βββ
How to set up a TrueNAS Vm on Proxmox 8, with a 2TB SSD passed through.
ISO: TrueNAS-SCALE-24.04.0.iso
VM setup
(enable Advanced view)
- General
- set a VM ID (here: 445)
- set a Name (here: avalon)
- enable Start at boot
- OS
- select ISO
- System
- Graphic card: SPICE
- enable Qemu Agent
- Disks
- add 64GB, enable Discard, enable SSD emulation
- CPU
- select 2 cores
- Memory
- 8192MB, diable Ballooning Device
- Network
- change nothing
- Confirm
- enable Start after created (Finish)
Initial Installation
Open console, wait, select β1 Install/Upgradeβ, select 64GB sda with [space], Yes, select β1 Administrative user (admin)β, enter PW twice (and [tab]), create SWAP, allow EFI boot, wait, remove CD, enter, select β4 Shutdown Systemβ
Mount 2TB SSD
qm set 445 -virtio1 /dev/disk/by-id/ata-CT2000BX500SSD1_2028E2B452EC
edit it β disable backup
Creating shares
Create Pool & Dataset
Storage β Create Pool
- General Info
- enter name
- enable encryption
- Data
- Layout: Stripe
- skip all other steps
- Create Pool
- Download encryption key
NFS shares
Create Dataset for NFS share
Dataset β select previously created Pool β Add Dataset
- Name: β¦
- Dataset Preset: Multiprotocol β select only βCreate NFS shareβ
Additional NFS setup
β¦
CIFS shares
Create user/users
Credentials β Local Users β Add
Example: testuser | g43fpgo9fauedb2c
Create Dataset for CIFS share
Datasets β select previously created Pool β Add Dataset
- Name: β¦
- Dataset Preset: Multiprotocol β select both NFS and CIFS
Additional CIFS setup
Datasets β Select CIFS dataset β Permissions β Edit β Set ACL β Create a custom ACL β Continue
Add item β βUser* = testuserβ, βPermissions* = Full Controlβ
βββ β ββ β¦ ββ β βββ