PCIe Passthrough different ways

Dietmar0503

New Member
Feb 16, 2025
3
0
1
Hello i´m new with proxmox :)

i found different HowTos online but do i need them now yet?
i use Proxmox (version 8.3.3) and want to use a pci-e Controller for trunasscale

I´m able to select the Controller in the vm and it works. Without editing any config file.

But is it better to add grub information

Example for an Intel system: GRUB_CMDLINE_LINUX_DEFAULT="quiet intel_iommu=on"

and add the kernel modules

# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.
vfio
vfio_iommu_type1
vfio_pci
vfio_virqfd

or is that history from older proxmox versions to get passthrough working?
:(
 
Last edited:
No, you need to add the GRUB information. This is more of a TrueNAS Scale issue than a Proxmox issue. TrueNAS needs to have granular control of the PCI-e controller (HBA or whatever) in order for it to function correctly. Doing the GRUB/kernel modules exercise allows you to pass through the hardware in a way that TrueNAS believes it is operating on bare metal. In order to facilitate this, many people will use an LSI-style SAS/SATA host bus adapter and pass through the entire device. I use one of these instead,and it works wonderfully. I am using it because I don't have an available PCI slot for an LSI card.

https://www.newegg.com/p/17Z-0061-000D5

If you try to pass through the SATA adapter on your motherboard, you may run into issues. Proxmox still needs to be able to access the motherboard directly. In my case, I use the four motherboard SATA ports for my Proxmox drives, and I pass through just the M.2 adapter to TrueNAS scale.