<div dir="ltr"><div>Are you aware that MD RAID1 supports write intent bitmap that allows the resync of only the changed blocks since the last sync? See <a href="https://raid.wiki.kernel.org/index.php/Write-intent_bitmap">https://raid.wiki.kernel.org/index.php/Write-intent_bitmap</a>. <br>
<br></div>Radu<br> </div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jun 26, 2014 at 4:12 PM, Allen Chen <span dir="ltr">&lt;<a href="mailto:achen@harbourfrontcentre.com" target="_blank">achen@harbourfrontcentre.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 6/26/2014 6:00 AM, <a href="mailto:drbd-user-request@lists.linbit.com" target="_blank">drbd-user-request@lists.<u></u>linbit.com</a> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Send drbd-user mailing list submissions to<br>
        <a href="mailto:drbd-user@lists.linbit.com" target="_blank">drbd-user@lists.linbit.com</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="http://lists.linbit.com/mailman/listinfo/drbd-user" target="_blank">http://lists.linbit.com/<u></u>mailman/listinfo/drbd-user</a><br>
or, via email, send a message with subject or body &#39;help&#39; to<br>
        <a href="mailto:drbd-user-request@lists.linbit.com" target="_blank">drbd-user-request@lists.<u></u>linbit.com</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:drbd-user-owner@lists.linbit.com" target="_blank">drbd-user-owner@lists.linbit.<u></u>com</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than &quot;Re: Contents of drbd-user digest...&quot;<br>
<br>
<br>
Today&#39;s Topics:<br>
<br>
    1. Re: Sync to the same IP (Lars Ellenberg)<br>
<br>
<br>
------------------------------<u></u>------------------------------<u></u>----------<br>
<br>
Message: 1<br>
Date: Thu, 26 Jun 2014 11:11:23 +0200<br>
From: Lars Ellenberg &lt;<a href="mailto:lars.ellenberg@linbit.com" target="_blank">lars.ellenberg@linbit.com</a>&gt;<br>
Subject: Re: [DRBD-user] Sync to the same IP<br>
To: <a href="mailto:drbd-user@lists.linbit.com" target="_blank">drbd-user@lists.linbit.com</a><br>
Message-ID: &lt;20140626091123.GH17123@soda.<u></u>linbit&gt;<br>
Content-Type: text/plain; charset=us-ascii<br>
<br>
On Thu, Jun 19, 2014 at 01:23:56AM +0200, Alexey Orishko wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi all,<br>
<br>
I got recently across DRBD and it looks like a cool stuff.<br>
I wonder if someone could clarify for me if it is possible to<br>
configure DRBD to sync one block device to another block device on the<br>
same host?<br>
</blockquote>
yes you can<br>
    (example of how to do that was provided in the thread already;<br>
     yes you can use 127.0.0.1; no you don&#39;t need ip aliases)<br>
<br>
No, I don&#39;t think that&#39;s a good idea.<br>
<br>
On Sun, Jun 22, 2014 at 10:56:21PM +0200, Alexey Orishko wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On Sun, Jun 22, 2014 at 7:38 PM, Bret Mette &lt;<a href="mailto:bret.mette@dbihosting.com" target="_blank">bret.mette@dbihosting.com</a>&gt; wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I would still like to know what the purpose is for this. You&#39;re picking the<br>
brains of the community for a solution to your problem, it would be nice to<br>
give a little back and share the backstory about that problem.<br>
</blockquote>
I want to figure out if DRBD is suitable for making a second copy of<br>
backup disk without stopping client.<br>
</blockquote>
Explain to me why md raid1 won&#39;t do what you want.<br>
Same question to the<br>
&quot;Someone talked about this on some Amazon event,<br>
and I want to do what he thinks is cool&quot; fraction.<br>
<br>
This is host based mirroring.<br>
md raid1 is meant to do that.<br>
Why not use it?<br>
<br>
Oh, so you want it async...<br>
Did you know about mdadm &quot;write-mostly&quot; and &quot;write-behind&quot;?<br>
<br>
It&#39;s not that DRBD cannot do it.<br>
It&#39;s just that I think it is the wrong tool for the job.<br>
So please explain to me why you think otherwise.<br>
<br>
        Lars<br>
<br>
</blockquote>
Hi Lars,<br>
<br>
Here is my explanation to use DRBD instead of md raid1:<br>
for md raid1, if one member is physically removed from the machine, and after you reconnect the same disk to md raid1, MD will re-sync everything to it. It takes much more time.<br>
for DRBD, if the second disk is removed from the machine, and after you reconnect the same disk to DRBD, DRBD will sync whatever has been changed. It take less time than MD raid1.<br>
<br>
So I need someone to confirm DRBD will work with primary and second nodes on the same machine.<br>
<br>
Thanks,<br>
Allen<br>
<br>
______________________________<u></u>_________________<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/<u></u>mailman/listinfo/drbd-user</a><br>
</blockquote></div><br></div>