Bug 204623 - 'drbdadm up' report error on this kernel but not on 5.1.15
Summary: 'drbdadm up' report error on this kernel but not on 5.1.15
Status: NEW
Alias: None
Product: Other
Classification: Unclassified
Component: Other (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: other_other
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-08-19 20:03 UTC by Manhong Dai
Modified: 2019-08-21 17:13 UTC (History)
1 user (show)

See Also:
Kernel Version: 5.2.9
Subsystem:
Regression: No
Bisected commit-id:


Attachments

Description Manhong Dai 2019-08-19 20:03:46 UTC
After 'drbdadm create-md t1', 'drbdadm up t1' reports this error

t1: Invalid argument
Command 'drbdsetup-84 new-resource t1' terminated with exit code 20
drbdadm: new-minor t1: skipped due to earlier error


After downgrading drbdadm from 9.10.0 to to 9.7.0, the problem persists

After downgrading kernel from 5.2.9 to 5.1.15, the problem is fixed.

BTW, I use Arch Linux. t1 is a loop device attached to a local disk file.
Comment 1 Dennis 2019-08-21 16:51:17 UTC
Same here

Kernel 5.1.16 OK

Kernel 5.2.2 FAIL
drbdsetup new-resource r0
r0: Invalid argument
Comment 2 Dennis 2019-08-21 17:13:50 UTC
Hey, 

It's working with the new (not stable) drbd-utils.

Look this:
https://www.mail-archive.com/openembedded-devel@lists.openembedded.org/msg64900.html

Note You need to log in before you can comment on or make changes to this bug.