[DRBD-user] [patch] Wait for all DRBD devices to be registered with udev

Philipp Reisner philipp.reisner at linbit.com
Thu Apr 13 18:29:05 CEST 2006

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


Am Donnerstag, 13. April 2006 16:53 schrieb Christopher Boumenot:
> I am using DRBD in combination with Heartbeat, and I've noticed that on
> occasion not all of the DRBD devices are properly configured.  I've
> tracked the issue down to DRBD and udev.  When DRBD waits for udev to
> register its devices it only waits for the very first device to be
> registered.  This is fine if you have one device, but if you have more
> devices the scripts can incorrectly continue execution.  As a result
> Heartbeat's init script are executed, and when it attempts to mount a
> DRBD backed partition it fails.
>
> After Hearbeat's init script has finished executing the cluster is in
> the state Primary/Unknown (active), and Unknown/Secondary (standby), and
> the DRBD's connection state is WFConnection.  I've attached a patch that
> addresses this issue by ensuring every device is configured before
> continuing execution.
>

Applied to the 0.7-branch.

-philipp
-- 
: Dipl-Ing Philipp Reisner                      Tel +43-1-8178292-50 :
: LINBIT Information Technologies GmbH          Fax +43-1-8178292-82 :
: Schönbrunnerstr 244, 1120 Vienna, Austria    http://www.linbit.com :



More information about the drbd-user mailing list