Knowledge Base
linbit.com Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

Rebuilding the DRBD Kernel Module Without Reinstalling the DEB Package

If you ever need to rebuild the drbd-dkms (or any dkms) kernel module source code package without uninstalling the package and reinstalling the package, you can use the following workflow:

# dkms remove drbd/9.0.16-1 -k $(uname -r)

# dkms build drbd/9.0.16-1 -k $(uname -r)

# dkms install drbd/9.0.16-1 -k $(uname -r)

📝 NOTE: Substitute the DRBD version number on your system for 9.0.16-1 shown in the commands


Reviewed 2020/12/02 - DGT