Skip to content

Compile DRBD kernel modules from source and load them into the host kernel

License

Notifications You must be signed in to change notification settings

containerman17/drbd-driver-loader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

drbd-driver-loader

This is a collection of Piraeus container images containing the DRBD kernel source code that can be used to compile DRBD kernel modules from source and load them into the host kernel.

How to use

Note that for this to work, the kernel headers are bind-mounted from the host to the container. Therefore, you need to install the according headers on the host system (e.g., yum install kernel-devel).

LINBIT provides containers that can directly install pre-built kernel modules on the host without compiling/the requirement to have kernel headers installed.

RHEL/Centos systems:

docker run -it --rm --privileged \
   -v /lib/modules:/lib/modules:ro -v /usr/src:/usr/src:ro \
   piraeusdatastore/drbd9-centos7:latest

Ubuntu based systems:

docker run -it --rm --privileged \
   -v /lib/modules:/lib/modules:ro -v /usr/src:/usr/src:ro -v /usr/lib:/usr/lib:ro \
   piraeusdatastore/drbd9-bionic:latest

Registries

How does this differ from LINBIT's LINSTOR?

The containers we provide in the Piraeus project are Debian based and packages get installed from a PPA. These are maintained at a best effort basis, but make sure to understand the differences between these packages and the ones provided by LINBIT for its customers.

Container used for module loading are based on Centos/Ubuntu.

Additionally, container images provided by LINBIT as commercal offer on drbd.io, are based on RHEL/UBI images and are for example OpenShift certified.

Maintainer workflow

  • make update TAG=v1.0.0 NOCACHE=true
  • make upload TAG=v1.0.0 REGISTRY='quay.io/piraeusdatastore piraeusdatastore'

About

Compile DRBD kernel modules from source and load them into the host kernel

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published