Hi,
Finally moved one of my bare metal TrueNAS servers to a VM on PVE. Works fine so far and the power consumption of the PVE host only increased by 40W while I save 80W by not running an additional server, which was the main goal. The 16 disks are attached to two Dell PERC H310 flashed to IT-mode, so its basically a LSI SAS2008 HBA and I PCI passthrough those two HBAs into the VM. The HBAs reset properly and I can start/stop the TrueNAS VM as often as I like. But one annoying thing is, that PVE is seeing the disks as long as the VM isn't started yet. This screws up my external monitoring.
My idea was to blacklist the HBA drivers so PVE won't use the HBAs and can't see the disks. I tried it like blacklisting the GPU drivers for GPU passthough.
Find out what kernel modules the HBAs are using:
Blacklisting it:
I rebooted the server but PVE is still showing the disks attached to the HBAs.
What am I missing here?
Finally moved one of my bare metal TrueNAS servers to a VM on PVE. Works fine so far and the power consumption of the PVE host only increased by 40W while I save 80W by not running an additional server, which was the main goal. The 16 disks are attached to two Dell PERC H310 flashed to IT-mode, so its basically a LSI SAS2008 HBA and I PCI passthrough those two HBAs into the VM. The HBAs reset properly and I can start/stop the TrueNAS VM as often as I like. But one annoying thing is, that PVE is seeing the disks as long as the VM isn't started yet. This screws up my external monitoring.
My idea was to blacklist the HBA drivers so PVE won't use the HBAs and can't see the disks. I tried it like blacklisting the GPU drivers for GPU passthough.
Find out what kernel modules the HBAs are using:
Code:
lspci -nk
...
03:00.0 0107: 1000:0072 (rev 03)
Subsystem: 1028:1f1c
Kernel driver in use: mpt3sas
Kernel modules: mpt3sas
04:00.0 0107: 1000:0072 (rev 03)
Subsystem: 1028:1f1c
Kernel driver in use: mpt3sas
Kernel modules: mpt3sas
...
Blacklisting it:
echo "blacklist mpt3sas" >> /etc/modprobe.d/blacklist.conf
I rebooted the server but PVE is still showing the disks attached to the HBAs.
What am I missing here?