You need to make sure you set up Proxmox and TrueNAS correctly as there are a lot of problems if the HBA cards and boot drives aren’t protected from Proxmox accessing them.
You also need to verify the HBA is in IT mode or is just a plain HBA model.
Check the model number for info.
Virtualize TrueNAS
BASICS
iX Systems pool layout whitepaper