[DRBD-user] DRBD packages for Proxmox 4.x

Jasmin J. jasmin at anw.at
Sun Nov 27 04:31:43 CET 2016

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


Hello Christoph!

THX for the links!
And hey, you did all the work already, including the DKMS packet!
Many many thanks!

> (We also include a patch important for kernels 4.0-4.9 that probably has
> not made it into Debian or Proxmox repositories yet)
The DRBD 8.4.9-1 package doesn't contain this patch. It has been commited to
the GIT repo on 2016-11-08 two weeks later than the package release date.
Your DKMS package contains a slightly modified version of the patch, but still
fixes the issue.

@Linbit:
BUT!!!
I just checked the DRDB9 code.
In file "drbd_transport_tcp.c" function "_dtt_send" and the code is still the
same like in the DRDB8 version.
Attached you will find a patch to fix this issue.
I haven't compiled it, because I have currently no compiler on my server and
also no virtual machine available. The fix is pretty simple and should compile
flawlessly.
And you should remove the comment above concerning tcp_sendmsg, because
tcp_sendmsg DOES use it's send parameter see:
   http://lxr.linux.no/linux+v4.4.21/net/ipv4/tcp.c (line 1103)
There is another comment "/* THINK ..." which I don't know if it should be
kept.

@R. Kammerer:
In a recent message in this thread I wrote:
   "And the most important, I try to share it afterwards with others."
You see, it is past 4 o'clock in the night and I am helping to improve your
driver, even when you recently wrote I write "BS"!

 > No, currently (and kind of Thanks to a certain bug), you don't ;-)
A big THANK you for fixing this!

 > For DRBD9 and drbd-utils there is a Launchpad PPA targeting Ubuntu trusty &
 > xenial. Their xenial packages might work with Debian jessie.
 > https://launchpad.net/~linbit/+archive/ubuntu/linbit-drbd9-stack
This is good news also. I really didn't analyse the drbd-utils code, but for
me it seems you can use this user-mode tools for all DRBD versions. So I would
prefer the variant from your Debian package, as Proxmox VE 4.x is Debian based,
beside the Kernel (Ubuntu version).
The 9.0.5-1 driver package is a DKMS, so it will compile for each Kernel.
Also here I say THX to Linbit for providing this package!

So my originally questions are now mostly answered, as far as they affect my
test HA cluster.

There is still one thing open, the DRDB9 storage plugin package for Proxmox VE
4.x .

BR,
    Jasmin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-drbd9-Fix-kernel_sendmsg-usage-potential-NULL-deref.patch
Type: text/x-patch
Size: 1348 bytes
Desc: not available
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20161127/ff7d33d5/attachment.bin>


More information about the drbd-user mailing list