<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <font size="-1"><font face="Cambria">Hi Florian,<br>
        <br>
        Thanks again for all of your help. <br>
        <br>
        While the diagram makes clear the entire flow of the process, I
        am looking for something like a flow chart to depict the order
        of operations. For instance, what is the flow of the data and
        order of operations when a write occurs to /dev/drbd0 on the
        primary and how is it applied on the other node- a write occurs
        to /dev/drbd0 on node1, it writes to the real block device on
        node1, then is put on the socket to node2, node2 receives data
        and applies algo check (if applied), data written to /dev/drbd0
        on node2.<br>
        <br>
        The fundamentals page also only gives a brief overview of how it
        works at a high level, I am looking to see what actually occurs
        under the hood so perhaps I should start looking at the kernel
        docs that you pointed out earlier?<br>
        <br>
        <br>
        <br>
      </font></font>
    <div class="moz-signature"><font size="2">
        Regards, <br>
        Chuck Kozler<br>
        <i>Lead Infrastructure &amp; Systems Administrator</i><br>
        ---<br>
        <b>Office</b>: 1-646-290-6267 | <b>Mobile</b>: 1-646-385-3684<br>
        FIX Flyer<br>
        <br>
        Notice to Recipient: This e-mail is meant only for the intended
        recipient(s) of the transmission, and contains confidential
        information which is proprietary<br>
        to FIX Flyer LLC. Any unauthorized use, copying, distribution,
        or dissemination is strictly prohibited. All rights to this
        information is reserved by FIX Flyer LLC.<br>
        If you are not the intended recipient, please contact the sender
        by reply e-mail and please delete this e-mail from your system
        and destroy any copies<br>
      </font></div>
    <br>
    On 10/14/2011 5:21 AM, Charles Kozler wrote:
    <blockquote
cite="mid:78571060-1318584071-cardhu_decombobulator_blackberry.rim.net-985701216-@b13.c9.bise6.blackberry"
      type="cite">
      <pre wrap="">Haven't read it yet though I will later today.

Having not ready any of the documentation of the underlying processes/workings, all of my understandings were purely based on assumptions from my basic use with DRBD- that said, thank you for all your insight and I will let you know later my understandings :)


Sent from my Verizon Wireless BlackBerry

-----Original Message-----
From: Florian Haas <a class="moz-txt-link-rfc2396E" href="mailto:florian@hastexo.com">&lt;florian@hastexo.com&gt;</a>
Sender: <a class="moz-txt-link-abbreviated" href="mailto:drbd-user-bounces@lists.linbit.com">drbd-user-bounces@lists.linbit.com</a>
Date: Fri, 14 Oct 2011 09:08:17 
To: <a class="moz-txt-link-rfc2396E" href="mailto:drbd-user@lists.linbit.com">&lt;drbd-user@lists.linbit.com&gt;</a>
Subject: Re: [DRBD-user] Disk Corruption = DRBD Failure?

On 2011-10-12 20:30, Charles Kozler wrote:
</pre>
      <blockquote type="cite">
        <pre wrap="">I will re-read the DRBD Funadmentals- the way I understood it was
basically if you were writing to node1 it wouldn't put the data through
a TCP socket and would actually just write directly to the block device
and that TCP was usually only used for the actual replicating and data
integrity conversation between the hosts.  My understanding now is that
for all hosts included in the resource definition it will put the data
into that socket - including the host you're writing from (eg: if I
wrote to /dev/drbd0 on host1 it will go through the socket to write the
data still to write it to the underlying block device-
</pre>
      </blockquote>
      <pre wrap="">
Er, no. It won't.

</pre>
      <blockquote type="cite">
        <pre wrap="">I had originally
thought it would skip the TCP socket write and write directly to the
block device).
</pre>
      </blockquote>
      <pre wrap="">
For the _local_ write, of course it doesn't go through the TCP socket.
Why should it? That would be braindead. Also, given the documentation,
what makes you think so? I ask because I wrote it, and if there's
anything horribly unclear in there I'd be happy to fix it.

Did you look at the illustration in the Fundamentals chapter?

Florian

</pre>
    </blockquote>
  </body>
</html>