WG: [DRBD-user] drbd configuration problem

Schmidt, Florian florian.schmidt at altroconsult.de
Thu Feb 21 19:48:46 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.


/private mail, which wasn't planned to get private 


Hi

is your /dev/sda2 already mounted? If you do have it in /etc/fstab, you have to set the noauto flag, to prevent it from being mounted by the OS at startup.

So maybe umount it and then try to start DRBD again?

Regards
Florian



Hi Sir,

We are newbie for DRBD & heartbeat, after we have configure we reboot the server then we got he error message before the login to the system. We have to key in 'yes' after the message " To abort waiting enter 'yes' [xx]: yes " then only allow access to the system.

cmd /sbin/drbdsetup /dev/drbd0 disk /dev/sda2 internal --set-defaults --create-device --on-io-error=detach failed - continuing!

Our kernel version  2.6.18

[root at esdb02 ~]# /etc/init.d/drbd start
Starting DRBD resources:    [ d0 Failure: (114) Lower device is already claimed. This usually means it is mounted.

cmd /sbin/drbdsetup /dev/drbd0 disk /dev/sda2 /dev/sda2 internal --set-defaults --create-device --on-io-error=detach  failed - continuing!

[root at esdb02 ~]# /etc/init.d/drbd start
Starting DRBD resources:    [ d0 Failure: (114) Lower device is already claimed. This usually means it is mounted.

cmd /sbin/drbdsetup /dev/drbd0 disk /dev/sda2 /dev/sda2 internal --set-defaults --create-device --on-io-error=detach  failed - continuing!

When we type the command (/etc/init.d/drbd start) we get the following result:

[root at esdb02 ~]# /etc/init.d/drbd start
Starting DRBD resources:    [ d0 Failure: (114) Lower device is already claimed. This usually means it is mounted.

cmd /sbin/drbdsetup /dev/drbd0 disk /dev/sda2 /dev/sda2 internal --set-defaults --create-device --on-io-error=detach  failed - continuing!

n0 ]..........
***************************************************************
 DRBD's startup script waits for the peer node(s) to appear.
 - In case this node was already a degraded cluster before the
   reboot the timeout is 60 seconds. [degr-wfc-timeout]
 - If the peer was available before the reboot the timeout will
   expire after 0 seconds. [wfc-timeout]
   (These values are for resource 'mysql'; 0 sec -> wait forever)
 To abort waiting enter 'yes' [ -- ]:[  10]:[  11]:[  12]:

Please help!

 

Warm Regards
Siew Hiong
Engineer
Managed Services




More information about the drbd-user mailing list