[DRBD-user] Device name change 8.4.3 to 8.4.6?

Charles Lyons - ConnetU charles at connetu.com
Fri May 1 15:00:08 CEST 2015

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


Hi all,

Previously we've been using DRBD kernel 8.4.3 and userland tools 8.4.3.

We've just loaded a new mirror pair with kernel module version 8.4.6 and 
tools 8.9.2.

However, some things have broken because the create /dev/ device name is 
not matching what is expected - here is an example config:

resource drbd0061 {
  protocol C;
  net {
   allow-two-primaries;
  }
  disk {
   on-io-error detach;
  }
  on machine1 {
   device /dev/drbd0061;
   disk /dev/vg_ssd/vol0061;
   address 10.0.0.6:7001;
   meta-disk internal;
  }
  on machine2 {
   device /dev/drbd0061;
   disk /dev/vg_ssd/vol0061;
   address 10.0.0.7:7001;
   meta-disk internal;
  }
}


This used to create a device:

/dev/drbd0061

However, the device now created is:

/dev/drbd61

without the leading 0s in the number, on the primary machine.

This therefore breaks other associations which expect "/dev/drbd0061" in 
entirety to be present.

I can't find any mention of this as a change in the release notes. It's 
almost as if it's not recognising my desired configured device name (and 
defaulting to another minor), or using a sprintf now formatting using a 
%d rather than %s for the device name.


Is there a specific problem with my configuration, was there a planned 
change in the source, or is this a bug introduced?


Thanks in advance for any input.

Charles.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20150501/053f111e/attachment.htm>


More information about the drbd-user mailing list