<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">&lt;<a href="mailto:eric.robinson@psmnv.com" target="_blank">eric.robinson@psmnv.com</a>&gt;</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="">&gt; Those are not the backing devices. Backing devices are the ones named<br>
&gt; on the &quot;disk &quot; lines in your DRBD resource files - for example &quot;disk /dev/vg/lv1&quot;.<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&#39;re absolutely right.<br>
<span class=""><br>
&gt; So you need to exclude /dev/vg/lv1 (in that example) from being looked<br>
&gt; 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&#39;re saying that I should filter /dev/vg00/lv01 and /dev/vg00/lv02 in lvm.conf? That won&#39;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 = [ &quot;a|/dev/vd.*|&quot;, &quot;a|/dev/drbd*|&quot;, &quot;r|.*|&quot; ]<br>write_cache_state = 0<br>volume_list = [ &quot;rootvg&quot;, &quot;vg1&quot;, &quot;vg2&quot; ]<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>