DRBD-CONFIGURED.T(7)

🌸 DRBD-CONFIGURED.T(7) 🌸

okay bestie, so this is a page from the DRBD Manual β€” it's called drbd-configured.target, and it's a systemd target unit thingy. let's get into it πŸ’…


✨ NAME ✨

drbd-configured.target β€” a System target unit that's literally the vibe check saying all your (enabled) DRBD resources are configured 🫢


πŸŽ€ SYNOPSIS πŸŽ€

drbd-configured.target

πŸ’– DESCRIPTION πŸ’–

so. this target should be enabled by default β€” that's its whole default main character energy. and what does it do? it acts as a synchronization point to "install" the individual drbd@RESNAME.target instances. like, it's the group chat where all the little per-resource targets finally show up together πŸ¦‹

and then β€” here's the slay part β€” you can order any units that expect one or more DRBD resources to be configured after drbd-configured.target. so anything that's like "bestie i need my DRBD stuff ready" just goes after it. ordering, but make it ✨declarative✨

ngl this is the "wait for everyone to arrive before we start the movie" of systemd units. no cap.

πŸ”₯ EXAMPLE πŸ”₯

systemctl enable drbd-configured.target
for res in $(drbdadm sh-resources); do
    systemctl enable drbd@$(systemd-escape "$res").target
done

like. look at that loop. it's giving "enable the big target, then enable a per-resource target for every resource drbdadm sh-resources hands you, escaping the name properly with systemd-escape because resource names can be spicy." ate, honestly πŸ‘‘


πŸ¦‹ SEE ALSO πŸ¦‹

  • drbd@.target(7)

πŸ‘‘ AUTHORS πŸ‘‘

LINBIT HA Solutions GmbH β€” https://linbit.com


🌈 SIGN-OFF 🌈

this page came to you from drbd-utils, dated 2026-08-15. go forth and enable your targets, bestie πŸ’œ

πŸ“¦ where this page comes from