<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi,<br>
<br>
Normally, you would do your 'mkfs' after you initialized the drbd
disks.<br>
<br>
Did the synchronisation run after your 'drbdadm --
--overwrite-data-of-peer primary' command?<br>
<br>
It should have, the log messages:<br>
<p style="margin-bottom: 0cm" lang="en"> kernel: [ 1351.610453]
block
drbd4: role( Secondary -> Primary ) disk( Inconsistent ->
UpToDate ) pdsk( DUnknown -> Outdated ) </p>
<p style="margin-bottom: 0cm" lang="en">kernel: [ 1351.611116] block
drbd4: Forced to consider local data as UpToDate!</p>
<br>
Are normal after a 'drbdadm --
--overwrite-data-of-peer primary'.<br>
<br>
Cheers,<br>
<br>
Dirk<br>
<br>
Op 20-4-2012 22:52, <a class="moz-txt-link-abbreviated" href="mailto:mensagens@marcelofrota.info">mensagens@marcelofrota.info</a> schreef:
<blockquote cite="mid:20120420211002.D3C7C106DCCA@mail09.linbit.com"
type="cite">Dears,
<p style="margin-bottom: 0cm">I use drbd in two machines connected</p>
<p style="margin-bottom: 0cm"><br>
</p>
<p style="margin-bottom: 0cm" lang="en"><a moz-do-not-send="true"
name="result_box"></a>I
executed the comands in second node : <br>
modprobe drbd<br>
/sbin/drbdadm create-md
partition4<br>
/sbin/drbdadm up partition4<br>
<br>
In primary node i
executed : <br>
modprobe drbd<br>
/sbin/drbdadm create-md
partition4<br>
/sbin/drbdadm up partition4</p>
<p style="margin-bottom: 0cm" lang="en">/sbin/</p>
<p style="margin-bottom: 0cm" lang="en"> kernel: [ 1351.610453]
block
drbd4: role( Secondary -> Primary ) disk( Inconsistent ->
UpToDate ) pdsk( DUnknown -> Outdated ) </p>
<p style="margin-bottom: 0cm" lang="en">kernel: [ 1351.611116]
block
drbd4: Forced to consider local data as UpToDate!</p>
<p style="margin-bottom: 0cm" lang="en">mkfs /dev/drbd0<br>
<br>
In
/var/log/syslog<br>
The log show: <br>
<br>
</p>
<p style="margin-bottom: 0cm" lang="en"> Executing '/sbin/drbdadm
--
--overwrite-data-of-peer primary partition4'</p>
<p style="margin-bottom: 0cm" lang="en"> kernel: [ 1351.610443]
block
drbd4: Not fencing peer, I'm not even Consistent myself.</p>
<p style="margin-bottom: 0cm" lang="en"> kernel: [ 1351.610447]
block
drbd4: Forced into split brain situation!</p>
<p style="margin-bottom: 0cm" lang="en"> kernel: [ 1351.610453]
block
drbd4: role( Secondary -> Primary ) disk( Inconsistent ->
UpToDate ) pdsk( DUnknown -> Outdated ) </p>
<p style="margin-bottom: 0cm" lang="en">kernel: [ 1351.611116]
block
drbd4: Forced to consider local data as UpToDate!</p>
<p style="margin-bottom: 0cm" lang="en">kernel: [ 1351.611148]
block
drbd4: new current UUID
C591FBC821A81D4B:0000000000000004:0000000000000000:0000000000000000</p>
<p style="margin-bottom: 0cm" lang="en"><a moz-do-not-send="true"
name="result_box1"></a><br>
Anyone
seen this problem in the log? can you help me?</p>
<p style="margin-bottom: 0cm" lang="en"><br>
</p>
<p style="margin-bottom: 0cm">My global_common.conf : </p>
<p style="margin-bottom: 0cm"><br>
</p>
<p style="margin-bottom: 0cm">global {
</p>
<p style="margin-bottom: 0cm"> usage-count yes;
</p>
<p style="margin-bottom: 0cm">}
</p>
<p style="margin-bottom: 0cm">
common {
</p>
<p style="margin-bottom: 0cm"> protocol B;
</p>
<p style="margin-bottom: 0cm"> syncer {
</p>
<p style="margin-bottom: 0cm"> rate 100M;
</p>
<p style="margin-bottom: 0cm"> al-extents 3389;
</p>
<p style="margin-bottom: 0cm"> }
</p>
<p style="margin-bottom: 0cm"> handlers {
</p>
<p style="margin-bottom: 0cm"> outdate-peer
"/usr/lib/heartbeat/drbd-peer-outdater";
</p>
<p style="margin-bottom: 0cm"> split-brain
"/usr/lib/drbd/notify-split-brain.sh root";
</p>
<p style="margin-bottom: 0cm"> }
</p>
<p style="margin-bottom: 0cm"> disk {
</p>
<p style="margin-bottom: 0cm"> on-io-error detach;
</p>
<p style="margin-bottom: 0cm"> fencing resource-only;
</p>
<p style="margin-bottom: 0cm"> }
</p>
<p style="margin-bottom: 0cm"> net {
</p>
<p style="margin-bottom: 0cm"> after-sb-0pri
discard-zero-changes;
</p>
<p style="margin-bottom: 0cm"> after-sb-1pri discard-secondary;
</p>
<p style="margin-bottom: 0cm"> after-sb-2pri disconnect;
</p>
<p style="margin-bottom: 0cm"> max-buffers 8000;
</p>
<p style="margin-bottom: 0cm"> max-epoch-size 8000;
</p>
<p style="margin-bottom: 0cm"> sndbuf-size 0;
</p>
<p style="margin-bottom: 0cm"> }
</p>
<p style="margin-bottom: 0cm">}
</p>
<br>
Best reguards,<br>
Marcelo Frota<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
drbd-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:drbd-user@lists.linbit.com">drbd-user@lists.linbit.com</a>
<a class="moz-txt-link-freetext" href="http://lists.linbit.com/mailman/listinfo/drbd-user">http://lists.linbit.com/mailman/listinfo/drbd-user</a>
</pre>
</blockquote>
<br>
<div class="moz-signature">-- <br>
<title>ProActive Software</title>
<style type="text/css">
html, body, table {
        font-family:                        arial, helvetica, sans-serif;
        font-size:                                11px;
}
a {
        color:                                        #25aae1;
        text-decoration:                none;
}
</style><a href="http://www.proactive.nl"><img alt=""
src="cid:part3.00000305.09060908@proactive.nl" border="0"
height="105" width="84"></a><br>
<table cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td width="20">T</td>
<td>023 - 5422299</td>
</tr>
<tr>
<td>F</td>
<td>023 - 5422728</td>
</tr>
<tr>
<td colspan="2"> </td>
</tr>
<tr>
<td colspan="2"><a href="http://www.proactive.nl">www.proactive.nl</a></td>
</tr>
</tbody>
</table>
<br>
</div>
</body>
</html>