[DRBD-user] DRBD acting weird - Can't attach to any resource...or start the resource...

Lars Ellenberg lars.ellenberg at linbit.com
Fri Oct 31 11:46:15 CET 2008

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


On Thu, Oct 30, 2008 at 12:08:47PM -0700, Alireza Nematollahi wrote:
> 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

does that happen to be on that new PowerPC hardware for telcos?

> and how I can fix it?

we will look into this.

but, to speed things up, for now and in going forward,
you could consider to contact the linbit partner manager...
or to bug your boss to bug his boss to do so ;)

-- 
: Lars Ellenberg
: LINBIT | Your Way to High Availability
: DRBD/HA support and consulting http://www.linbit.com

DRBD® and LINBIT® are registered trademarks of LINBIT, Austria.
__
please don't Cc me, but send to list   --   I'm subscribed



More information about the drbd-user mailing list