Passthrough raid controller P420

krasz1

Member
Jul 5, 2022
1
0
6
Hello,

We are testing possiblities of creating cheap vsan with proxmox cluster. Therefore we decided to give starwind vsan software a go.
One of our nodes is old HP DL380P Gen8 and I am struggling with proper passthrough P420 raid controller in HBA mode to VM. If I dont passthrough P420 and dont block hpsa driver I can see controller and all disks in proxmox host. When I try to pass controller to starwind VM using your documentation (https://pve.proxmox.com/wiki/PCI(e)_Passthrough https://pve.proxmox.com/wiki/PCI_Passthrough#Verify_IOMMU_interrupt_remapping_is_enabled) effect is weird. Specifically, I blocked hpsa driver at proxmox host and added pci device in vm config. I can see raid controller inside vm using proper drvier but... there are no block devices...
GRUB config:
Code:
GRUB_CMDLINE_LINUX_DEFAULT="quiet intel_iommu=on,relax_rmrr iommu=pt intremap=no_x2apic_optout"
Modules in /etc/modules-load.d/vfio.conf:
Code:
vfio
vfio_iommu_type1
vfio_pci
additional modules options:
Code:
options vfio_iommu_type1 allow_unsafe_interrupts=1
options vfio-pci ids=103c:323b,103c:3351
Blacklist drivers:
Code:
blacklist hpsa

RAID controller inside VM:
raid in vm.png
but lsblk:
lsblk.png

Did I miss something? Can someone point me right direction?