<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><DIV>Hello, I'am new to DRBD. I'm setting two cluster node using Centos 5.2 in VM. </DIV>
<DIV> </DIV>
<DIV>Here's drbd.conf information:</DIV>
<DIV> </DIV>
<DIV>global {<BR> usage-count no;<BR>}<BR>common {<BR> protocol C;<BR>}</DIV>
<DIV>resource r0 {<BR> on note1 {<BR> device /dev/drbd0;<BR> disk /dev/sda5;<BR> address 10.0.0.220:7789;<BR> meta-disk internal;<BR> }<BR> on note2 {<BR> device /dev/drbd0;<BR> disk /dev/sda5;<BR> address 10.0.0.221:7789;<BR> meta-disk internal;<BR> }<BR> }<BR></DIV>
<DIV>When I input drbdadm connect r0, it occur following error:</DIV>
<DIV> </DIV>
<DIV>[root@node1 ~]# drbdadm connect r0<BR>/dev/drbd0: Failure: (125) Device has a net-config (use disconnect first)<BR>Command 'drbdsetup /dev/drbd0 net 10.0.0.220:7789 10.0.0.221:7789 C --set-defaults --create-device' terminated with exit code 10<BR></DIV></td></tr></table><br>
<hr size=1>Yahoo!香港提供網上安全攻略,教你如何防範黑客!<a href="http://hk.promo.yahoo.com/security/"><b>了解更多</b></a>