Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
Hi guys, I just compiled DRBD from source and everything went alright and I got the module and other binaries and all. I loaded the module like I did before and with the same drbd.config file I got: Starting DRBD resources: [ d(drbd1) s(drbd1) n(drbd1) ].Failure: (114) Lower device is already claimed. This usually means it is mounted. [drbd1] cmd /sbin/drbdsetup /dev/drbd1 disk /dev/RBcYOG02/r1 /dev/RBcYOG02/r1 internal --set-defaults --create-device --on-io-error=call-local-io-error failed - continuing! Funny thing is, the lower device is not mounted and is formatted and is ready to go but it keeps complaining about it. I created another partition (/dev/sda7) and after stopping the module, I used it this time, but "/etc/init.d/drbd start" got stock on: Starting DRBD resources: [ d(drbd1) I terminated it (Ctrl + C) and "/etc/init.d/drbd start" now gives me: Starting DRBD resources: [ d(drbd1) Failure: (124) Device is attached to a disk (use detach first) [drbd1] cmd /sbin/drbdsetup /dev/drbd1 disk /dev/sda7 /dev/sda7 internal --set-defaults --create-device --on-io-error=call-local-io-error failed - continuing! And /proc/drbd shows: version: 8.2.5 (api:88/proto:86-88) GIT-hash: 9faf052fdae5ef0c61b4d03890e2d2eab550610c build by alirezan at winlx-1, 2008-10-29 21:38:36 1: cs:Connected st:Unknown/Primary ds:Attaching/UpToDate C r--- ns:0 nr:0 dw:0 dr:0 al:0 bm:0 lo:1 pe:0 ua:0 ap:0 and worse thing is, I can't even stop drbd anymore!!! root /home/alireza/drbd-8.2.5/drbd Revolution 1# service drbd stop Stopping all DRBD resourcesERROR: Module drbd is in use . Any ideas why this is happening and how I can fix it? Thanks guys