Public bug reported:

When you use the same resource for 2 minors, it crashes the kernel. Of
course you should not do that, though I think it should not crash the
kernel. The expected output is just an error message. This makes DRBD
resource/minor management more difficult and also kind of dangerous.

DRBD 8.3 does not have this problem, probably because it works a bit
different with resources/minors.

Steps to reproduce:
* drbdsetup new-resource test1
* drbdsetup new-minor test1 1 0
* drbdsetup new-minor test1 3 0

It exits showing the message 'Killed'. The kernel log shows some errors
and DRBD is not usable anymore. After a short while or when executing
other drbdsetup commands, the whole system crashes.

I am not sure whether it's the utils package, or the kernel module.

System info:
Description:    Ubuntu 14.04 LTS
Release:        14.04
drbd8-utils version: 2:8.4.4-1ubuntu1
Installed kernel: linux-image-3.13.0-24-generic 3.13.0-24.47

** Affects: drbd8 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
High Availability Team, which is subscribed to drbd8 in Ubuntu.
https://bugs.launchpad.net/bugs/1317833

Title:
  DRBD 8.4 kernel crash when using same resource for 2 minors

Status in “drbd8” package in Ubuntu:
  New

Bug description:
  When you use the same resource for 2 minors, it crashes the kernel. Of
  course you should not do that, though I think it should not crash the
  kernel. The expected output is just an error message. This makes DRBD
  resource/minor management more difficult and also kind of dangerous.

  DRBD 8.3 does not have this problem, probably because it works a bit
  different with resources/minors.

  Steps to reproduce:
  * drbdsetup new-resource test1
  * drbdsetup new-minor test1 1 0
  * drbdsetup new-minor test1 3 0

  It exits showing the message 'Killed'. The kernel log shows some
  errors and DRBD is not usable anymore. After a short while or when
  executing other drbdsetup commands, the whole system crashes.

  I am not sure whether it's the utils package, or the kernel module.

  System info:
  Description:  Ubuntu 14.04 LTS
  Release:      14.04
  drbd8-utils version: 2:8.4.4-1ubuntu1
  Installed kernel: linux-image-3.13.0-24-generic 3.13.0-24.47

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/drbd8/+bug/1317833/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~ubuntu-ha
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~ubuntu-ha
More help   : https://help.launchpad.net/ListHelp

Reply via email to