right..<br><br>the drbd module wasn't loaded once the machine rebooted... had to take care of that...<br>yepsh, thats was the secondary node.<br><br>on the primary<br>after creating a filesystemon /dev.drbd0, rebooting and loading the drbd module, I am not&nbsp; able to start drbd on the machine.
<br><br><br>the stratup lines stays hanged for a while, then display the following error meeesage<br><br><br>test1:~ # drbdadm up all<br>Child process does not terminate!<br>Exiting.<br><br><br>test1:~ # ps aux | grep drbd
<br>root&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 6221&nbsp; 0.0&nbsp; 0.0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp; 0 ?&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; D&nbsp;&nbsp;&nbsp; 11:58&nbsp;&nbsp; 0:00 [drbd0_worker]<br>root&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 6224&nbsp; 0.0&nbsp; 0.0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp; 0 ?&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; D&nbsp;&nbsp;&nbsp; 11:58&nbsp;&nbsp; 0:00 [drbd0_receiver]<br>root&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 6231&nbsp; 0.0&nbsp; 0.0&nbsp;&nbsp; 1360&nbsp;&nbsp; 276 pts/1&nbsp;&nbsp;&nbsp; D&nbsp;&nbsp;&nbsp; 11:58&nbsp;&nbsp; 0:00 /sbin/drbdsetup /dev/drbd0 down
<br>root&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 6595&nbsp; 0.0&nbsp; 0.0&nbsp;&nbsp; 1360&nbsp;&nbsp; 268 pts/1&nbsp;&nbsp;&nbsp; S&nbsp;&nbsp;&nbsp; 12:47&nbsp;&nbsp; 0:00 /sbin/drbdsetup /dev/drbd0 disk /dev/md0 internal -1 --on-io-error=detach --size=300G<br><br><br>The proc/drbd in the meanwhile. displayes the following result
<br><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>&nbsp;0: cs:Unconnected st:Secondary/Unknown ld:Inconsistent<br>&nbsp;&nbsp;&nbsp; ns:3992 nr:0 dw:0 dr:12096 al:0 bm:257 lo:0 pe:23 ua:2024 ap:0
<br>&nbsp;1: cs:Unconfigured<br><br><br><div><span class="gmail_quote">On 11/30/06, <b class="gmail_sendername">Ralf Gross</b> &lt;<a href="mailto:Ralf-Lists@ralfgross.de">Ralf-Lists@ralfgross.de</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Kamran Nisar said:<br>&gt; i would be replicating the entire /dev/md0 .. as per the tutorials i read,<br>&gt; i am not supposed to mount this device, and let drbd handle it. thats<br>fine..<br>&gt; but why do i need to create a file system on /dev/drbd0, and how will I
<br>&gt; access the files on /dev/md0, since i can't mount it or anything..<br><br>You use /dev/drbd0 to access you data, /dev/md0 is the underlying device.<br>For mkfs, mount... you use the drbd device.<br><br>&gt; other than that.. I formatted /dev/drbd0 on one system using mkreiserfs, ,
<br>&gt; completed successfully and i rebooted server, and the /dev/drbd0 has<br>&gt; dissappeared..<br><br>Do you have a working init script that starts drbd? What about the module?<br><br>Furthermore you may have to execute 'drbdadm primary all' after reboot on
<br>your primary node - or use heartbeat.<br><br>&gt; On the other system it won't let me format the dev/drbd0 saying &quot;could not<br>&gt; open /dev/drbd0 Read only filesystem&quot;<br><br>I guess that's the secondary node?
<br><br>Ralf<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">
http://lists.linbit.com/mailman/listinfo/drbd-user</a><br></blockquote></div><br><br clear="all"><br>-- <br>Regards<br>M Kamran Nisar,