Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
right.. the drbd module wasn't loaded once the machine rebooted... had to take care of that... yepsh, thats was the secondary node. on the primary after creating a filesystemon /dev.drbd0, rebooting and loading the drbd module, I am not able to start drbd on the machine. the stratup lines stays hanged for a while, then display the following error meeesage test1:~ # drbdadm up all Child process does not terminate! Exiting. test1:~ # ps aux | grep drbd root 6221 0.0 0.0 0 0 ? D 11:58 0:00 [drbd0_worker] root 6224 0.0 0.0 0 0 ? D 11:58 0:00 [drbd0_receiver] root 6231 0.0 0.0 1360 276 pts/1 D 11:58 0:00 /sbin/drbdsetup /dev/drbd0 down 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 The proc/drbd in the meanwhile. displayes the following result test1:~ # cat /proc/drbd version: 0.7.14 (api:77/proto:74) SVN Revision: 1989 build by root at test1, 2006-11-30 11:03:07 0: cs:Unconnected st:Secondary/Unknown ld:Inconsistent ns:3992 nr:0 dw:0 dr:12096 al:0 bm:257 lo:0 pe:23 ua:2024 ap:0 1: cs:Unconfigured On 11/30/06, Ralf Gross <Ralf-Lists at ralfgross.de> wrote: > > Kamran Nisar said: > > i would be replicating the entire /dev/md0 .. as per the tutorials i > read, > > i am not supposed to mount this device, and let drbd handle it. thats > fine.. > > but why do i need to create a file system on /dev/drbd0, and how will I > > access the files on /dev/md0, since i can't mount it or anything.. > > You use /dev/drbd0 to access you data, /dev/md0 is the underlying device. > For mkfs, mount... you use the drbd device. > > > other than that.. I formatted /dev/drbd0 on one system using mkreiserfs, > , > > completed successfully and i rebooted server, and the /dev/drbd0 has > > dissappeared.. > > Do you have a working init script that starts drbd? What about the module? > > Furthermore you may have to execute 'drbdadm primary all' after reboot on > your primary node - or use heartbeat. > > > On the other system it won't let me format the dev/drbd0 saying "could > not > > open /dev/drbd0 Read only filesystem" > > I guess that's the secondary node? > > Ralf > > > _______________________________________________ > drbd-user mailing list > drbd-user at lists.linbit.com > http://lists.linbit.com/mailman/listinfo/drbd-user > -- Regards M Kamran Nisar, -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20061130/774b7f23/attachment.htm>