<div><br></div>On Mon, Apr 30, 2012 at 5:32 AM, Lars Ellenberg <span dir="ltr"><<a href="mailto:lars.ellenberg@linbit.com" target="_blank">lars.ellenberg@linbit.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb"><div class="h5">On Tue, Apr 24, 2012 at 11:42:10AM -0700, Brian Chrisman wrote:<br>
> Documentation drbdadm is ambiguous here:<br>
> "Waits until the device is connected to its peer device."<br>
> .. because the phrase 'the device' implies a single device.<br>
><br>
> In such a case as 'drbdadm wait-connect all', I would assume that the<br>
> command returns when all devices have connected but wanted to verify that<br>
> is the case.<br>
<br>
</div></div>wait-connect returns when<br>
either the connection handshake was successfull, and<br>
connection state is now "Connected" or one of the Sync states,<br>
or the resource went into "StandAlone"<br>
unless you wait-connect with "--wait-after-sb",<br>
or the wait timeout expired.<br>
<br>
drbdadm whatever all<br>
calls the respective drbdmeta or drbdsetup command<br>
for all resources in turn.<br>
<br>
so drbdadm wait-connect all would return after all individual drbdsetup<br>
wait-connect exited, for whatever reason, and of course there is no<br>
guarantee that those that connected first are really still connected<br>
when the last drbdsetup exits.<br>
<br>
Did that help at all?<br></blockquote><div><br></div><div><br></div><div>That is what I hoped it meant. Thanks for the clarification.</div><div><br></div><div>-Brian</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<span class="HOEnZb"><font color="#888888"><br>
--<br>
: Lars Ellenberg<br>
: LINBIT | Your Way to High Availability<br>
: DRBD/HA support and consulting <a href="http://www.linbit.com" target="_blank">http://www.linbit.com</a><br>
<br>
DRBD® and LINBIT® are registered trademarks of LINBIT, Austria.<br>
__<br>
please don't Cc me, but send to list -- I'm subscribed<br>
_______________________________________________<br>
drbd-user mailing list<br>
<a href="mailto:drbd-user@lists.linbit.com">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>
</font></span></blockquote></div><br>