[DRBD-user] DRBD lockup

Taylor, Jonn jonnt at taylortelephone.com
Sun Dec 18 17:02:21 CET 2011

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


I am having problems with drbd locking up randomly. I am using CentOS 
5.7 on a HP DL385 G5 x86_64 server. I am using gvfs, ctdb and samba 3.6. 
Here are my configs. I used this setup.

http://www.howtoforge.com/setting-up-an-active-active-samba-ctdb-cluster-using-gfs-and-drbd-centos-5.5

kmod-drbd82-8.2.6-2
drbd82-8.2.6-1.el5.centos

ifcfg-eth1
NAME=""
BOOTPROTO=none
DHCP_HOSTNAME=pdc.taylortelephone.com
HWADDR=00:23:7D:5A:AE:7C
DEVICE=eth1
MTU=""
NETMASK=255.255.255.0
BROADCAST=255.255.255.255
IPADDR=172.16.0.1
NETWORK=172.16.0.0
ONBOOT=yes


global {
     usage-count yes;
}

common {
   syncer {
                 rate 100M;
                 al-extents 257;
          }
}

resource r0 {

   protocol C;

   startup {
     become-primary-on both;              ### For Primary/Primary ###
     degr-wfc-timeout 60;
     wfc-timeout  30;
   }

   disk {
     on-io-error   detach;
   }

   handlers {
     split-brain "/usr/lib/drbd/notify-split-brain.sh root";
   }

   net {
     allow-two-primaries;                 ### For Primary/Primary ###
     cram-hmac-alg sha1;
     shared-secret "mysecret";
     after-sb-0pri discard-zero-changes;
     after-sb-1pri violently-as0p;
     after-sb-2pri violently-as0p;
   }

   on pdc.taylortelephone.com {
     device     /dev/drbd0;
     disk       /dev/cciss/c0d1;
     address    172.16.0.1:7788;
     meta-disk  internal;
   }

   on bdc.taylortelephone.com {
     device     /dev/drbd0;
     disk       /dev/cciss/c0d1;
     address    172.16.0.2:7788;
     meta-disk  internal;
   }
}

resource r1 {

   protocol C;

   startup {
     become-primary-on both;              ### For Primary/Primary ###
     degr-wfc-timeout 60;
     wfc-timeout  30;
   }

   disk {
     on-io-error   detach;
   }

   handlers {
     split-brain "/usr/lib/drbd/notify-split-brain.sh root";
   }

   net {
     allow-two-primaries;                 ### For Primary/Primary ###
     cram-hmac-alg sha1;
     shared-secret "mysecret";
     after-sb-0pri discard-zero-changes;
     after-sb-1pri violently-as0p;
     after-sb-2pri violently-as0p;
   }

   on pdc.taylortelephone.com {
     device     /dev/drbd1;
     disk       /dev/cciss/c0d2;
     address    172.16.0.1:7789;
     meta-disk  internal;
   }

   on bdc.taylortelephone.com {
     device     /dev/drbd1;
     disk       /dev/cciss/c0d2;
     address    172.16.0.2:7789;
     meta-disk  internal;
   }
}





More information about the drbd-user mailing list