[DRBD-user] CLVMD causes split-brain in primary-primary mode

Joe Hammerman jhammerman at videoegg.com
Fri Aug 6 08:42:08 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.

Good evening drbd-users list,

We have a pair of VMWare 2.0.1 virtual machines, running CentOS5.5. Drbd rpm's are:


The cluster.conf for the volume is:

<?xml version="1.0"?>
<cluster alias="studio.sacpa" config_version="1" name="studio.sacpa">
        <fence_daemon post_fail_delay="0" post_join_delay="3"/>
                <clusternode name="studio102.sacpa.videoegg.com" nodeid="1" votes="1"/>
                <clusternode name="studio101.sacpa.videoegg.com" nodeid="2" votes="1"/>
        <cman expected_votes="1" two_node="1"/>

And the drbd.conf is:

global {
  usage-count yes;
common {
  protocol C;
resource r0 {
  syncer {
    rate 40M;
  startup {
    become-primary-on both;
  net {
    after-sb-0pri discard-zero-changes;
    after-sb-1pri discard-secondary;
    after-sb-2pri disconnect;
  on studio101.sacpa.videoegg.com {
    device    /dev/drbd1;
    disk      /dev/sdb1;
    meta-disk internal;
  on studio102.sacpa.videoegg.com {
    device    /dev/drbd1;
    disk      /dev/sdb1;
    meta-disk internal;

Split brain is detected immediately after clvmd is started; dmesg has the following data:

/sbin/drbdadm initial-split-brain minor-1

Any feedback or troubleshooting methods are appreciated!

More information about the drbd-user mailing list