[SOLVED] Proxmox PCIe passthrough for TrueNAS

kristian.kirilov

Well-Known Member
Nov 17, 2016
64
2
48
39
Hi there,
I'm doing something quite trivial I have this controller and 4 HDD disks attached to it:

Code:
root@sofx1010pve3307:~# dmesg |grep 2008
[    0.256490] DMAR: dmar0: reg_base_addr fed90000 ver 1:0 cap d2008c40660462 ecap f050da
[    3.309755] mpt2sas_cm0: LSISAS2008: FWVersion(20.00.07.00), ChipRevision(0x03), BiosVersion(07.39.02.00)
root@sofx1010pve3307:~#

For sure the PCI passthrough is working correctly because I'm able to see all the HDDs in the VM but - I perform the installation, reboot the server and when I try to boot it says:

Screenshot 2023-10-22 102746.png

Guess what, if I remove the PCI passthrough it boots like charm ;-))))

So far I've tried to change the type of the disk from Virtio to SCSI - no luck.

Here is the config of the VM:

Code:
root@sofx1010pve3307:~# cat /etc/pve/nodes/sofx1010pve3307/qemu-server/156.conf
#SERV%3A TrueNAS Scale Storage Appliance, HBA passthrough
#IP%3A 192.168.0.12
#VLAN%3A 30
#PAT%3A NONE
#STATUS%3A IN USE
balloon: 0
boot: order=ide2;scsi0
cores: 2
cpu: host
hostpci0: 0000:02:00.0
ide2: none,media=cdrom
memory: 8192
meta: creation-qemu=8.0.2,ctime=1697896791
name: sofx1010nas3012.home.lan
net0: virtio=12:34:56:8E:62:8C,bridge=vmbr0,tag=30
numa: 0
ostype: other
scsi0: temp-zfs-pool:vm-156-disk-0,iothread=1,size=16G
scsihw: virtio-scsi-single
smbios1: uuid=4110ab23-0400-44d7-9c28-780e25d3beac
sockets: 1
tags: testing
vmgenid: 85582caa-ee81-46cf-9557-3cde5e8aab84
root@sofx1010pve3307:~#

Any advises are more then welcomed.
Thanks :)
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!