<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<body>
<div dir="auto">
<div dir="auto">Hi.</div><div dir="auto"><br></div><div dir="auto">Try</div><div dir="auto"><span style="font-size: 12pt;">order o_fs_drbd0_after_ms_drbd0 Mandatory: ms_drbd0:promote fs_drbd0:start</span></div><div dir="auto"><span style="font-size: 12pt;"><br></span></div><div dir="auto"><br></div>
<div id="aqm-original" style="color: black;">
<div dir="auto">On May 11, 2021 6:35:58 PM Andrei Borzenkov <arvidjaar@gmail.com> wrote:</div>
<div><br></div>
<blockquote type="cite" class="gmail_quote" style="margin: 0 0 0 0.75ex; border-left: 1px solid #808080; padding-left: 0.75ex;">
<div dir="auto">While testing drbd cluster I found errors (drbd device busy) when</div>
<div dir="auto">stopping drbd master with mounted filesystem. I do have</div>
<div dir="auto"><br></div>
<div dir="auto">order o_fs_drbd0_after_ms_drbd0 Mandatory: ms_drbd0:promote fs_drbd0</div>
<div dir="auto"><br></div>
<div dir="auto">and I assumed pacemaker automatically does reverse as "first stop then</div>
<div dir="auto">demote". It does not - umount and demote are initiated concurrently.</div>
<div dir="auto"><br></div>
<div dir="auto">Adding explicit</div>
<div dir="auto"><br></div>
<div dir="auto">order o_stop_fs_drbd0_before_demote_ms_drbd0 Mandatory: fs_drbd0:stop</div>
<div dir="auto">ms_drbd0:demote</div>
<div dir="auto"><br></div>
<div dir="auto">fixed it, but should not this be automatic?</div>
<div dir="auto"><br></div>
<div dir="auto">The versions is pacemaker-2.0.5+20210310.83e765df6-1.1.x86_64.</div>
<div dir="auto">_______________________________________________</div>
<div dir="auto">Manage your subscription:</div>
<div dir="auto">https://lists.clusterlabs.org/mailman/listinfo/users</div>
<div dir="auto"><br></div>
<div dir="auto">ClusterLabs home: https://www.clusterlabs.org/</div>
</blockquote>
</div><div dir="auto"><br></div>
</div></body>
</html>