[DRBD-user] drdb (8.0.12) disk couldn't be mount when only one server start

richard chou zxb1345 at gmail.com
Wed Jul 30 13:44:44 CEST 2008

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


I have a two-server DRBD primary/secondary configuration, running
Heartbeat. Heartbeat will management two resources: jetty(light-weight
http/https server) and mysql.

If both servers start, jetty and mysql will work well in primary server.
But if only one server starts, heartbeat will output error message as following:

*heartbeat: 2008/07/30_09:15:23 debug: Starting
/etc/ha.d/resource.d/drbddisk r0 start
/dev/drbd0: State change failed: (-2) Refusing to be Primary without
at least one UpToDate disk
Command '/sbin/drbdsetup /dev/drbd0 primary' terminated with exit code 17
*
I check the status of DRBD,
#cat /proc/drbd
*version: 8.0.12 (api:86/proto:86)

 0: cs:WFConnection st:Secondary/Unknown ds:Consistent/DUnknown C r---
    ns:0 nr:0 dw:0 dr:0 al:0 bm:7 lo:0 pe:0 ua:0 ap:0
        resync: used:0/61 hits:0 misses:0 starving:0 dirty:0 changed:0
        act_log: used:0/257 hits:0 misses:0 starving:0 dirty:0 changed:0
**
**How can I start jetty and mysql if only one server starts?
*
Thanks for your help!



More information about the drbd-user mailing list