Confusion about DRBD versions in Linux

I have a (probably very basic) question about DRBD versions: How do I know, what version I am using?
On Debian 12 for example I get this:

root@debian12:/# apt list "*drbd*"
drbd-doc/stable 8.4~20220106-1 all
drbd-utils/stable 9.22.0-1 amd64

root@debian12:/# dpkg -l | grep -i drbd
ii  drbd-utils              9.22.0-1              amd64        RAID 1 over TCP/IP for Linux (user utilities)

But at the same time I see this:

root@debian12:/# modinfo drbd
filename:       /lib/modules/6.1.0-16-amd64/kernel/drivers/block/drbd/drbd.ko
alias:          block-major-147-*
license:        GPL
version:        8.4.11
description:    drbd - Distributed Replicated Block Device v8.4.11
author:         Philipp Reisner <>, Lars Ellenberg <>
srcversion:     488C1124B879DCE7CD031DA
depends:        lru_cache,libcrc32c
retpoline:      Y
intree:         Y
name:           drbd
vermagic:       6.1.0-16-amd64 SMP preempt mod_unload modversions 
sig_id:         PKCS#7
signer:         Debian Secure Boot CA
sig_key:        32:A0:28:7F:84:1A:03:6F:A3:93:C1:E0:65:C4:3A:E6:B2:42:26:43
sig_hashalgo:   sha256
signature:      89:86:E7:81:36:C4:CF:ED:06:87:39:89:5D:94:A9:A5:66:81:8C:8B:
parm:           allow_oos:DONT USE! (bool)
parm:           disable_sendpage:bool
parm:           proc_details:int
parm:           minor_count:Approximate number of drbd devices (1-255) (uint)
parm:           usermode_helper:string

So my forty-two dollar question is this: Am I using DRBD 8 or 9?
Background of my question: I want to know which commands to use when referring to the docs, which make a distinction between the two versions at times.

Sometime ago we split out the utils and the module versions. It makes it slightly confusing, but sped development. So according to your post, you’re using the 9.22.0 utils but the 8.4.11 module.

1 Like

Thanks for the confirmation @BHellman! :pray:

Now if I am reading your docs right, the lower software version dictates which docs I need to use.
Meaning in my example I have 9.22.0 and 8.4.11 so I want to refer to entirely and not even look at Right?

Your welcome :slight_smile:

Correct, 8.4 users guide since that will have the features your kmod supports.

1 Like

Thanks again for confirming!

I cannot mark your first reply as the answer to my question, so if you can do that, please go ahead. :v: