On Thu, Sep 05, 2019 at 11:42:18AM +0200, Ervin Hegedüs wrote: > Now looks like this works: > > # diff -ruN ocfs2.service /lib/systemd/system/ocfs2.service > --- ocfs2.service 2019-09-04 14:43:55.613155935 +0200 > +++ /lib/systemd/system/ocfs2.service 2019-09-05 10:59:12.552486408 +0200 > @@ -1,12 +1,13 @@ > [Unit] > Description=Mount ocfs2 Filesystems > Documentation=man:ocfs2(7) man:mount.ocfs2(8) > -Requires=o2cb.service > -After=o2cb.service > +Requires=dev-drbd0.device drbd.service o2cb.service > +After=dev-drbd0.device drbd.service o2cb.service > > [Service] > Type=oneshot > RemainAfterExit=yes > ExecStart=/usr/lib/ocfs2-tools/ocfs2 start > ExecStop=/usr/lib/ocfs2-tools/ocfs2 stop > ExecReload=/usr/lib/ocfs2-tools/ocfs2 restart > > so, the "dev-drbd0.device" and "drbd.service" dependencies added > to Requires and After fields solves my problem. > > How can I help you to propagate this solution? I mean, should I > edit the Wiki (when I got my access :)) here?
Your solution will already be saved in this bug report :) > https://wiki.debian.org/DrBd This page describes a different use case of DRBD, but you can create a new one page for DRBD+OCFS2 configuration. -- Valentin

