<div dir="ltr"><pre style="margin-top:1.5em;margin-bottom:1.5em;padding:0px;border:0px;outline:0px;font-size:13px;vertical-align:baseline;overflow:auto;color:black">Package: drbd-utils
Version: 9.15.0-1
Release: bullseye (stable)
Kernel: 5.10.0-10-amd64</pre><pre style="margin-top:1.5em;margin-bottom:1.5em;padding:0px;border:0px;outline:0px;font-size:13px;vertical-align:baseline;overflow:auto;color:black">Hi,<br></pre><pre style="margin-top:1.5em;margin-bottom:1.5em;padding:0px;border:0px;outline:0px;font-size:13px;vertical-align:baseline;overflow:auto;color:black">When I install the latest drbd-utils and attempt to configure a drbd device using a version 9 feature (e.g. more than 2 nodes), it fails to work:</pre><pre style="margin-top:1.5em;margin-bottom:1.5em;padding:0px;border:0px;outline:0px;font-size:13px;vertical-align:baseline;overflow:auto;color:black"># drbdadm adjust all
/etc/drbd.d/your_resource.res:1: in resource your_resource:<br> There are multiple host sections for the peer node.<br> Use the --peer option to select which peer section to use.<br>No valid meta data found</pre><pre style="margin-top:1.5em;margin-bottom:1.5em;padding:0px;border:0px;outline:0px;font-size:13px;vertical-align:baseline;overflow:auto;color:black"><br></pre><pre style="margin-top:1.5em;margin-bottom:1.5em;padding:0px;border:0px;outline:0px;font-size:13px;vertical-align:baseline;overflow:auto;color:black">I then noticed that the loaded drbd module is not 9 but 8.4.11 from linux-images:</pre><pre style="margin-top:1.5em;margin-bottom:1.5em;padding:0px;border:0px;outline:0px;font-size:13px;vertical-align:baseline;overflow:auto;color:black"># modinfo drbd<br>filename: /lib/modules/5.10.0-10-amd64/kernel/drivers/block/drbd/drbd.ko<br>alias: block-major-147-*<br>license: GPL<br>version: <b>8.4.11</b><br>description: drbd - Distributed Replicated Block Device <b>v8.4.11</b><br>vermagic: 5.10.0-10-amd64 SMP mod_unload modversions<br><br></pre><pre style="margin-top:1.5em;margin-bottom:1.5em;padding:0px;border:0px;outline:0px;font-size:13px;vertical-align:baseline;overflow:auto;color:black"># dpkg-query -S /lib/modules/5.10.0-10-amd64/kernel/drivers/block/drbd/drbd.ko<br>linux-image-5.10.0-10-amd64: /lib/modules/5.10.0-10-amd64/kernel/drivers/block/drbd/drbd.ko
I would guess that either linux-image or drbd-utils packages need to be updated to include and reference a newer module (drbd9.ko)?
<br></pre><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><pre style="font-size:13px;margin-top:1.5em;margin-bottom:1.5em;padding:0px;border:0px;outline:0px;vertical-align:baseline;overflow:auto;color:black">-Ben</pre></div></div></div>