[DRBD-user] mix of lenny32 and 64Bit fails: before-resync-target handler returned 3

Ekkard Gerlach ekkardgerlach at aiai.de
Fri Aug 20 00:34:49 CEST 2010


I forgot drbd.conf:
===================

global {
    usage-count no;
}                  
common {
  syncer { rate 100M; }
}                      
resource vserver-misc {
  protocol C;                                                      
  handlers {
    pri-on-incon-degr "echo o > /proc/sysrq-trigger ; halt -f";
    pri-lost-after-sb "echo o > /proc/sysrq-trigger ; halt -f";
    local-io-error "echo o > /proc/sysrq-trigger ; halt -f";
    outdate-peer "/usr/lib/heartbeat/drbd-peer-outdater -t 5";
  }
  startup {
    degr-wfc-timeout 120;    # 2 minutes.
    wait-after-sb;
  }
  disk {
    on-io-error   detach;
  }
  net {
    timeout       60;    #  6 seconds  (unit = 0.1 seconds)
    connect-int   10;    # 10 seconds  (unit = 1 second)   
    ping-int      10;    # 10 seconds  (unit = 1 second)   
    ping-timeout   5;    # 500 ms (unit = 0.1 seconds)     
    max-buffers     2048;
    unplug-watermark   128;
    max-epoch-size  2048;
    ko-count 4;
    cram-hmac-alg "sha1";
    shared-secret "space-for-vserver";
    after-sb-0pri disconnect;
    after-sb-1pri disconnect;
    after-sb-2pri disconnect;
    rr-conflict disconnect;
  }
  syncer {
    rate 100M;
    al-extents 257;
  }                

 on prax1 {
    device     /dev/drbd0;
    disk       /dev/vg-prax1/vserver-misc;
    address    192.168.228.2:7700;        
    meta-disk  internal;                  
  }
  on prax2 {
    device    /dev/drbd0;
    disk      /dev/vg-prax2/vserver-misc;
    address   192.168.228.3:7700;        
    meta-disk internal;                  
  }                                      
}




More information about the drbd-user mailing list