[DRBD-user] Is it possible to block the boot process until theend of sync ?
bpoyner at ccac.edu
Mon Jan 26 15:47:37 CET 2009
> -----Original Message-----
> From: drbd-user-bounces at lists.linbit.com [mailto:drbd-user-
> bounces at lists.linbit.com] On Behalf Of Lars Ellenberg
> Sent: Monday, January 26, 2009 9:24 AM
> To: drbd-user at lists.linbit.com
> Subject: Re: [DRBD-user] Is it possible to block the boot process
> theend of sync ?
> if you actually would want it to block until it is fully
> re-synchronized, then you'd have to alter the drbd init script,
> and add a something like
> for dev in $(drbdadm sh-dev all) ; do
> drbdsetup $dev wait-sync
> where there is currently only the $DRBDADM wait-con-int
> (all typos and thinkos mine, use at your own risk.)
The way I handled this was to create a separate init script to be run
immediately after the supplied drbd init script. That way an upgrading
drbd won't overwrite my changes. Here's a link to my script, same
disclaimer to use at your own risk ('works for me').
Network Engineer III
CCAC - College Office
More information about the drbd-user