[DRBD-user] Issue with Addition of Node

Felix Frank ff at mpexnet.de
Thu Jun 16 09:18:53 CEST 2011

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


Hi,

On 06/15/2011 11:04 PM, Jason Huselton wrote:
> dd if=/dev/zero of=xvdb bs=1M count=303104

how do you arrive at that number of megabytes? Is "xvdb" a plain file on
the host system?

> ****  Jun 15 15:04:13 mnfs1 kernel: [13135515.545889] block drbd1: The peer's disk size is too small!

Yes, this is the exact problem.

> --Current Primary--
> Disk /dev/xvdb: 322.1 GB, 322122547200 bytes
> 
> --Current Secondary (rebuilt vm instance)—
> Disk /dev/xvdb: 317.8 GB, 317827579904 bytes
> 
> (One note I just noticed, do the /dev/xvdb need to be the same size?)

No, as the log you pasted indicates, your new device needs to be at
least as big as the original one.

Cheers,
Felix



More information about the drbd-user mailing list