Proxmox VE 4.1 Different DRBD Utils / KMOD?

fork

New Member
Mar 15, 2016
5
1
1
45
Hi,

I have a working drbd-dual-primary non-HA cluster setup here based on custom debian jessie installation. What irritates me is that /proc/drbd is not showing any information.

Code:
root@kvm08:/lib# cat /proc/drbd 

version: 9.0.1-1 (api:2/proto:86-111)
GIT-hash: 3d38916489fac62b036d8e79d3fcd81d318ca4cb build by root@elsa, 2016-02-26 16:42:55
Transports (api:14): tcp (1.0.0)

When I look at the package version drbd8-utils 2:8.9.4-1 and the source of the packages...

Code:
root@kvm08:/lib# apt-cache policy drbd-utils
drbd-utils:
  Installiert:           8.9.4-1
  Installationskandidat: 8.9.4-1
  Versionstabelle:
 *** 8.9.4-1 0
        500 http://download.proxmox.com/debian/ jessie/pve-no-subscription amd64 Packages
        100 /var/lib/dpkg/status
     8.9.2~rc1-2+deb8u1 0
        500 http://ftp2.de.debian.org/debian/ jessie/main amd64 Packages

...it shows the current drbd-utils package from proxmox is installed.

When I look at the kernel module of the current active kernel, it show this information:

Code:
root@kvm08:/lib# modinfo /lib/modules/4.2.8-1-pve/kernel/drivers/block/drbd/drbd.ko
...
filename:       /lib/modules/4.2.8-1-pve/kernel/drivers/block/drbd/drbd.ko
alias:          block-major-147-*
version:        9.0.1-1
description:    drbd - Distributed Replicated Block Device v9.0.1-1
vermagic:       4.2.8-1-pve SMP mod_unload modversions 
...

I wonder if this is a mixup of drbd-utils from drbd stable with the kernel module of the upcoming version 9 of drbd?
 
Environment:
Code:
pvesh get version
...
  "release" : "15",
  "repoid" : "8cd55b52",
  "version" : "4.1"
 
Found what I'd looked for -- /proc/drbd is deprecated. Version 9 removed the expected Informations from /proc/drbd.

From: https://drbd.linbit.com/en/doc/users-guide-90/s-check-status#s-proc-drbd
'/proc/drbd' is deprecated. While it won’t be removed in the 8.4 series, we recommend to switch to other means, like Section 5.2.3, “Status information via drbdadm”; or, for monitoring even more convenient, Section 5.2.4, “One-shot or realtime monitoring via drbdsetup events2”.
 
  • Like
Reactions: aasami