Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 590872 - sys-cluster/drbd and sys-cluster/drbd-kernel removal request
Summary: sys-cluster/drbd and sys-cluster/drbd-kernel removal request
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Cluster Team
URL: http://git.linbit.com/drbd-8.4.git/bl...
Whiteboard: Pending removal: 2018-04-17
Keywords: PMASKED
Depends on: 642526
Blocks: 519358 591082 610950 616510
  Show dependency tree
 
Reported: 2016-08-09 11:49 UTC by Vladimir Romanov (RETIRED)
Modified: 2018-04-29 17:45 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Romanov (RETIRED) gentoo-dev 2016-08-09 11:49:46 UTC
Please add sys-cluster/drbd-8.4.5 to the portage tree
Comment 1 Coacher 2016-08-09 12:00:16 UTC
Considering 8.4.5 is from 2014, let's add 8.4.8 instead, which was released on 2016-07-18.
Comment 2 Vladimir Romanov (RETIRED) gentoo-dev 2016-08-10 08:59:15 UTC
I am suggesting 8.4.5 as this is drbd kernel module version as of current kernel. If you want drbd 8.4.8, then you need to update this module in gentoo-sources as well
Comment 3 Adam Randall 2016-10-28 04:00:26 UTC
We are currently sitting on the 3.12 because the sys-cluster/drbd is at 8.4.3. Kernels in the 4.* series are drbd > 8.4.3, and I won't want to be out of parity. If at all possible, we'd love to have something more than the 8.4.3 version available in portage.
Comment 4 Benjamin Beier 2016-10-31 12:40:18 UTC
Good News! :)
What you are requesting is actually already solved.
To avoid version mismatches Linbit decided to add full backwards compatibility to their userland packages.

In Gentoo those new packages are available as:
https://packages.gentoo.org/packages/sys-cluster/drbd-utils

So for kernel API version 8.4.5 you simply need to install a drbd-utils version >=8.9.0 and it will automatically use the userland tools that are compatible with your kernel.

In Gentoo this problem actually got solved in a different bug report months ago, but for some reason I can't find it anymore??

http://oss.linbit.com/drbd/
http://git.linbit.com/drbd-utils.git/
"DRBD userspace utilities (for 9.0, 8.4 and 8.3)"
Comment 5 Benjamin Beier 2016-10-31 12:41:52 UTC
Found the old report:
https://bugs.gentoo.org/show_bug.cgi?id=513928
Comment 6 Adam Randall 2016-10-31 18:24:17 UTC
That is good news, and I'm surprised I didn't see that. Thank you for looking into that for me!
Comment 7 Vladimir Romanov (RETIRED) gentoo-dev 2017-06-30 12:37:22 UTC
I've tried installing drbd-utils today, all works fine, but... What the purpose of drbd package then? Why not just delete it and use drbd-utils?
Comment 8 Pacho Ramos gentoo-dev 2017-12-15 22:21:37 UTC
Indeed, it seems drbd-utils replace this:
https://docs.linbit.com/docs/users-guide-8.4/
Comment 9 Pacho Ramos gentoo-dev 2018-02-26 15:45:09 UTC
(In reply to Pacho Ramos from comment #8)
> Indeed, it seems drbd-utils replace this:
> https://docs.linbit.com/docs/users-guide-8.4/

does it also replace sys-cluster/drbd-kernel ?
Comment 10 Benjamin Beier 2018-03-01 02:34:21 UTC
(In reply to Pacho Ramos from comment #9)
> (In reply to Pacho Ramos from comment #8)
> > Indeed, it seems drbd-utils replace this:
> > https://docs.linbit.com/docs/users-guide-8.4/
> 
> does it also replace sys-cluster/drbd-kernel ?

The DRBD kernel module got merged upstream (kernel.org) quite a while ago.
I think the latest Linux kernels come with DRBD version 8.4.5.
Maybe even a newer version already.

Device Drivers --->  Block devices --->
<*>   DRBD Distributed Replicated Block Device support

AFAIK there is no use for sys-cluster/drbd-kernel anymore, unless you want to use a really old DRBD version for some reason.
Comment 11 Pacho Ramos gentoo-dev 2018-03-01 08:01:59 UTC
OK :)
Comment 12 Pacho Ramos gentoo-dev 2018-04-29 17:45:57 UTC
removed