Virtualization of TrueNAS on Proxmox needs to be done like a production server. You need to pass through the entire controller to TrueNAS and, possibly, blacklist it from Proxmox, so Proxmox doesn’t try to mount the ZFS systems of TrueNAS.
It’s unclear about where you were going to run the other VMs, on Proxmox or TrueNAS. Can you be detailed about your current hardware and software plan?
I think you need to have separate servers. One for Proxmox and one for TrueNAS.
Your motherboard gives you 3 M.2 slots and 4 SATA. That would be usable for Proxmox.
The HBA and it’s attached drives would all be only for TrueNAS since you have to pass through the entire controller and blacklist from Proxmox.
You are also out of usable PCIe slots with the HBA and NIC occupying two out of three available. You need to match the card requirements to the slots. If you wanted more drives attached to the Proxmox, you need another HBA.
I think you need to plan one server for Proxmox and one server just for TrueNAS.
I was guessing TrueNAS was going to store the videos, photos, and various personal things.
Try reading through the following on ZFS primer, pool layout whitepaper and the special devices (sVDEV). SLOG is for ‘sync’ writes and has special device requirements or suggestions.
BASICS
iX Systems pool layout whitepaper
Special VDEV (sVDEV) Planning, Sizing, and Considerations
SLOG is not a write cache. You only need it for sync writes. So databases, Block storage (iSCSI, zvols for VMs), and NFS.
I second having one box for ProxMox, the other as a file server. Not saying it cannot be done, just that there are enough mentions here of folk blowing up their data that I’d avoid it. But if you’re an expert, by all means go down that path!
Is your plan to have almost all storage on the TrueNAS VM and have the other VMs in Proxmox access it for all their storage? Were you planning on a second HBA?
Proxmox would get the boot device that the TrueNAS VM would use. (a motherboard M.2) TrueNAS would get everything attached to the HBA. I don’t know how well it will work to have all the storage on TrueNAS as you would have to have TrueNAS running before your bring up all the Proxmox VMs that require it, first.
I tried looking for Proxmox / TrueNAS posts but I didn’t see any good examples. You can try searching but YouTube has some bad examples, also.