[DRBD-user] DRBD 9: 3-node mirror error (Low.dev. smaller than requested DRBD-dev. size.)

Paul Clements paul.clements at us.sios.com
Mon Jul 22 21:55:35 CEST 2019

Thanks for the tip. I tried it, but no luck. Did this on all three
nodes. Same output:

[root at sios0 ~]# dd if=/dev/zero of=/dev/dm-0 bs=4k
dd: error writing '/dev/dm-0': No space left on device
18358273+0 records in
18358272+0 records out
75195482112 bytes (75 GB) copied, 165.102 s, 455 MB/s

[root at sios0 ~]# drbdadm wipe-md r0
There appears to be no drbd meta data to wipe out?

[root at sios0 ~]# drbdadm create-md --max-peers=3 r0
initializing activity log
initializing bitmap (6724 KB) to all zero
Writing meta data...
New drbd meta data block successfully created.

[root at sios0 ~]# drbdadm up r0
0: Failure: (111) Low.dev. smaller than requested DRBD-dev. size.
Command 'drbdsetup attach 0 /dev/dm-0 /dev/dm-0 internal' terminated
with exit code 10

[root at sios0 ~]# cat /proc/partitions | grep dm-0
 253        0   73433088 dm-0

Is there something wrong with my conf file maybe?


On Mon, Jul 22, 2019 at 3:01 PM Gianni Milo <gianni.milo22 at gmail.com> wrote:
> You'll probably have to use the "--max-peers" parameter in the "drbdadm create-md" command, to add support for additional peer nodes.
> See chapter 11.7.8 in the docs "Changing the meta-data"
> Gianni

More information about the drbd-user mailing list