[DRBD-user] automatic recovery, 2 successively drbd_sync_handshake with different results

Maros Timko timkom at gmail.com
Wed May 26 21:04:53 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.


>>> I want to check the automatic recovery.
>>> my configuration is:
>>> ? ? ? ? ? ? ? ?after-sb-0pri discard-least-changes;
>>> ? ? ? ? ? ? ? ?after-sb-1pri discard-secondary;
>>> ? ? ? ? ? ? ? ?after-sb-2pri call-pri-lost-after-sb;
>>
>> What is your pri-lost-after-sb doing? Rebooting the node? Which one?
>
>  pri-lost-after-sb "echo perte primaire DRBD >~/.drbdStatus; drbdadm
> secondary mysql;  drbdadm outdate mysql; ifconfig eth0 down; sync;
> reboot -f";
>
> N1 reboots.

So, this is not automatic recovery anymore. You set N1 to outdate its
data meaning "resync from peer".

Tino



More information about the drbd-user mailing list