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

**URL:** https://forums.linbit.com/t/raspberry-pi-os-bookworm-how-to-install-drdb9-kernel-module-and-packages/448
**Category:** DRBD
**Tags:** drbd
**Created:** [November 20, 2024, 12:45pm UTC](https://forums.linbit.com/t/raspberry-pi-os-bookworm-how-to-install-drdb9-kernel-module-and-packages/448 "2024-11-20T12:45:23Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![proxmeup](https://avatars.discourse-cdn.com/v4/letter/p/e47774/32.png) [@proxmeup](https://forums.linbit.com/u/proxmeup)
#### Post date: [November 20, 2024, 12:45pm UTC](https://forums.linbit.com/t/raspberry-pi-os-bookworm-how-to-install-drdb9-kernel-module-and-packages/448/1 "2024-11-20T12:45:23Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![joerg66](https://avatars.discourse-cdn.com/v4/letter/j/e99b99/32.png) [@joerg66](https://forums.linbit.com/u/joerg66)
#### Post date: [November 20, 2024, 7:15pm UTC](https://forums.linbit.com/t/raspberry-pi-os-bookworm-how-to-install-drdb9-kernel-module-and-packages/448/2 "2024-11-20T19:15:33Z")

</div>

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)

---

<div class="post-metadata">

### Author: ![proxmeup](https://avatars.discourse-cdn.com/v4/letter/p/e47774/32.png) [@proxmeup](https://forums.linbit.com/u/proxmeup)
#### Post date: [November 21, 2024, 7:18am UTC](https://forums.linbit.com/t/raspberry-pi-os-bookworm-how-to-install-drdb9-kernel-module-and-packages/448/3 "2024-11-21T07:18:18Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![proxmeup](https://avatars.discourse-cdn.com/v4/letter/p/e47774/32.png) [@proxmeup](https://forums.linbit.com/u/proxmeup)
#### Post date: [January 12, 2025, 2:58pm UTC](https://forums.linbit.com/t/raspberry-pi-os-bookworm-how-to-install-drdb9-kernel-module-and-packages/448/4 "2025-01-12T14:58:58Z")

</div>

Just to link loose ends and save another SOHO user time and effort: you will find needed information for Raspberry Pi (raspi) integration into a DRBD setup as quorum / tie breaker in this thread:

[Proxmox: no DRBD storage while LINBIT controller is down](https://forums.linbit.com/t/proxmox-no-drbd-storage-while-linbit-controller-is-down/489/27)

This is for Open Source users. LINBIT customers can presumably just use the official repos or should ask LINBIT support first.
