[DRBD-user] DRBD - stop boot process

Lars Ellenberg Lars.Ellenberg at linbit.com
Mon Jul 11 14:45:03 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.


/ 2005-07-11 14:14:07 +0200
\ Tilo Kaltenecker:
> I am using DRBD 0.7.11 and wanted DRBD to wait to finish 
> syncing before Heartbeat is started (stop the boot process) 
> and doesn't seem to work. 
>  
> cat /etc/drbd.conf:
>  
> resource drbd0 {
>   protocol B;
>   incon-degr-cmd "halt -f";
>  
>   startup {
>     wfc-timeout  120;
                   ^^^
you don't want to do this.

>     degr-wfc-timeout 120;.
                           ^
	syntax error :)
>   }

you can start heartbeat even
while drbd 0.7 is still syncing.

if you don't want it,
you need to hack on /etc/init.d/drbd
and put in some while loop that basically does
 drbdsetup /dev/...  wait_sync
 and checks its exit code.

there is no config parameter for this.

cheers,

-- 
: Lars Ellenberg                                  Tel +43-1-8178292-0  :
: LINBIT Information Technologies GmbH            Fax +43-1-8178292-82 :
: Schoenbrunner Str. 244, A-1120 Vienna/Europe   http://www.linbit.com :
__
please use the "List-Reply" function of your email client.



More information about the drbd-user mailing list