Hello.
Briefly:
Is there any way to get systemd to ignore a specific PCI slot?
Alternately, is ther a way to disable automatic raid detection, so that it only detects the arrays actually specified in the mdadm.conf, and ignores other auto-detected arrays?
A bit longer:
I've installed proxmox on a new machine i've bought for the purpose, and I've got it up and running. I have two Broadcom 9300-8i HBA cards installed, one of which i've passed through to a VM.
The setup works quite nice, and the one card and disks are directly available on the PVE host, whie the other card and connected disks are available in the VM.
My one problem - at the moment - is, that every time I boot PVE, it gets stuck in the systemd rescue prompt, because it saw some disks earlier in the boot sequence. These disks are no longer available when it looks for them again later. The card and disks has been passed through to a VM, and are no longer available on the PVE server. When I press CTRL-D to continue, everything starts up without problems, as the disks are not used for PVE.
As both HBA cards are exactly the same model, blacklisting the driver in the boot sequence is probably not the best option here.
I've tried to disconnect the PCI card via udev rules and updated the initramfs, but those rules seem to come after systemd has done it's detection.
It's a bit annoying not being able to just restart the server without having to get to the console of the thing.
/Bjørn
Briefly:
Is there any way to get systemd to ignore a specific PCI slot?
Alternately, is ther a way to disable automatic raid detection, so that it only detects the arrays actually specified in the mdadm.conf, and ignores other auto-detected arrays?
A bit longer:
I've installed proxmox on a new machine i've bought for the purpose, and I've got it up and running. I have two Broadcom 9300-8i HBA cards installed, one of which i've passed through to a VM.
The setup works quite nice, and the one card and disks are directly available on the PVE host, whie the other card and connected disks are available in the VM.
My one problem - at the moment - is, that every time I boot PVE, it gets stuck in the systemd rescue prompt, because it saw some disks earlier in the boot sequence. These disks are no longer available when it looks for them again later. The card and disks has been passed through to a VM, and are no longer available on the PVE server. When I press CTRL-D to continue, everything starts up without problems, as the disks are not used for PVE.
As both HBA cards are exactly the same model, blacklisting the driver in the boot sequence is probably not the best option here.
I've tried to disconnect the PCI card via udev rules and updated the initramfs, but those rules seem to come after systemd has done it's detection.
It's a bit annoying not being able to just restart the server without having to get to the console of the thing.
/Bjørn