<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
Hi again,<div><br></div><div>it's been 7 days and i haven't recieved any reply. Is my question stupid, too obvious or what?</div><div><br></div><div>Regards,</div><div>M.</div><div><br></div><div><br><div>On 2008.3.21, at 13:11, Martin Gombac wrote:<br class="Apple-interchange-newline"><blockquote type="cite"><div>Hi DRBD users,</div><div><br></div><div>i've been using drbd since 0.6 version. I always used to setup fail-over clusters with primary/secondary and usually 2 drbd resources. Each running on one node as primary.</div><div>Now i'm thinking it's time to try primary/primary for the first time. I would use OCFS2 and gentoo.</div><div><br></div><div>I wonder how does OCFS2 or DRBD 8.0.* deal with failed failed replication link when the same file is accessed.</div><div>I mean, in the primary/secondary if the replication link went down on secondary no data was written. If for some strange reason the secondary resource became primary and mounted if we got split brain, solution was pretty straight forward. Data got (automatically or manually) replicated back from first primary node or the node with most current data on resource basis. r1 could be replicated one way, while r0 was in the other way.</div><div><br></div><div><font class="Apple-style-span" color="#000000"><font class="Apple-style-span" face="Arial" size="3"><span class="Apple-style-span" style="font-size: 13px;"><b>But what happens when i have only one resource in primary/primary and the same file gets written to or created on both with different content while resource is disconnected?</b></span></font></font></div><div><br></div><div>I cannot say sync from first to second node since each node has some of the data correct and doing this in either way would make me loose half of the data. I'm I not understanding something here or is this expected? Maybe point me to some manual which explains drbd in primary/primary mode. I don't think i can find this info on: <a href="http://www.drbd.org/users-guide/index.html">http://www.drbd.org/users-guide/index.html</a></div><div><br></div><div><br></div><div>Regards,</div><div>M.</div><div>_______________________________________________</div><div>drbd-user mailing list</div><div><a href="mailto:drbd-user@lists.linbit.com">drbd-user@lists.linbit.com</a></div><div><a href="http://lists.linbit.com/mailman/listinfo/drbd-user">http://lists.linbit.com/mailman/listinfo/drbd-user</a></div> </blockquote></div><br></div></body></html>