PVE and DRBD 8.4.5

Hi Mir

I again with other question.

I have compiled DRBD 8.4.5 in PVE with "pve-kernel-2.6.32-34-pve", now i changed the kernel to "pve-kernel-3.10.0-5-pve", so my question is if I will need to reinstall the debian package that is generated with this new compilation.

Many thanks beforehand for your valuable help.

Best regards
Cesar
 
You would need to install the headers for the new kernel and then rebuild the packages against this kernel - perhaps the rebuilding part is handled by dkms.
 
You would need to install the headers for the new kernel and then rebuild the packages against this kernel - perhaps the rebuilding part is handled by dkms.

Hi mir, many thanks for your reply.

I don't use dkms, never worked for me, so i do the compilation manually.

Moreover, i know that i need the headers for do my compilation, that for me it isn't a problem, my doubt is about of the .deb file generated with the compilation of DRBD, if is need install again this .deb installer file generated by the compiler.

Best regards
Cesar
 
Hi Mir
I again with other problem

I have installed the "pve-kernel-3.10.0-5-pve" and "pve-kernel-2.6.32-34-pve" kernels in PVE, my compilations and installations of DRBD (kernel and utils) run very good when the kernel 2.6 version is running, but when the kernel 3.10 version is running, the history is other (i have always the kernel headers installed of the version of the active kernel before that i do any compilation).


My problem start when i run:
shell> module-assistant auto-install drbd8

Then i get in the TUI (Text User Interface) these messages error:


1) Bad luck, the kernel headers for the target kernel version could not be found and you did not specify other valid kernel headers to use.

2) If the running kernel has been shipped with the Debian distribution, please install the package linux-headers-3.10.0-5-pve. If your kernel source tree (or headers) is located in some non-usual location, please set the KERNELDIRS environment variable to the path of this directory, or (alternatively) specify the source directory we build for with the --kernel-dir option in module-assistant calls.

3) Package drbd8-module-source was not built successfully, see /var/cache/modass/drbd8-module-source*buildlog* for details!

The question:

What should i do for that the module-assistant finish his installation succesfully?
(please, give me the commands that i need execute)


Best regards
Cesar
 
Last edited:
You need to install the drbd-utils and drbd8-utils deb packages that are created when you build the drbd-utils repo.
This worked for me:

Code:
dpkg -i drbd-utils_8.9.1+linbit-1_amd64.deb drbd8-utils_8.9.1+linbit-1_amd64.deb drbd8-module-source_8.4.5-1_all.deb

module-assistant  -k /usr/src/linux-headers-3.10.0-5-pve build drbd8
module-assistant  -k /usr/src/linux-headers-3.10.0-5-pve install drbd8

Also, I think there is something wrong with DRBD 8.4.3 included with the Proxmox 3.10 kernel.
It has been behaving quite badly for me.
 
You need to install the drbd-utils and drbd8-utils deb packages that are created when you build the drbd-utils repo.
This worked for me:

Code:
dpkg -i drbd-utils_8.9.1+linbit-1_amd64.deb drbd8-utils_8.9.1+linbit-1_amd64.deb drbd8-module-source_8.4.5-1_all.deb

module-assistant  -k /usr/src/linux-headers-3.10.0-5-pve build drbd8
module-assistant  -k /usr/src/linux-headers-3.10.0-5-pve install drbd8

Also, I think there is something wrong with DRBD 8.4.3 included with the Proxmox 3.10 kernel.
It has been behaving quite badly for me.

Hi e100
Many thanks for the suggestion, with dkms I have solved the problem.

But now i have another problem: "quorum", in a PVE cluster of eight nodes, with PVE 2.3 version and 3.3

If you or anybody can help me, I'll be very grateful.
This is the link:
http://forum.proxmox.com/threads/20523-Quorum-problems-with-PVE-2-3-and-3-3

Best regards
Cesar
 
mir,

Could you please share your deb packages for DRBD 8.4.5 (ftp is not accessible any more)

Thanks in advance!
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!