Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
Hello!
After secondary node hangs, I see this:
May 5 07:32:40 test1 kernel: drbd0: PingAck did not arrive in time.
May 5 07:32:40 test1 kernel: drbd0: drbd0_asender [23906]: cstate
Connected --> NetworkFailure
May 5 07:32:40 test1 kernel: drbd0: asender terminated
Here is part from drbd.conf:
resource drbd0 {
protocol C;
incon-degr-cmd "echo '!DRBD! pri on incon-degr' | wall ; sleep 60 ; halt -f";
startup { wfc-timeout 15; degr-wfc-timeout 120; }
disk { on-io-error panic; }
net { timeout 60; connect-int 10; ping-int 10; on-disconnect reconnect; }
syncer {
rate 80M;
group 1;
}
on test1 {
device /dev/drbd0;
disk /dev/sda3;
address 10.0.0.1:7791;
meta-disk internal;
}
on test2 {
device /dev/drbd0;
disk /dev/sda7;
address 10.0.0.2:7791;
meta-disk internal;
}
}
Why drbd not tries to reconnect despite of "on-disconnect reconnect;" option?
Thanks.