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

Paul O'Rorke paul at tracker-software.com
Thu Jun 20 23:46:42 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.


Simon,

thank you so much.  I saw a reference to that on the pages about xen and 
should have realized it would apply to any virtual environment.  Doh!

Writing to /dev/drbd/by-res/r1 did it and I now have my first vm ticking 
along nicely through DRBD and I'm a very happy camper.

Thanks again for the prompt and excellent solution.

Cheers

*Paul O'Rorke*
Tracker Software Products
paul at tracker-software.com <mailto:paul.ororke at tracker-software.com>

++++++++++++++++++++++++++++++++++++++++++++++++++++++++
PLEASE NOTE : - If you are sending files for us to look at or assist with
these must ALWAYS be wrapped in either a ZIP/RAR or 7z FILE
or they will be removed by our Firewall/Virus management software.
++++++++++++++++++++++++++++++++++++++++++++++++++++++++

**Certified by Microsoft**
"Works with Vista"
PDF-XChange & SDK, Image-XChange
PDF-Tools & SDK, TIFF-XChange & SDK.

Support:
http://tracker-software.com/support/
or
http://www.tracker-software.com/forum/index.php

Download latest Releases
http://www.tracker-software.com/downloads/

On 6/20/2013 1:16 PM, Simon Ironside wrote:
> 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
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20130620/3131b52a/attachment.htm>


More information about the drbd-user mailing list