I had a minimal install of TrueNAS scale on AMD64 hardware that I transitioned to a Proxmox VM with storage passthrough. I have added several addon apps (Transmission, TDARR, and FileBrowser Quantum). The system bogs down and becomes unresponsive (file transfers from all shares & apps) after accessing files (reads & transfers). When it is this way CPU load is near 0%.
Thanks Fleshmauler. I did not blacklist the PCI device.
After research, I discovered multiple ways to blacklist devices. Which would method you recommend for an onboard AlderLake-S PCH SATA Controller?
Also, do you know why ProxMox doesn’t automatically blacklist hardware that is passed to a VM? Is there a usecase for other machines to access hardware that is assigned to another?
Personally I’d just spend the ~$30 on an HBA flashed to IT mode if you got a pcie slot open; reason is that proxmox also understands zfs & have been cases in the past with disk passthrough & Truenas virtualized on Proxmox that have caused data loss.
Passing through the controller on the motherboard leaves the interesting problem of how is proxmox still going to have an accessible boot drive
As for why things aren’t auto blacklisted? I guess for the reason above, also gives interesting options with virt-io & splitting a device into multiple virtualized “slices” to split between vms
The SATA Controller (8086:7ae2) appears to be discrete with all 8 ports used by HDDs assigned to the TrueNAS VM. Proxmox boots from a NVME SSD and a different controller (SM2263 or 126f:2263) on the MB (see lspci below). I have a PCIe slot, but was hoping to use it for a graphics card to pass through for transcoding. So I should be ok, no?
Also, should the vfio.conf file read “options vfio-pci ids=8086:7ae2 disable_vga=1”? I wasn’t sure if the disable_vga=1 argument meant disable the thing that I identified before for proxmox and reserve for the VM or disable the VGA controller that I identified before for proxmox and reserve for the VM.
Agreed - you should be fine to pass through that controller. There could be headaches if it has dependants or does more than just the sata drives.
I wish I could give more advice, but it has been too long since I setup proxmox for my vms & I also have truenas running on a different machine on bare metal, so I’m not sure if I have much less of use to add