<div dir="ltr">It might worth having a look at the drbd.service systemd unit file...<div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">dpkg -l | grep drbd<br>ii drbd-dkms 9.0.19-1 all RAID 1 over TCP/IP for Linux module source<br>ii drbd-utils 9.10.0-1 amd64 RAID 1 over TCP/IP for Linux (user utilities)</blockquote><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">dpkg -L drbd-utils|grep drbd.service<br>/lib/systemd/system/drbd.service<br></blockquote><div><br></div><div>Gianni </div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 23 Jul 2019 at 17:07, Banks, David (db2d) <<a href="mailto:db2d@virginia.edu">db2d@virginia.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div style="overflow-wrap: break-word;">
Thanks Veit, that’s what I use to start it manually. I’m looking for the automated approach so that it starts on it’s own reliably after system start.<br>
<div>
<div style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none">
<div style="text-align:-webkit-auto"><i><font face="Marion" size="4"><br class="gmail-m_3957902293334328717Apple-interchange-newline">
-------------------------------</font></i></div>
<div style="text-align:-webkit-auto"><font color="#800000"><font face="Garamond"><span style="font-size:10.5pt"><b><i>Dav Banks<br>
</i></b></span></font></font><font size="1"><font face="Times New Roman"><span style="font-size:9pt">School of Architecture<br>
University of Virginia<br>
Campbell Hall, Rm 138<br>
(o) 434.243.8883<br>
(e) <a>dav.banks@virginia.edu</a></span></font></font></div>
</div>
</div>
<div><br>
<blockquote type="cite">
<div>On Jul 23, 2019, at 3:49 AM, Veit Wahlich <<a href="mailto:cru.lists@zodia.de" target="_blank">cru.lists@zodia.de</a>> wrote:</div>
<br class="gmail-m_3957902293334328717Apple-interchange-newline">
<div>
<div>Hi David,<br>
<br>
have a look at the documentation of drbdadm; the commands up, down and<br>
adjust might be what you are looking for.<br>
<br>
Best regards,<br>
// Veit<br>
<br>
<br>
Am Montag, den 22.07.2019, 16:34 +0000 schrieb Banks, David (db2d):<br>
<blockquote type="cite">Hello,<br>
<br>
Is there a way to delay the loading of DRBD resources until after the<br>
underlying block system has made the devices available?<br>
<br>
I’ve looked in systemd but didn’t see any drbd services and wanted to<br>
ask before monkeying with that.<br>
<br>
System: Ubuntu 18.04<br>
DRBD: 8.9.10<br>
<br>
After reboot DRBD starts before the zfs volumes that is use are<br>
available so I have to do a 'drbdadm adjust all’ each time. I’d like<br>
it to just wait until the zfs-mount.service is done.<br>
<br>
Thanks!<br>
<br>
_______________________________________________<br>
Star us on GITHUB: <a href="https://github.com/LINBIT" target="_blank">https://github.com/LINBIT</a><br>
drbd-user mailing list<br>
<a href="mailto:drbd-user@lists.linbit.com" target="_blank">drbd-user@lists.linbit.com</a><br>
<a href="http://lists.linbit.com/mailman/listinfo/drbd-user" target="_blank">http://lists.linbit.com/mailman/listinfo/drbd-user</a><br>
</blockquote>
<br>
</div>
</div>
</blockquote>
</div>
<br>
</div>
_______________________________________________<br>
Star us on GITHUB: <a href="https://github.com/LINBIT" rel="noreferrer" target="_blank">https://github.com/LINBIT</a><br>
drbd-user mailing list<br>
<a href="mailto:drbd-user@lists.linbit.com" target="_blank">drbd-user@lists.linbit.com</a><br>
<a href="http://lists.linbit.com/mailman/listinfo/drbd-user" rel="noreferrer" target="_blank">http://lists.linbit.com/mailman/listinfo/drbd-user</a><br>
</blockquote></div>