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.
_______________________________________________
drbd-user mailing list
[email protected]
http://lists.linbit.com/mailman/listinfo/drbd-user

Reply via email to