[DRBD-user] Recovery after failure (0.7.10)

Stephan Rattai srattai at zmnh.uni-hamburg.de
Wed Jun 1 13:29:38 CEST 2005

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


You don't have by chance logs before these entries ? Maybe something like 
'primary shall become sync target' or so ? Are you sure your network gets 
shut down after drbd ?


> May 19 15:36:47 onpdb1 kernel: drbd0: Discarding network configuration.
> May 19 15:36:47 onpdb1 kernel: drbd0: worker terminated
> May 19 15:36:47 onpdb1 kernel: drbd0: drbd0_receiver [2541]: cstate
> WFConnection --> StandAlone
> May 19 15:36:47 onpdb1 kernel: drbd0: Connection lost.
> May 19 15:36:47 onpdb1 kernel: drbd0: drbd0_receiver [2541]: cstate
> StandAlone --> StandAlone
> May 19 15:36:47 onpdb1 kernel: drbd0: receiver terminated
> May 19 15:36:47 onpdb1 kernel: drbd0: drbdsetup [3456]: cstate StandAlone
> --> Unconnected
> May 19 15:36:47 onpdb1 kernel: drbd0: drbd0_receiver [3458]: cstate
> Unconnected --> WFConnection
>
> here is my current /etc/drbd.conf :
> resource "data0" {
>   protocol C;
>   incon-degr-cmd "echo '!DRBD! pri on incon-degr' | wall ; sleep 60 ; halt
> -f";
>   startup {
>     wfc-timeout  20;
>   }
>   disk {
>     on-io-error   detach;
>   }
>   syncer {
>     rate 100M;
>
>                                                            group 0;
>
>                                                            al-extents 257;
>   }
>
>                                                          on
> onpdb1.cablecom.ch {
>     device     /dev/drbd0;
>     disk       /dev/cciss/c0d0p4;
>     address    192.168.0.21:7790;
>     meta-disk  /dev/cciss/c0d1p3[0];
>
>                                                          }
>
>                                                          on
> onpdb2.cablecom.ch {
>     device    /dev/drbd0;
>     disk      /dev/cciss/c0d0p4;
>     address   192.168.0.22:7790;
>     meta-disk /dev/cciss/c0d1p3[0];
>   }
> }
> resource "data1" {
>   protocol C;
>   startup {
>     wfc-timeout  20;
>   }
>   disk {
>     on-io-error   detach;
>   }
>   net {
>   }
>   syncer {
>     rate 100M;
>     group 1;
>     al-extents 257;
>   }
>   on onpdb1.cablecom.ch {
>     device     /dev/drbd1;
>     disk       /dev/cciss/c0d1p2;
>     address    192.168.0.21:7791;
>     meta-disk  /dev/cciss/c0d1p3[1];
>   }
>   on onpdb2.cablecom.ch {
>     device    /dev/drbd1;
>     disk      /dev/cciss/c0d1p2;
>     address   192.168.0.22:7791;
>     meta-disk /dev/cciss/c0d1p3[1];
>   }
> }
> resource "data2" {
>   protocol C;
>   startup {
>     wfc-timeout  20;
>   }
>   disk {
>     on-io-error   detach;
>   }
>   net {
>   }
>   syncer {
>     rate 100M;
>     group 2;
>     al-extents 257;
>   }
>   on onpdb1.cablecom.ch {
>     device     /dev/drbd2;
>     disk       /dev/cciss/c0d2p2;
>     address    192.168.0.21:7792;
>     meta-disk  /dev/cciss/c0d1p3[2];
>   }
>   on onpdb2.cablecom.ch {
>     device    /dev/drbd2;
>     disk      /dev/cciss/c0d2p2;
>     address   192.168.0.22:7792;
>     meta-disk /dev/cciss/c0d1p3[2];
>   }
> }



More information about the drbd-user mailing list