<div>What would you expect? You used _dry-run_ command only. It is used just to check if your configuration is OK.</div>
<div>Try to execute it without -d switch, or restart DRBD service. <br><br></div>
<div class="gmail_quote">2009/2/27 LLLActive@GMX.Net <span dir="ltr"><<a href="mailto:LLLActive@gmx.net">LLLActive@gmx.net</a>></span><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi all,<br><br>I set up a DRBD with SLES 10 SP2. They do not sync yet.<br><br>Testing, I used the dry-run command:<br>
<br>drbdadm -d adjust all<br><br>Result:<br>drbdadm -d adjust all<br>drbdsetup /dev/drbd0 syncer --set-defaults --create-device --rate=700000 --al-extents=257<br>drbdsetup /dev/drbd0 net <a href="http://10.9.8.4:7788/" target="_blank">10.9.8.4:7788</a> <a href="http://10.9.8.3:7788/" target="_blank">10.9.8.3:7788</a> C --set-defaults --create-device<br>
<br>_Setup_<br><br>-= Primary =-<br><br>_on Primary the drbd.conf_:<br>on SLE104 {<br> device /dev/drbd0;<br> disk /dev/sdb1;<br> address <a href="http://10.9.8.4:7788/" target="_blank">10.9.8.4:7788</a>;<br>
meta-disk internal;<br> }<br><br>on SLE103 {<br> device /dev/drbd0;<br> disk /dev/sdb1;<br> address <a href="http://10.9.8.3:7788/" target="_blank">10.9.8.3:7788</a>;<br> meta-disk internal;<br>
}<br><br><br>version: 8.3.0 (api:88/proto:86-89)<br>GIT-hash: 9ba8b93e24d842f0dd3fb1f9b90e8348ddb95829 build by root@SLE10-CLU2-AWS3, 2009-01-22 14:08:02<br> 0: cs:StandAlone ro:Primary/Unknown ds:UpToDate/DUnknown r---<br>
ns:0 nr:0 dw:805193092 dr:1759248760 al:357623 bm:357533 lo:0 pe:0 ua:0 ap:0 ep:1 wo:b oos:1465107312<br><br>=- END Primary -=<br><br>-= Secondary =-<br>drbdadm -d adjust all<br>drbdsetup /dev/drbd0 syncer --set-defaults --create-device --rate=700000 --al-extents=257<br>
<br><br>_on Secondary the drbd.conf_:<br>on SLE104 {<br> device /dev/drbd0;<br> disk /dev/sdb1;<br> address <a href="http://10.9.8.4:7788/" target="_blank">10.9.8.4:7788</a>;<br> meta-disk internal;<br>
}<br><br>on SLE103 {<br> device /dev/drbd0;<br> disk /dev/sdb1;<br> address <a href="http://10.9.8.3:7788/" target="_blank">10.9.8.3:7788</a>;<br> meta-disk internal;<br> }<br><br>version: 8.3.0 (api:88/proto:86-89)<br>
GIT-hash: 9ba8b93e24d842f0dd3fb1f9b90e8348ddb95829 build by root@SLE10-CLU2-AWS3, 2009-02-19 14:33:19<br> 0: cs:WFConnection ro:Secondary/Unknown ds:Inconsistent/DUnknown C r---<br> ns:0 nr:0 dw:0 dr:0 al:0 bm:0 lo:0 pe:0 ua:0 ap:0 ep:1 wo:b oos:1465107312<br>
<br>netstat -tnlp does not show the ports listening (on both):<br><br>Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name<br>tcp 0 0 <a href="http://0.0.0.0:2049/" target="_blank">0.0.0.0:2049</a> 0.0.0.0:* LISTEN -<br>
tcp 0 0 <a href="http://0.0.0.0:5989/" target="_blank">0.0.0.0:5989</a> 0.0.0.0:* LISTEN 3543/owcimomd<br>tcp 0 0 <a href="http://0.0.0.0:711/" target="_blank">0.0.0.0:711</a> 0.0.0.0:* LISTEN 10287/rpc.mountd<br>
tcp 0 0 <a href="http://0.0.0.0:5801/" target="_blank">0.0.0.0:5801</a> 0.0.0.0:* LISTEN 3836/xinetd<br>tcp 0 0 <a href="http://0.0.0.0:37193/" target="_blank">0.0.0.0:37193</a> 0.0.0.0:* LISTEN -<br>
tcp 0 0 <a href="http://0.0.0.0:139/" target="_blank">0.0.0.0:139</a> 0.0.0.0:* LISTEN 10090/smbd<br>tcp 0 0 <a href="http://10.9.8.4:427/" target="_blank">10.9.8.4:427</a> 0.0.0.0:* LISTEN 3427/slpd<br>
tcp 0 0 <a href="http://127.0.0.1:427/" target="_blank">127.0.0.1:427</a> 0.0.0.0:* LISTEN 3427/slpd<br>tcp 0 0 <a href="http://0.0.0.0:5901/" target="_blank">0.0.0.0:5901</a> 0.0.0.0:* LISTEN 3836/xinetd<br>
tcp 0 0 <a href="http://0.0.0.0:111/" target="_blank">0.0.0.0:111</a> 0.0.0.0:* LISTEN 3428/portmap<br>tcp 0 0 <a href="http://0.0.0.0:631/" target="_blank">0.0.0.0:631</a> 0.0.0.0:* LISTEN 3596/cupsd<br>
tcp 0 0 <a href="http://127.0.0.1:25/" target="_blank">127.0.0.1:25</a> 0.0.0.0:* LISTEN 3883/master<br>tcp 0 0 <a href="http://0.0.0.0:445/" target="_blank">0.0.0.0:445</a> 0.0.0.0:* LISTEN 10090/smbd<br>
tcp 0 0 :::22 :::* LISTEN 3731/sshd<br>tcp 0 0 ::1:25 :::* LISTEN 3883/master<br><br>=- END Secondary -=<br><br>SuSEfirewall2 is used on both, with the ports 7788:7799 open on internal zone, where the NIC's are connected via crossover cable.<br>
<br>I do not know if it matters, but the Secondary has an older Kernel than Primary:<br>Primary : 2.6.16.60-0.33-default #1 Fri Oct 31 14:24:07 UTC 2008 x86_64 x86_64 x86_64 GNU/Linux<br>Secondary: 2.6.16.60-0.34-default #1 Fri Jan 16 14:59:01 UTC 2009 x86_64 x86_64 x86_64 GNU/Linux<br>
<br>DRBD was compiled with their current Kernels on both separately.<br><br>Before I actually do a "drbdadm adjust all", is the config above sound? It does not seem right according to the messages.<br><br>TIA<br>
<br>:-)<br>Al<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" target="_blank">http://lists.linbit.com/mailman/listinfo/drbd-user</a><br>
</blockquote></div><br>