[DRBD-user] Best Practice for DRBD+LVM+KVM

Simon Ironside sironside at caffetine.org
Thu Jun 20 22:16:53 CEST 2013

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


On 20/06/13 17:51, Paul O'Rorke wrote:

> Does anyone have any thoughts on why my data doesn't seem to be
> replicating or perhaps point me in the right direction for how to dig a
> little deeper.  My limited understanding is that DRBD should be between
> my host and the LVM volume but perhaps it's writing directly to the LV
> and not going through DRBD.

Hi Paul,

What did you configure your VM to use as its disk?
/dev/VirtualMachines/test2 or /dev/drbd/by-res/r1 (/dev/drbd2)?

If you used /dev/VirtualMachines/test2 then that's what's wrong. your 
reads and writes are bypassing DRBD. The only thing that should be using 
/dev/VirtualMachines/test2 is DRBD, your VM should write to 
/dev/drbd/by-res/r1

Cheers,
Simon




More information about the drbd-user mailing list