[DRBD-user] Mount problem at boot on multimaster config

Robert Altnoeder robert.altnoeder at linbit.com
Tue Sep 3 10:17:20 CEST 2019


On 9/1/19 7:09 PM, Ervin Hegedüs wrote:
> Hi there,
>
> I have an up-to-date Debian 10 system, with drbd 8.4.10, and ocfs2
> 1.8.5.
>
> [...]
>
> Looks like the /dev/drbd0 doesn't exists at boot time, but when I
> log in, it builded.

Looks like a typical race condition - trying to mount before the DRBD
device has connected to the peer node and switched to the primary role.
The mount process must wait for the DRBD device to become usable before
trying to mount.

> Am I missing something? Or there is some network issue, eg. slow
> network...?
>
> This config (which is _same_) works on Debian 9 without any
> issue.

In that case, and provided that Debian 9 doesn't have any dependencies
configured that Debian 10 doesn't, it probably works on Debian 9 by pure
coincidence - e.g., different timing due to the order of service
startup. That also means it could stop working any moment if the timing
changes, so it would certainly be a good idea to check the dependencies
on those Debian 9 systems too.

br,
Robert



More information about the drbd-user mailing list