[DRBD-user] /etc/init.d/drbd stop error

Lars Ellenberg lars.ellenberg at linbit.com
Fri Apr 11 09:12:55 CEST 2014

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, Apr 10, 2014 at 04:15:42PM +0200, John Lauwers wrote:
> Hello,
> 
> I am doing a setup drbd-heartbeat-pacemaker-mysql.
> I installed drbd and it is working.
> I installed pacemaker and heartbeat and my output of crm_mon -1 is :
> 
> *============*
> *Last updated: Thu Apr 10 16:08:42 2014*
> *Last change: Thu Apr 10 13:50:54 2014 via cibadmin on server01*
> *Stack: Heartbeat*
> *Current DC: server01 (1f23877d-7199-4def-a491-0f8ec2b95f98) - partition
> with quorum*
> *Version: 1.1.6-9971ebba4494012a93c03b40a2c58ec0eb60f50c*
> *2 Nodes configured, unknown expected votes*
> *1 Resources configured.*
> *============*
> 
> *Online: [ server02 server01 ]*
> 
> * ClusterIp      (ocf::heartbeat:IPaddr2):       Started server01*
> 
> 
> Now I Installed mysql and also working.
> I want to add the configuration to pacemaker for the failover.
> When I do : /etc/init.d/drbd stop
> The scond server went ok.
> But the server01 says :
> 
> *umount: /dev/drbd0: niet aangekoppeld*

Not that important in this case,
but if you report bugs to mailing lists,
I strongly recommend to set LANG=C LANGUAGE=C LC_ALL=C first ;-)
(or, at the very least, LC_MESSAGES=C ...)

> *umount: /dev/drbd2: niet aangekoppeld*
> *umount: /dev/drbd3: niet aangekoppeld*
> *ERROR: Module drbd is in use*
> * * Stopping all DRBD resources
>                                                [ OK ] *
> 
> Now when I do : cat /proc/.drbd I see the drbd module is still loaded.
> 
> *version: 8.4.3 (api:1/proto:86-101)*
> *srcversion: 5CF35A4122BF8D21CC12AE2 *
> * 0: cs:WFConnection ro:Secondary/Unknown ds:UpToDate/DUnknown C r-----*
> *    ns:0 nr:0 dw:0 dr:0 al:0 bm:0 lo:0 pe:0 ua:0 ap:0 ep:1 wo:f oos:0*
> 
> * 2: cs:WFConnection ro:Secondary/Unknown ds:UpToDate/DUnknown C r-----*
> *    ns:0 nr:0 dw:0 dr:0 al:0 bm:0 lo:0 pe:0 ua:0 ap:0 ep:1 wo:f oos:0*
> * 3: cs:WFConnection ro:Secondary/Unknown ds:UpToDate/DUnknown C r-----*
> *    ns:0 nr:0 dw:0 dr:0 al:0 bm:0 lo:0 pe:0 ua:0 ap:0 ep:1 wo:f oos:0*
> 
> I can't find the reason for that.
> Any help please.

You likely have a DRBD init script version from before 8.4,
and that fails to properly down everything when using the 8.4 module,
but expects you to do drbdadm down all (or equivalent) yourself somewhere.


-- 
: 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