Just a note<div><br></div><div>Do not do that:</div><div><br></div><div><div class="wp_syntax" style="color:rgb(17,0,0);background-color:rgb(249,249,249);border:1px solid silver;margin:0px 0px 1.5em;overflow-x:auto;overflow-y:hidden;width:490px;font-family:Garamond,Bookman,Palatino,Georgia,Baskerville;font-size:14px;line-height:18px">
<div class="code" style="vertical-align:top;padding:2px 4px"><pre class="text" style="margin-top:0px;margin-bottom:0px;width:auto;float:none;clear:none;overflow:visible;font-size:12px;line-height:1.333">filter = [ "r|/dev/sdb1|", "r|/dev/disk/|", "r|/dev/block/|", "a/.*/" ]</pre>
</div></div><div class="sociable" style="color:rgb(102,102,102);font-family:Garamond,Bookman,Palatino,Georgia,Baskerville;font-size:14px;line-height:18px;background-color:rgb(243,244,238)"></div>But this:</div><div><br></div>
<div><div class="wp_syntax" style="color:rgb(17,0,0);background-color:rgb(249,249,249);border:1px solid silver;margin:0px 0px 1.5em;overflow-x:auto;overflow-y:hidden;width:490px;font-family:Garamond,Bookman,Palatino,Georgia,Baskerville;font-size:14px;line-height:18px">
<div class="code" style="vertical-align:top;padding:2px 4px"><pre class="text" style="margin-top:0px;margin-bottom:0px;width:auto;float:none;clear:none;overflow:visible;font-size:12px;line-height:1.333">filter = [ "r|/dev/sdb1|" ]</pre>
</div></div><div class="sociable" style="color:rgb(102,102,102);font-family:Garamond,Bookman,Palatino,Georgia,Baskerville;font-size:14px;line-height:18px;background-color:rgb(243,244,238)"></div><div class="gmail_quote">If you put /dev/disk and /dev/block you will crash your system, since PVE need mount a LVM space to boot the system:</div>
<div class="gmail_quote"><br></div><div class="gmail_quote">/dev/mapper/pve-root</div><div class="gmail_quote"><br></div><div class="gmail_quote">and others...</div><div class="gmail_quote"><br></div><div class="gmail_quote">
<br></div><div class="gmail_quote"><br></div><div class="gmail_quote"><br></div><div class="gmail_quote"><br></div><div class="gmail_quote">2012/7/29 Gilberto Nunes <span dir="ltr"><<a href="mailto:gilberto.nunes32@gmail.com" target="_blank">gilberto.nunes32@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">This <a href="http://blog.bravi.org/?p=604" target="_blank">http://blog.bravi.org/?p=604</a> solve my problems....<div class="HOEnZb">
<div class="h5"><br><br><div class="gmail_quote">2012/7/28 Gilberto Nunes <span dir="ltr"><<a href="mailto:gilberto.nunes32@gmail.com" target="_blank">gilberto.nunes32@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi friends...<div><br></div><div>As usual, I setting up a couple of box to work with DRBD...</div><div>I can create the pv and the gv... </div>

<div>I'm also capable of set the storage to LVM group...</div><div>Now, when I install some OS on the LVM group and when restart both nodes, the DRBD get crash!!</div>
<div><br></div><div>That the error:</div><div><br></div><div>block drbd0: open("/dev/sdb5") failure with -16</div><div>...</div><div>...</div><div>...</div><div>d(r) 0: failure: Can not open backing device</div>


<div><br></div><div><br></div><div>And when I check LVM or DRBD, everything go to hell!....</div><div><br></div><div>cat /proc/drbd show that /dev/drbd0 do no connect anymore..</div><div>pvs show me /dev/block/8:21...</div>


<div><br></div><div>So, this is an error of proxmox or DRBD??</div><div><br></div><div>That's my configuration:</div><div><br></div><div><div>global {</div><div>        usage-count no;</div><div> }</div><div>common {</div>


<div>         syncer</div><div>        {</div><div>                rate 500M;</div><div>        }</div><div>}</div><div>resource r0 {</div><div>        protocol C;</div><div>        startup {</div><div>                wfc-timeout 15;</div>


<div>                become-primary-on both;</div><div>        }</div><div>        net {</div><div>                allow-two-primaries;</div><div>                after-sb-0pri discard-zero-changes;</div><div>                after-sb-0pri discard-least-changes;</div>


<div>                after-sb-1pri discard-secondary;</div><div>       }</div><div>       on servidor-a {</div><div>                device /dev/drbd0;</div><div>                disk /dev/sdb5;</div><div>                address <a href="http://10.0.0.10:7788" target="_blank">10.0.0.10:7788</a>;</div>


<div>                meta-disk internal;</div><div>        }</div><div>       on servidor-b {</div><div>                device /dev/drbd0;</div><div>                disk /dev/sdb5;</div><div>                address <a href="http://10.0.0.20:7788" target="_blank">10.0.0.20:7788</a>;</div>


<div>                meta-disk internal;</div><div>        }</div><div>}</div><div><br></div><div>many thanks...</div><div><br></div>-- <br>Gilberto Nunes<div><br><br><a href="tel:%2847%29%209676-7530" value="+554796767530" target="_blank">(47) 9676-7530</a></div>

<div>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"></p><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px">msn: <a href="mailto:gilbertonunesferreira@hotmail.com" target="_blank">gilbertonunesferreira@hotmail.com</a></p>


<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px">msn: <a href="mailto:konnectati@konnectati.com.br" target="_blank">konnectati@konnectati.com.br</a></p><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px">


Skype: gilberto.nunes36</p><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px">Skype: konnectati</p><p></p><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">


<font face="Arial, Helvetica, sans-serif"><span style="font-size:14px"><br></span></font></p><font size="4"><b><a href="http://www.konnectati.com.br" target="_blank">www.konnectati.com.br</a></b></font><br></div><br>
</div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Gilberto Nunes<div><br><br><a href="tel:%2847%29%209676-7530" value="+554796767530" target="_blank">(47) 9676-7530</a></div><div>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"></p><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px">msn: <a href="mailto:gilbertonunesferreira@hotmail.com" target="_blank">gilbertonunesferreira@hotmail.com</a></p>

<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px">msn: <a href="mailto:konnectati@konnectati.com.br" target="_blank">konnectati@konnectati.com.br</a></p><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px">

Skype: gilberto.nunes36</p><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px">Skype: konnectati</p><p></p><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">

<font face="Arial, Helvetica, sans-serif"><span style="font-size:14px"><br></span></font></p><font size="4"><b><a href="http://www.konnectati.com.br" target="_blank">www.konnectati.com.br</a></b></font><br></div><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Gilberto Nunes<div><br><br>(47) 9676-7530</div><div>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"></p><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px">msn: <a href="mailto:gilbertonunesferreira@hotmail.com" target="_blank">gilbertonunesferreira@hotmail.com</a></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px">msn: <a href="mailto:konnectati@konnectati.com.br" target="_blank">konnectati@konnectati.com.br</a></p><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px">
Skype: gilberto.nunes36</p><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px">Skype: konnectati</p><p></p><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">
<font face="Arial, Helvetica, sans-serif"><span style="font-size:14px"><br></span></font></p><font size="4"><b><a href="http://www.konnectati.com.br" target="_blank">www.konnectati.com.br</a></b></font><br></div><br>
</div>