PCI Passthrough has been discussed many times, but I cannot find information on my use case. I have gotten PCI Passthrough to work on my previous system just fine when passing a HBA to my OpenMediaVault VM with PVE 5.3.
On my current system, I installed PVE 6.1 and hit a snag. I now have two of the same HBA controllers in the system. Both are good ol' SAS2008 LSI controllers using the same driver and have the same vendor ID codes. The only way to distinguish them is the Bus ID's. One of the SAS2008 controllers contains the Proxmox boot and vmfs drives. The other is passed to OpemMediaVault. In my initial attempt, I rolled through the PCI Passthrough How To, as I did previously, and blacklisted the driver for the device.... OOPS. There went access to my boot drives! After removing the blacklisted driver via LiveCD, I gave PCI Passthrough to OMV a try, and it worked! The VM booted and I had access to the drives on the passed HBA.
However, I got disconcerting messages on the servers login screen (log messages?) indicating that drives from the Linux RAID that is on the passed HBA were failing and that the RAID was operating on reduced drive count. I got a few of these errors back-to-back with the available drive count in the RAID decreasing by 1 each message. I confirmed that with the OMV VM off, Proxmox can see drives from both HBA controllers and as soon as I booted OMV, the drives on the passed HBA controller were no longer visible in Proxmox. My guess is that when the OMV VM boots, and takes control of the passed HBA and its attached drives, Proxmox sees the disappearance of the drives in the RAID as some kind of failure? An uncomfortable scenario.
Since blacklisting the driver is not an option (as I need to be able to boot), is there any other way to tell ProxMox to ignore a device based on PCI Bus ID (address?) so that it never sees the HBA being passed in the first place? That seems like the way this should be configured and how my old system operated as the HBA for the boot drives was different than the HBA for OMV pass through, so the driver blacklist was not a problem then. Or is there no real concern to striping the drives from ProxMox when the HBA access is passed and I can safely ignore the error/warning messages since I know (or think I know) what is happening? Since the OMV VM is set to boot automatically and the server is not restarted often in normal use, this situation doesn't happen often. However, if it could be destructive in some way to the drives on the passed HBA, I would like to correct it.
Appreciate the help in understanding this better! Thanks!
On my current system, I installed PVE 6.1 and hit a snag. I now have two of the same HBA controllers in the system. Both are good ol' SAS2008 LSI controllers using the same driver and have the same vendor ID codes. The only way to distinguish them is the Bus ID's. One of the SAS2008 controllers contains the Proxmox boot and vmfs drives. The other is passed to OpemMediaVault. In my initial attempt, I rolled through the PCI Passthrough How To, as I did previously, and blacklisted the driver for the device.... OOPS. There went access to my boot drives! After removing the blacklisted driver via LiveCD, I gave PCI Passthrough to OMV a try, and it worked! The VM booted and I had access to the drives on the passed HBA.
However, I got disconcerting messages on the servers login screen (log messages?) indicating that drives from the Linux RAID that is on the passed HBA were failing and that the RAID was operating on reduced drive count. I got a few of these errors back-to-back with the available drive count in the RAID decreasing by 1 each message. I confirmed that with the OMV VM off, Proxmox can see drives from both HBA controllers and as soon as I booted OMV, the drives on the passed HBA controller were no longer visible in Proxmox. My guess is that when the OMV VM boots, and takes control of the passed HBA and its attached drives, Proxmox sees the disappearance of the drives in the RAID as some kind of failure? An uncomfortable scenario.
Since blacklisting the driver is not an option (as I need to be able to boot), is there any other way to tell ProxMox to ignore a device based on PCI Bus ID (address?) so that it never sees the HBA being passed in the first place? That seems like the way this should be configured and how my old system operated as the HBA for the boot drives was different than the HBA for OMV pass through, so the driver blacklist was not a problem then. Or is there no real concern to striping the drives from ProxMox when the HBA access is passed and I can safely ignore the error/warning messages since I know (or think I know) what is happening? Since the OMV VM is set to boot automatically and the server is not restarted often in normal use, this situation doesn't happen often. However, if it could be destructive in some way to the drives on the passed HBA, I would like to correct it.
Appreciate the help in understanding this better! Thanks!