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
Server 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

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to