Proxmox 1.9 kernel has DRBD 8.3.10, but lenny provides userland of 8.3.7.
It is advisable to have a DRBD userland version that matches the kernel module version.
If you have a bunch of machines that need updated you can roll your own debian package for DRBD userland like this:
Install the necessary build tools:
apt-get install git-core git-buildpackage fakeroot debconf-utils docbook-xml docbook-xsl dpatch xsltproc autoconf flex
Build the package:
mkdir drbd
cd drbd
git clone http://git.drbd.org/drbd-8.3.git
cd drbd-8.3
git checkout drbd-8.3.10
dpkg-buildpackage -rfakeroot -b -uc
NOTE: The "git checkout" command is not necessary today since 8.3.10 is the latest version.
According to my understanding of the drbd documentation if there is ever a newer version for 8.3 that is the correct way to get the specific version you want to build.
To install the newer version of the userland:
dpkg -i drbd8-utils_8.3.10-0_amd64.deb
It is advisable to have a DRBD userland version that matches the kernel module version.
If you have a bunch of machines that need updated you can roll your own debian package for DRBD userland like this:
Install the necessary build tools:
apt-get install git-core git-buildpackage fakeroot debconf-utils docbook-xml docbook-xsl dpatch xsltproc autoconf flex
Build the package:
mkdir drbd
cd drbd
git clone http://git.drbd.org/drbd-8.3.git
cd drbd-8.3
git checkout drbd-8.3.10
dpkg-buildpackage -rfakeroot -b -uc
NOTE: The "git checkout" command is not necessary today since 8.3.10 is the latest version.
According to my understanding of the drbd documentation if there is ever a newer version for 8.3 that is the correct way to get the specific version you want to build.
To install the newer version of the userland:
dpkg -i drbd8-utils_8.3.10-0_amd64.deb
Last edited by a moderator: