[DRBD-user] Problem with timeouts

Selfcontrol selfcontrol at interia.pl
Thu Jun 3 10:30:14 CEST 2004

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


Hello,

When I run drbd (version: 0.7-pre7 cvs $Date: 2004/05/28 12:10:11 $
(api:73/proto:72))
only in one server I get this:

mx1:~# /etc/init.d/drbd start
Starting DRBD resources:    [r0]
Waiting until resources are connected (or timeouted)ioctl() failed: Timer
expired
drbdsetup exited with code 20
.
How can I override the timeouts and don't have to run "drbdsetup /dev/nb0
primary" ?

Here is my drbd.conf:
resource r0 {

  protocol C;
  incon-degr-cmd "halt -f";
  startup {
    wfc-timeout         0;  ## Infinite!
    degr-wfc-timeout  120;  ## 2 minutes.
  }
  disk {
    on-io-error detach;
  }
  net {
    timeout           60;
    connect-int       10;
    ping-int          10;
    max-buffers     2048;
    max-epoch-size  2048;
  }
  syncer {
    rate   4M;
    group   1;
  }

  on mx1 {
    device      /dev/nb0;
    disk        /dev/md1;
    address     195.205.159.13:7789;
    meta-disk   internal;
  }

  on mx2 {
    device     /dev/nb0;
    disk       /dev/md1;
    address    195.205.159.3:7789;
    meta-disk  internal;
  }
}

-- 
Kris Putas





More information about the drbd-user mailing list