Unable to Pass PCI-e HBA Controller to VM

Trudgn

New Member
Feb 4, 2025
1
0
1
Hi there! Having an issue with a new server build (Dell R730) running Proxmox as the hypervisor.

I'm trying to pass the controller (and therefore all disks) through to a TrueNAS VM. The R730 came with an H730 RAID Card which I switched to HBA mode, but I ran into the issue detailed below and figured I just needed a 'true' HBA card. Ordered an H330 which just arrived, and frustratingly I'm seeing the same error.

As soon as I add either controller as a PCI device on the VM config screen in Proxmox, my TrueNAS VM refuses to start and throws the following error:

Code:
kvm: -device vfio-pci,host=0000:83:00.0,id=hostpci0,bus=ich9-pcie-port-1,addr=0x0: vfio 0000:83:00.0: failed to setup container for group 37: Failed to set group container: Invalid argument
start failed: QEMU exited with code 1

I've read some threads that talk about device grouping, but both cards are confirmed to be in their own group.

I've tried switching machine types from q35 to pc-i440fx-7.2 which made no difference.

VM configuration:
Code:
balloon: 0
boot: order=scsi0;ide2;net0
cores: 14
cpu: host
hostpci0: 0000:06:00,pcie=1
ide2: local:iso/TrueNAS-SCALE-24.10.1.iso,media=cdrom,size=1830396K
machine: q35
memory: 65536
meta: creation-qemu=8.1.5,ctime=1736301600
name: TrueNAS
net0: virtio=BC:24:11:4D:CF:0C,bridge=vmbr0,firewall=1
numa: 0
onboot: 1
ostype: l26
scsi0: PVE-Alpha_vm_storage:vm-100-disk-0,iothread=1,size=32G
scsihw: virtio-scsi-single
smbios1: uuid=ffc1feb7-bfe0-4197-9072-eb284af5777c
sockets: 2
vmgenid: 36b87f6d-7031-4969-ad54-d125e0f3c595

lspci:
Code:
06:00.0 RAID bus controller [0104]: Broadcom / LSI MegaRAID SAS-3 3008 [Fury] [1000:005f] (rev 02)        
Subsystem: Dell PERC H330 Adapter [1028:1f44]        
Kernel driver in use: vfio-pci        
Kernel modules: megaraid_sas

83:00.0 RAID bus controller [0104]: Broadcom / LSI MegaRAID SAS-3 3108 [Invader] [1000:005d] (rev 02)
Subsystem: Dell PERC H730 Adapter [1028:1f43]
Kernel modules: megaraid_sas

GRUB:
Code:
GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet intel_iommu=on iommu=pt"
GRUB_CMDLINE_LINUX=""
 
Last edited: