# DRBD modules missing after upgrade to SLES 15

**URL:** <https://forums.suse.com/t/drbd-modules-missing-after-upgrade-to-sles-15/33536>\
**Category:** SLES High Availability Extension\
**Created:** [February 14, 2019, 8:33am UTC](https://forums.suse.com/t/drbd-modules-missing-after-upgrade-to-sles-15/33536 "2019-02-14T08:33:50Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![johngoutbeck](https://avatars.discourse-cdn.com/v4/letter/j/439d5e/32.png) [@johngoutbeck](https://forums.suse.com/u/johngoutbeck)\
**Post date:** [February 14, 2019, 8:33am UTC](https://forums.suse.com/t/drbd-modules-missing-after-upgrade-to-sles-15/33536/1 "2019-02-14T08:33:50Z")

</div>

Upgraded from SLES 12 SP4 + HA to SLES 15 + HA  
Using DRBD on devices & HA cluster to have HA on the DRBD devices

after the upgrade, DRBD will not start

ISSUE  
nss-sn01:/ # drbdadm status  
modinfo: ERROR: Module drbd not found.  
modinfo: ERROR: Module drbd not found.  
modprobe: FATAL: Module drbd not found in directory /lib/modules/4.12.14-95.3-default  
Failed to modprobe drbd (No such file or directory)  
Command ‘drbdsetup status’ terminated with exit code 20  
command status exited with code 20

* * *

nss-sn01:/ # rpm -qa | grep drbd  
yast2-drbd-4.0.3-3.3.1.noarch  
drbd-9.0.13+git.b83ade31-3.2.1.x86\_64  
drbd-utils-9.3.1-1.21.x86\_64  
drbd-kmp-default-9.0.13+git.b83ade31\_k4.12.14\_23-3.2.1.x86\_64

nss-sn01:/ # systemctl status drbd -l  
â drbd.service - DRBD – please disable. Unless you are NOT using a cluster manager.  
Loaded: loaded (/usr/lib/systemd/system/drbd.service; disabled; vendor preset: disabled)  
Active: failed (Result: exit-code) since Wed 2019-02-13 22:05:13 MST; 13min ago  
Main PID: 13357 (code=exited, status=5)

Feb 13 22:05:13 nss-sn01 systemd[1]: Starting DRBD – please disable. Unless you are NOT using a cluster manager…  
Feb 13 22:05:13 nss-sn01 drbd[13357]: /lib/drbd/drbd: line 58: local: can only be used in a function  
Feb 13 22:05:13 nss-sn01 modprobe[13370]: FATAL: Module drbd not found in directory /lib/modules/4.12.14-95.3-default  
Feb 13 22:05:13 nss-sn01 drbd[13357]: Can not load the drbd module.  
Feb 13 22:05:13 nss-sn01 systemd[1]: drbd.service: Main process exited, code=exited, status=5/NOTINSTALLED  
Feb 13 22:05:13 nss-sn01 systemd[1]: Failed to start DRBD – please disable. Unless you are NOT using a cluster manager…  
Feb 13 22:05:13 nss-sn01 systemd[1]: drbd.service: Unit entered failed state.  
Feb 13 22:05:13 nss-sn01 systemd[1]: drbd.service: Failed with result ‘exit-code’.

nss-sn01:/ # uname -a  
Linux nss-sn01 4.12.14-95.3-default #1 SMP Wed Dec 5 06:00:48 UTC 2018 (63a8d29) x86\_64 x86\_64 x86\_64 GNU/Linux

nss-sn01:/ # cat /etc/os-release  
NAME=“SLES”  
VERSION=“15”  
VERSION\_ID=“15”  
PRETTY\_NAME=“SUSE Linux Enterprise Server 15”  
ID=“sles”  
ID\_LIKE=“suse”  
ANSI\_COLOR=“0;32”  
CPE\_NAME=“cpe:/o:suse:sles:15”

* * *

Don’t know if this has anything to do with this, but some files are missing compared to a working SLES12 SP4 + HA  
nss-sn01:/lib/modules/4.12.14-95.3-default # l weak-updates/updates/  
total 4  
drwxr-xr-x 1 root root 16 Feb 13 21:00 ./  
drwxr-xr-x 1 root root 14 Dec 14 18:47 …/  
lrwxrwxrwx 1 root root 51 Dec 14 18:47 crash.ko → /lib/modules/4.12.14-94.41-default/updates/crash.ko  
nss-sn01:/lib/modules/4.12.14-95.3-default #

–

used yast to updated the drbd modules - dd not help

Any comments, suggestion, fixes?

---

<div class="post-metadata">

**Author:** ![Automatic\_Reply](https://avatars.discourse-cdn.com/v4/letter/a/ecb155/32.png) [@Automatic\_Reply](https://forums.suse.com/u/Automatic_Reply)\
**Post date:** [February 20, 2019, 7:30am UTC](https://forums.suse.com/t/drbd-modules-missing-after-upgrade-to-sles-15/33536/2 "2019-02-20T07:30:27Z")

</div>

johngoutbeck,

It appears that in the past few days you have not received a response to your  
posting. That concerns us, and has triggered this automated reply.

These forums are peer-to-peer, best effort, volunteer run and that if your issue  
is urgent or not getting a response, you might try one of the following options:

- Visit [http://www.suse.com/support](http://www.suse.com/support) and search the knowledgebase and/or check all  
the other support options available.
- Open a service request: [https://www.suse.com/support](https://www.suse.com/support)
- You could also try posting your message again. Make sure it is posted in the  
correct newsgroup. ([http://forums.suse.com](http://forums.suse.com))

Be sure to read the forum FAQ about what to expect in the way of responses:  
[http://forums.suse.com/faq.php](http://forums.suse.com/faq.php)

If this is a reply to a duplicate posting or otherwise posted in error, please  
ignore and accept our apologies and rest assured we will issue a stern reprimand  
to our posting bot…

Good luck!

Your SUSE Forums Team  
[http://forums.suse.com](http://forums.suse.com)

---

<div class="post-metadata">

**Author:** ![Jens-U](https://avatars.discourse-cdn.com/v4/letter/j/d78d45/32.png) [@Jens-U](https://forums.suse.com/u/Jens-U)\
**Post date:** [February 20, 2019, 5:40pm UTC](https://forums.suse.com/t/drbd-modules-missing-after-upgrade-to-sles-15/33536/3 "2019-02-20T17:40:20Z")

</div>

Hi,

> FATAL: Module drbd not found in directory /lib/modules/4.12.14-95.3-default

what does “rpm -ql drbd-kmp-default-9.0.13+git.b83ade31\_k4.12.14\_23-3.2.1.x86\_64” report? That the file is placed in /lib/modules/4.12.14-23\*?

I have not installed SLES15 + HAE yet, but with earlier versions, there was a separate kernel shipped via HAE. Could you please check via according calls to “zypper se -s -i drbd” and “zypper se -s -ikernel”, that the packages come from the same (HAE) repository / channel?

What also caught my eye is the version mismatch 9.0.13 vs. 9.3.1:

- drbd-9.0.13+git.b83ade31-3.2.1.x86\_64
- drbd-kmp-default-9.0.13+git.b83ade31\_k4.12.14\_23-3.2.1.x86\_64

but

- drbd-utils-9.3.1-1.21.x86\_64

Regards,  
J

---

<div class="post-metadata">

**Author:** ![johngoutbeck](https://avatars.discourse-cdn.com/v4/letter/j/439d5e/32.png) [@johngoutbeck](https://forums.suse.com/u/johngoutbeck)\
**Post date:** [February 21, 2019, 6:25am UTC](https://forums.suse.com/t/drbd-modules-missing-after-upgrade-to-sles-15/33536/4 "2019-02-21T06:25:12Z")

</div>

Thanks for looking at this issue jmozdzen

output of commands you asked for.

* * *

nss-sn01:~ # rpm -ql drbd-kmp-default-9.0.13+git.b83ade31\_k4.12.14\_23-3.2.1.x86\_64  
/lib/modules/4.12.14-23-default  
/lib/modules/4.12.14-23-default/updates  
/lib/modules/4.12.14-23-default/updates/drbd.ko  
/lib/modules/4.12.14-23-default/updates/drbd\_transport\_tcp.ko  
nss-sn01:~ # zypper se -s -i drbd  
Loading repository data…  
Reading installed packages…

S | Name | Type | Version | Arch | Repository  
—±-----------------±--------±--------------------------------------±-------±------------------------  
i+ | drbd | package | 9.0.13+git.b83ade31-3.2.1 | x86\_64 | SLE-Product-HA15-Updates  
i | drbd-kmp-default | package | 9.0.13+git.b83ade31\_k4.12.14\_23-3.2.1 | x86\_64 | SLE-Product-HA15-Updates  
i | drbd-utils | package | 9.3.1-1.21 | x86\_64 | SLE-Product-HA15-Pool  
i+ | yast2-drbd | package | 4.0.3-3.3.1 | noarch | SLE-Product-HA15-Updates

Note: For an extended search including not yet activated remote resources please use ‘zypper  
search-packages’.  
nss-sn01:~ # zypper se -s -i kernel  
Loading repository data…  
Reading installed packages…

S | Name | Type | Version | Arch | Repository  
—±------------------±--------±----------------±-------±-------------------------------  
i+ | kernel-default | package | 4.12.14-95.3.1 | x86\_64 | (System Packages)  
i+ | kernel-default | package | 4.12.14-25.28.1 | x86\_64 | SLE-Module-Basesystem15-Updates  
i | kernel-firmware | package | 20190118-3.14.1 | noarch | SLE-Module-Basesystem15-Updates  
i+ | nfs-kernel-server | package | 2.1.1-6.10.2 | x86\_64 | SLE-Module-Basesystem15-Updates

## Note: For an extended search including not yet activated remote resources please use ‘zypper search-packages’.

It all looks OK

I trust these help with the diagnoses and fix.

And yes I did see the drbd packages difference.

---

<div class="post-metadata">

**Author:** ![Jens-U](https://avatars.discourse-cdn.com/v4/letter/j/d78d45/32.png) [@Jens-U](https://forums.suse.com/u/Jens-U)\
**Post date:** [February 21, 2019, 3:49pm UTC](https://forums.suse.com/t/drbd-modules-missing-after-upgrade-to-sles-15/33536/5 "2019-02-21T15:49:23Z")

</div>

Hi, John,

> S | Name | Type | Version | Arch | Repository  
> —±------------------±--------±----------------±-------±-------------------------------  
> i+ | kernel-default | package | 4.12.14-95.3.1 | x86\_64 | (System Packages)  
> i+ | kernel-default | package | 4.12.14-25.28.1 | x86\_64 | SLE-Module-Basesystem15-Updates

“(System packages)” usually points at packages that are not coming from (currently connected) repositories. Might it be you upgraded the kernel package from somewhere else, i.e. a temporarily attached reposirory?

If you’re not depending on the 4.12.14-95.3.1 kernel, you might want to test downgrading to the 4.12.14-25.28.1 kernel as provided by the SLE-Module-Basesystem15-Updates repository - my hope is that the DRBD kernel module (9.0.13+git.b83ade31\_k4.12.14\_23-3.2.1) might work with that kernel.

If you want to have a look at where that .95 kernel caes from, you could beforehand run “rpm -qi kernel-default” and save that output somewhere.

Regards,  
J

---

<div class="post-metadata">

**Author:** ![johngoutbeck](https://avatars.discourse-cdn.com/v4/letter/j/439d5e/32.png) [@johngoutbeck](https://forums.suse.com/u/johngoutbeck)\
**Post date:** [February 21, 2019, 9:23pm UTC](https://forums.suse.com/t/drbd-modules-missing-after-upgrade-to-sles-15/33536/6 "2019-02-21T21:23:50Z")

</div>

Thanks jmozdzen;

more info  
nss-sn01:~ # rpm -qi kernel-default  
Name : kernel-default  
Version : 4.12.14  
Release : 95.3.1  
Architecture: x86\_64  
Install Date: Fri Dec 14 18:47:02 2018  
Group : System/Kernel  
Size : 244114512  
License : GPL-2.0  
Signature : RSA/SHA256, Wed Dec 5 09:04:31 2018, Key ID 70af9e8139db7c82  
Source RPM : kernel-default-4.12.14-95.3.1.nosrc.rpm  
Build Date : Wed Dec 5 08:48:24 2018  
Build Host : sheep53  
Relocations : (not relocatable)  
Packager : [https://www.suse.com/](https://www.suse.com/)  
Vendor : SUSE LLC [https://www.suse.com/](https://www.suse.com/)  
URL : [http://www.kernel.org/](http://www.kernel.org/)  
Summary : The Standard Kernel  
Description :  
The standard kernel for both uniprocessor and multiprocessor systems.

Source Timestamp: 2018-12-05 06:00:48 +0000  
GIT Revision: 63a8d29f03cd2829d519ffb9ea2e3c56a36d0674  
GIT Branch: SLE12-SP4  
Distribution: SUSE Linux Enterprise 12  
Name : kernel-default  
Version : 4.12.14  
Release : 25.28.1  
Architecture: x86\_64  
Install Date: Wed Feb 13 20:54:49 2019  
Group : System/Kernel  
Size : 230703117  
License : GPL-2.0  
Signature : RSA/SHA256, Fri Jan 18 00:25:36 2019, Key ID 70af9e8139db7c82  
Source RPM : kernel-default-4.12.14-25.28.1.nosrc.rpm  
Build Date : Fri Jan 18 00:21:27 2019  
Build Host : sheep88  
Relocations : (not relocatable)  
Packager : [https://www.suse.com/](https://www.suse.com/)  
Vendor : SUSE LLC [https://www.suse.com/](https://www.suse.com/)  
URL : [http://www.kernel.org/](http://www.kernel.org/)  
Summary : The Standard Kernel  
Description :  
The standard kernel for both uniprocessor and multiprocessor systems.

## Source Timestamp: 2019-01-16 20:00:47 +0000 GIT Revision: dd6077c8eed7e05c2c9c81f1ad5c239067ab7ecb GIT Branch: SLE15 Distribution: SUSE Linux Enterprise 15 nss-sn01:~ #

Looking at the Grub2 menu, the older SLES 15 kernel was listed to boot from - menuentry ‘SLES 15, with Linux 4.12.14-25.28-default (recovery mode)’.  
So I rebooted the system and choose - submenu ‘Advanced options for SLES 15’, then the above entry.  
Now the system boot and startd DRBD

nss-sn01:~ # drbdadm status  
drbd01 role:Secondary  
disk:UpToDate  
nss-sn02 role:Primary  
peer-disk:UpToDate

drbd02 role:Secondary  
disk:UpToDate  
nss-sn02 role:Primary  
peer-disk:UpToDate

sbd01 role:Primary  
disk:UpToDate  
nss-sn02 role:Secondary  
peer-disk:UpToDate

sbd02 role:Secondary  
disk:UpToDate  
nss-sn02 role:Primary  
peer-disk:UpToDate

nss-sn01:~ # uname -a  
Linux nss-sn01 4.12.14-25.28-default #1 SMP Wed Jan 16 20:00:47 UTC 2019 (dd6077c) x86\_64 x86\_64 x86\_64 GNU/Linux  
nss-sn01:~ #

–  
Pacemaker started and put the resources on the proper node.

Seems to be working now, but not on the newest kernel.

Should I leave it this way? How to rebuild to the latest kernel with DRBD modules added.?

---

<div class="post-metadata">

**Author:** ![Jens-U](https://avatars.discourse-cdn.com/v4/letter/j/d78d45/32.png) [@Jens-U](https://forums.suse.com/u/Jens-U)\
**Post date:** [February 22, 2019, 8:03pm UTC](https://forums.suse.com/t/drbd-modules-missing-after-upgrade-to-sles-15/33536/7 "2019-02-22T20:03:19Z")

</div>

Hi John,

[QUOTE=johngoutbeck;56883]  
nss-sn01:~ # rpm -qi kernel-default  
Name : kernel-default  
Version : 4.12.14  
Release : 95.3.1  
Architecture: x86\_64  
Install Date: Fri Dec 14 18:47:02 2018  
Group : System/Kernel  
Size : 244114512  
License : GPL-2.0  
Signature : RSA/SHA256, Wed Dec 5 09:04:31 2018, Key ID 70af9e8139db7c82  
Source RPM : kernel-default-4.12.14-95.3.1.nosrc.rpm  
Build Date : Wed Dec 5 08:48:24 2018  
Build Host : sheep53  
Relocations : (not relocatable)  
Packager : [https://www.suse.com/](https://www.suse.com/)  
Vendor : SUSE LLC [https://www.suse.com/](https://www.suse.com/)  
URL : [http://www.kernel.org/](http://www.kernel.org/)  
Summary : The Standard Kernel  
Description :  
The standard kernel for both uniprocessor and multiprocessor systems.

Source Timestamp: 2018-12-05 06:00:48 +0000  
GIT Revision: 63a8d29f03cd2829d519ffb9ea2e3c56a36d0674  
GIT Branch: SLE12-SP4  
Distribution: SUSE Linux Enterprise 12

[extra lines inserted for visual clarity]

Name : kernel-default  
Version : 4.12.14  
Release : 25.28.1  
Architecture: x86\_64  
Install Date: Wed Feb 13 20:54:49 2019  
Group : System/Kernel  
Size : 230703117  
License : GPL-2.0  
Signature : RSA/SHA256, Fri Jan 18 00:25:36 2019, Key ID 70af9e8139db7c82  
Source RPM : kernel-default-4.12.14-25.28.1.nosrc.rpm  
Build Date : Fri Jan 18 00:21:27 2019  
Build Host : sheep88  
Relocations : (not relocatable)  
Packager : [https://www.suse.com/](https://www.suse.com/)  
Vendor : SUSE LLC [https://www.suse.com/](https://www.suse.com/)  
URL : [http://www.kernel.org/](http://www.kernel.org/)  
Summary : The Standard Kernel  
Description :  
The standard kernel for both uniprocessor and multiprocessor systems.

Source Timestamp: 2019-01-16 20:00:47 +0000  
GIT Revision: dd6077c8eed7e05c2c9c81f1ad5c239067ab7ecb  
GIT Branch: SLE15  
Distribution: SUSE Linux Enterprise 15  
nss-sn01:~ #[/QUOTE]

looking at the install dates of these packages and the “Distribution” info, you can see that the 4.12.14-95.3.1 kernel is from the old SLES12 system. With other words, it’s not “the latest kernel” with regards to your SLES15 channels.

I recommend to remove that old kernel from your system, and a call to “rpm -qa|grep 95.3.1” might reveal some other packages related to that kernel which can also be deleted. "rpm -qa |grep ‘System packages’ " might list more orphans from SLES12, which then will have to be looked at individually - it’s you to decide what to do with them :-/

Regards,  
J

---

<div class="post-metadata">

**Author:** ![johngoutbeck](https://avatars.discourse-cdn.com/v4/letter/j/439d5e/32.png) [@johngoutbeck](https://forums.suse.com/u/johngoutbeck)\
**Post date:** [June 22, 2019, 12:18am UTC](https://forums.suse.com/t/drbd-modules-missing-after-upgrade-to-sles-15/33536/8 "2019-06-22T00:18:38Z")

</div>

I should have replied sooner.

I wiped out the boot HD and clean install SLES 15 + HA extension.

All works well now.
