Raspberry PI OS (Bookworm): How to install DRDB9 kernel module and packages?

Hi,

maybe my other questions were too much mixed with Proxmox stuff, and that’s the reason why I can’t get any response here. Still I am trying myself, but it seems there is an ultimate hurdle - at least for me.

On my RasPi, model 4, “modinfo drbd” always returns version 8.4.11. I couldn’t find a way to install the DRBD9 kernel module. I managed to install drbd-utils version 9.x somehow but the kernel module stays at 8.4.11.

So this time the question is strictly DRBD related and I hope for an answer:

How can I install the DRBD9 kernel module on my RasPi under Raspberry PI OS version Bookworm?

Thanks.

In debian bookworm is only drbd 8.
If you want drbd 9, you have to download the sources, build and install. But it only works with kernel 6.1.0-26. With kernel 6.1.0-27 the come errors (see my other posting)

Thank you very much. I am glad that I got and really appreciate your feedback.

In the meantime I tried to compile and - naturally - ran into errors. This has been the trigger to rethink what I want to achieve and what I do…at the PVE nodes as well as on the RasPi.

Being new to this stuff I might have over-complicated things. Up to now I had the idea

  • build a 2 node PVE cluster with HA (Proxmox HA or keepalived) and a qdevice on a RasPi
  • install LINSTOR / DRBD on the PVE cluster and make it HA in itself by including the RasPi as a diskless quorum node, but a diskless node that never mounts a storage resource over the network.

Now I think a much simpler way to reach my goal is

  • build a 2 node PVE cluster with HA (Proxmox HA or keepalived) and a qdevice on a RasPi
  • install DRBD9 on the PVE nodes (maybe even without LINSTOR?) without HA in itself and let PVE HA do the primary/secondary switch based on PVE cluster majority/quorum.