1DRBD-WAIT-PROMOTAB(7) DRBD Manual DRBD-WAIT-PROMOTAB(7)
2
3
4
6 drbd-wait-promotable@.service - Wait for DRBD to become promotable
7
9 drbd-wait-promotable@RESNAME.service - Wait for DRBD to become
10 promotable
11
12
14 Usually you do not want to "hardcode" an unconditional promotion
15 attempt of DRBD resources, because you usually cannot know a-priory
16 whether this instance of DRBD will have access to good data (yet).
17
18 If you try to promote (mount, use) DRBD before it can be certain to
19 have access to good data, the attempt will fail in various ways,
20 typically claiming "wrong medium type", "need access to good data".
21
22 This unit will wait for the DRBD internal state to indicate that it has
23 access to good data. It does not monitor the state further, so this is
24 good enough only to avoid trying to mount "too early" if you hard-code
25 the mount attempt into your boot sequence, for example using an fstab
26 entry or similar.
27
28 To monitor and react to DRBD state changes, use drbd-reactor or a
29 cluster manager like pacemaker.
30
31 If you systemctl enable this unit, it will be required by drbd@.target,
32 so anything depending on that target, for example an fstab entry, will
33 implicitly wait until this DRBD indicated it was "healthy enough" to be
34 used.
35
36 It can still timeout, in which case systemd sees this as a start
37 failure, and starting of any dependencies (e.g. the mount) won’t be
38 attempted at this point.
39
40
42 drbd@.service(7), drbd@.target(7), drbd-lvchange@.service(7)
43
44
46 LINBIT HA Solutions GmbH https://linbit.com
47
48
49
50drbd-utils 2021-11-01 DRBD-WAIT-PROMOTAB(7)