[DRBD-user] Archlinux packaging

Seblu seblu at seblu.net
Mon Jan 30 09:52:57 CET 2012

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


Hello,

i'm working on adding drbd userspace tools to archlinux distribution.

When i load linux 3.2 drbd kernel module, it is recognised as 8.3.11.
3.3-rc seems to be the same.

# uname -r
3.2.2-1-ARCH
# cat /proc/drbd
version: 8.3.11 (api:88/proto:86-96)

8.4.1 userland tool suggest me to use older version, matching to
kernel one (8.3.11).

# drbdadm sh-nop
DRBD module version: 8.3.11
   userland version: 8.4.1
preferably kernel and userland versions should match.

So i try to switch to 8.3.11 userland but i got and error when i make

$ cd /tmp/drbd-8.3.11/drbd
$ make
Makefile:95: *** "won't compile with this kernel version".  Stop.

i read this page http://www.drbd.org/download/mainline/, but linux 3.2
is missing.

With linux 3.2, version 8.4.1 build correctly but there is some issues:
- without compat (--without-legacy_utils), nothing works!
- with compat, drbdadm always call it's shipped version 8.3, but
drbdsetup always return : "Could not connect to 'drbd' generic netlink
family".
- documentation, config of 8.3 and 8.4 is different, so by default
documentation/man pages doesn't fit with compat userland.

So my main question is, which userland version is recommended to be
used with linux 3.2 upstream drbd module?

Why there is a global version and not only api and proto version in
module? This would let userland be improved while compatibility with
api/proto doesn't change.


Cheers,

-- 
Sébastien Luttringer
www.seblu.net




More information about the drbd-user mailing list