<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Feb 26, 2016 at 10:37 AM, Eric Robinson <span dir="ltr"><<a href="mailto:eric.robinson@psmnv.com" target="_blank">eric.robinson@psmnv.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="">> Those are not the backing devices. Backing devices are the ones named<br>
> on the "disk " lines in your DRBD resource files - for example "disk /dev/vg/lv1".<br>
<br>
</span>Sorry, for a second I was thinking of the drbd disks as backing devices for the LVM volumes that were created on them, but you're absolutely right.<br>
<span class=""><br>
> So you need to exclude /dev/vg/lv1 (in that example) from being looked<br>
> at by LVM by filtering it out.<br>
<br>
</span>On my servers, I have /dev/vg00/lv01 and /dev/vg00/lv02, which are the backing devices for /dev/drbd0 and /dev/drbd1 respectively. Then I made drbd0 and drbd1 into PVs, and created logical volume /dev/vg_drbd0/lv_drbd0 on drbd0, and /dev/vg_drbd1/lv_drbd1 on drbd1.<br>
<br>
You're saying that I should filter /dev/vg00/lv01 and /dev/vg00/lv02 in lvm.conf? That won't have any undesirable side effects?<br>
<span class=""><font color="#888888"><br>
--Eric<br>
</font></span><div class=""><div class="h5"><br></div></div></blockquote><div>Maybe this will help. In my case I have:<br><br></div><div>...<br>filter = [ "a|/dev/vd.*|", "a|/dev/drbd*|", "r|.*|" ]<br>write_cache_state = 0<br>volume_list = [ "rootvg", "vg1", "vg2" ]<br>...<br><br></div><div>so in your case, you need to replace <b>/dev/vd.*</b> with the <b>block device</b> your <b>root volume</b> <b>vg00</b> lives on, ie /dev/sda or what ever device your vg00 has been carved from.<br><br></div><div> <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class=""><div class="h5">
<br>
<br>
<br>
<br>
_______________________________________________<br>
drbd-user mailing list<br>
<a href="mailto:drbd-user@lists.linbit.com">drbd-user@lists.linbit.com</a><br>
<a href="http://lists.linbit.com/mailman/listinfo/drbd-user" rel="noreferrer" target="_blank">http://lists.linbit.com/mailman/listinfo/drbd-user</a><br>
</div></div></blockquote></div><br></div></div>