Hi, I am trying to set up drbd with two nodes. After setting up drbd, and executing drbdadm up all on both the nodes , i executed "drbdadm -- --do-what-I-say primary all" on server1 to make it primary. It started an initial sync, and i left it overnight to complete. when i came back in the morning, and executed drbdadm -- connect all on server 1, it gives me the following error
<br><br>test1:~ # drbdadm -- connect all<br>Child process does not terminate!<br>Exiting.<br><br><br><br>the cat /proc/drbd on both machines is listed below<br><br>test1:~ # cat /proc/drbd<br>version: 0.7.14 (api:77/proto:74)
<br>SVN Revision: 1989 build by root@test1, 2006-11-30 11:03:07<br> 0: cs:BrokenPipe st:Secondary/Unknown ld:Inconsistent<br> ns:4568 nr:0 dw:0 dr:12676 al:0 bm:196 lo:0 pe:22 ua:2025 ap:0<br><br><br><br>test2:~ # cat /proc/drbd
<br>version: 0.7.18 (api:78/proto:74)<br>SVN Revision: 2186 build by lmb@chip, 2006-05-04 17:08:27<br> 0: cs:WFConnection st:Secondary/Unknown ld:Inconsistent<br> ns:0 nr:198672496 dw:198672496 dr:0 al:0 bm:12126 lo:0 pe:0 ua:0 ap:0
<br><br><br><br>the config snippet is as below<br><br><br><br><br><br><br>resource r0 {<br><br> #<br> protocol C;<br><br><br>incon-degr-cmd "halt -f";<br> startup {<br> #<br> degr-wfc-timeout 120; # 2 minutes.
<br> }<br><br> disk {<br> on-io-error detach;<br><br><br><br> size 300G;<br> }<br><br> net {<br> }<br><br> syncer {<br> #<br> rate 100M;<br><br> #<br> group 1;<br><br><br> al-extents 257;<br> }
<br><br> on test1 {<br> device /dev/drbd0;<br> disk /dev/md0;<br> address <a href="http://192.168.2.61:7788">192.168.2.61:7788</a>;<br> meta-disk internal;<br><br> }<br><br> on test2 {<br> device /dev/drbd0;
<br> disk /dev/md0;<br> address <a href="http://192.168.2.62:7788">192.168.2.62:7788</a>;<br> meta-disk internal;<br> }<br>}<br><br><br><br>==--=-=-=--=-=-=<br><br>test1:~ # dmesg | tail<br>ide: failed opcode was: unknown
<br>end_request: I/O error, dev hdd, sector 198676719<br>hdd: dma_intr: status=0x51 { DriveReady SeekComplete Error }<br>hdd: dma_intr: error=0x40 { UncorrectableError }, LBAsect=198676735, high=11, low=14127359, sector=198676727
<br>ide: failed opcode was: unknown<br>end_request: I/O error, dev hdd, sector 198676727<br>hdd: dma_intr: status=0x51 { DriveReady SeekComplete Error }<br>hdd: dma_intr: error=0x40 { UncorrectableError }, LBAsect=198676735, high=11, low=14127359, sector=198676735
<br>ide: failed opcode was: unknown<br>end_request: I/O error, dev hdd, sector 198676735<br><br><br><br><br>=-=-=-=-=<br clear="all"><br>-- <br>Regards<br>M Kamran Nisar,