Here's my drbd.conf<br><br clear="all"><br>resource "res1" {<br> protocol C;<br> startup {<br><br> wfc-timeout 0;<br> degr-wfc-timeout 120;<br> }<br>
disk {<br> on-io-error detach;<br> }<br> net {<br> allow-two-primaries;<br> }<br> syncer {<br> rate 15M;<br> }<br> on "<a href="http://machine1systems.com" target="_blank">machine1systems.com</a>"<br>
{<br> device /dev/drbd0;<br> disk /dev/sdd;<br> address <a href="http://192.168.30.12:7788" target="_blank">192.168.30.12:7788</a>;<br> meta-disk internal;<br>
}<br> on "<a href="http://machine2.systems.com" target="_blank">machine2.systems.com</a>"<br> {<br> device /dev/drbd0;<br> disk /dev/sde;<br> address <a href="http://192.168.30.14:7788" target="_blank">192.168.30.14:7788</a>;<br>
meta-disk internal;<br> }<br>}<br><br>service drbd start<br>drbdadm adjust res1(on both sides)<br>drbdadm primary res1(on both sides)<br><br>pvcreate /dev/drbd0<br>vgcreate drbdtest /dev/drbd0<br>
lvcreate -n drbdlv1 -L 50M drbdtest<br><br>I faced 2 problems on <b>other primary side</b>,<br><br>1. drbdlv1 has attributes as '-wi---' and not '-wi-a-'.I need to do 'lvchange' here to activate it.<br>
Is there any way that I can maintain their active state here?<br><br>2. PV,VG and LV are appears quite late,after 3-4 minutes.Why is this much delay,operation being synchronous?<br>---------------------------------<br>
Thanks and Regards,<br>Himanshu Padmanabhi<br><br>