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 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 6221 0.0 0.0 0 0 ? D 11:58 0:00 [drbd0_worker]<br>root 6224 0.0 0.0 0 0 ? D 11:58 0:00 [drbd0_receiver]<br>root 6231 0.0 0.0 1360 276 pts/1 D 11:58 0:00 /sbin/drbdsetup /dev/drbd0 down
<br>root 6595 0.0 0.0 1360 268 pts/1 S 12:47 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> 0: cs:Unconnected st:Secondary/Unknown ld:Inconsistent<br> ns:3992 nr:0 dw:0 dr:12096 al:0 bm:257 lo:0 pe:23 ua:2024 ap:0
<br> 1: cs:Unconfigured<br><br><br><div><span class="gmail_quote">On 11/30/06, <b class="gmail_sendername">Ralf Gross</b> <<a href="mailto:Ralf-Lists@ralfgross.de">Ralf-Lists@ralfgross.de</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;">
Kamran Nisar said:<br>> i would be replicating the entire /dev/md0 .. as per the tutorials i read,<br>> i am not supposed to mount this device, and let drbd handle it. thats<br>fine..<br>> but why do i need to create a file system on /dev/drbd0, and how will I
<br>> 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>> other than that.. I formatted /dev/drbd0 on one system using mkreiserfs, ,
<br>> completed successfully and i rebooted server, and the /dev/drbd0 has<br>> 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>> On the other system it won't let me format the dev/drbd0 saying "could not<br>> open /dev/drbd0 Read only filesystem"<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,