[SOLVED] two identical IT raid card, how do I know which is which when pass through

Ting

Member
Oct 19, 2021
106
5
23
57
Hi,

I have two IT raid cards, one is pci 8, other is pci9, when I am passing through one of card to a vm, how do i know which is which? IOMM number is smaller one I assume is the one on pci8? please kindly advise.
 
The output of the IOMMU groups would help (in CODE-tag): https://pve.proxmox.com/wiki/PCI_Passthrough#Verify_IOMMU_isolation
Are they both the same exact device (does lspci -nn show the same [xyzwabcd] number)? If the device resets properly then this does not really matter. Only if early binding to vfio-pci or blacklisting is required then this is problematic.
ls -l /dev/disk/by-path/ might help to figure out which drive is connected to which PCI(e) device.