could this be related ?<br><br>test1:~ # fdisk -l<br><br>Disk /dev/hda: 80.0 GB, 80026361856 bytes<br>255 heads, 63 sectors/track, 9729 cylinders<br>Units = cylinders of 16065 * 512 = 8225280 bytes<br><br> Device Boot Start End Blocks Id System
<br>/dev/hda1 1 129 1036161 83 Linux<br>/dev/hda2 * 130 9729 77112000 83 Linux<br><br>Disk /dev/hdc: 203.9 GB, 203928109056 bytes<br>255 heads, 63 sectors/track, 24792 cylinders
<br>Units = cylinders of 16065 * 512 = 8225280 bytes<br><br> Device Boot Start End Blocks Id System<br>/dev/hdc1 1 24792 199141708+ fd Linux raid autodetect<br><br>Disk /dev/hdd:
203.9 GB, 203928109056 bytes<br>255 heads, 63 sectors/track, 24792 cylinders<br>Units = cylinders of 16065 * 512 = 8225280 bytes<br><br> Device Boot Start End Blocks Id System<br>/dev/hdd1 1 24791 199133676 fd Linux raid autodetect
<br><br>Disk /dev/md0: 407.8 GB, 407833804800 bytes<br>2 heads, 4 sectors/track, 99568800 cylinders<br>Units = cylinders of 8 * 512 = 4096 bytes<br><br>Disk /dev/md0 doesn't contain a valid partition table<br><br><br>=-=-=
<br><br><div><span class="gmail_quote">On 12/6/06, <b class="gmail_sendername">Milind Dumbare</b> <<a href="mailto:milind@linsyssoft.com">milind@linsyssoft.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Wednesday 06 December 2006 17:57, Kamran Nisar wrote:<br>> Hi, I am trying to set up drbd with two nodes. After setting up drbd, and<br>> executing drbdadm up all on both the nodes , i executed "drbdadm --<br>
> --do-what-I-say primary all" on server1 to make it primary. It started an<br>> initial sync, and i left it overnight to complete. when i came back in the<br>> morning, and executed drbdadm -- connect all on server 1, it gives me the
<br>> 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>It seems this is executed to due (see below in dmesg)<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,<br>> high=11, low=14127359, sector=198676727<br>Seems like I/O error here.
<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,
<br>> 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></blockquote></div><br>
<br clear="all"><br>-- <br>Regards<br>M Kamran Nisar,