[DRBD-user] DRDB & Heartbeat v2.1.3 - Device is held open by someone

Maros Timko timkom at gmail.com
Mon May 24 12:04:29 CEST 2010

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


> I'm configuring an HA Hadoop cluster using DRBD and Heartbeat.  Works OK
> except failover causes reboot due to:
>
>  /etc/ha.d/resource.d/drbddisk r0 stop returning error: State change failed:
> (-12) Device is held open by someone.
>
> from ha.debug log.
>
> ha.conf:
> ## start of ha.cf
> debugfile /var/log/ha.debug
> logfile /var/log/ha.log
> logfacility local0
> keepalive 1
> initdead 60
> deadtime 5
> mcast eth0 239.0.0.22 694 1 0
> node master1.mydomain.prod master2.mydomain.prod
> auto_failback off
> ## end of ha.cf
>
> haresources:
> ## start of haresources
> master1.inadco.prod IPaddr::10.17.133.57
> master1.inadco.prod drbddisk::r0

Insert Delay RA here.

> master1.inadco.prod Filesystem::/dev/drbd0::/hadoop::ext3::defaults
> master1.inadco.prod hadoop-0.20-namenode
> master1.inadco.prod hadoop-0.20-secondarynamenode
> master1.inadco.prod hadoop-0.20-jobtracker
> ## end of haresources
>
> Any ideas?
>



More information about the drbd-user mailing list