DRBD 8.4 kernel crash when using same resource for 2 minors
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
drbd8 (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
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-
Status changed to 'Confirmed' because the bug affects multiple users.