drbd-lvchange@.service

This unit is provided by:

Options

  • [Install]
  • [Service]
    • ExecStart=/bin/sh -c 'r="$1"; for d in $(drbdadm sh-ll-dev "$r") ; do test -b $d || [[ $d != /dev/*/* ]] && continue; lvchange -ay $d ; done' -- %I
    • ExecStopPost=-/bin/sh -c 'r="$1"; for d in $(drbdadm sh-ll-dev "$r") ; do test ! -b $d || [[ $d != /dev/*/* ]] && continue; lvchange -an $d ; done' -- %I
    • RemainAfterExit=yes
    • SyslogIdentifier=drbd-%I
    • Type=oneshot
  • [Unit]

Additionnal notes

Nothing here.