<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello,<br>
<br>
Its a 1 TB volume with XFS file system and both the nodes are
connected via 1 Gbps network. DRBD replication started 41 hours
before but it just reached 8.78 % yet.
<p>drbdsetup status oracle --verbose --statistics<br>
oracle node-id:1 role:Primary suspended:no<br>
write-ordering:flush<br>
volume:0 minor:0 disk:UpToDate<br>
size:1904549052 read:515556707 written:13288947
al-writes:6734 bm-writes:0<br>
upper-pending:0 lower-pending:0 al-suspended:no blocked:no<br>
prdnode2 node-id:0 connection:Connected role:Secondary
congested:no<br>
volume:0 replication:SyncSource peer-disk:Inconsistent
done:8.78<br>
resync-suspended:no<br>
received:0 sent:176786480 out-of-sync:1737341808 pending:0
unacked:0</p>
<p>Why is replication so slow ? Should I run the following command
on SynTarget:</p>
<pre class="bbcode_code" style="height:48px;">        drbdadm disk-options --c-plan-ahead=0 --resync-rate=110M oracle
and then later on edit the resource file to add the following:</pre>
<p> disk { resync-rate 100M; }</p>
<p>Package info:</p>
<p>drbd version: 9.0.1+git.86e4439-9.2<br>
drbd-kmp-default version: 9.0.1+git.86e4439_k4.4.21_69-9.2<br>
drbd-utils version: 8.9.6-8.3.5</p>
Current configuration:
<p>cat global_common.conf</p>
<p>global { usage-count no;}<br>
<br>
common {<br>
handlers { fence-peer "/usr/lib/drbd/crm-fence-peer.sh";
after-resync-target "/usr/lib/drbd/crm-unfence-peer.sh"; }<br>
<br>
startup { wfc-timeout 0; degr-wfc-timeout 120; }<br>
<br>
disk { on-io-error detach; al-extents 3389; }<br>
<br>
net { after-sb-0pri discard-zero-changes; after-sb-1pri
discard-secondary; max-buffers 8000; <br>
max-epoch-size 8000; sndbuf-size 0; verify-alg
md5; ping-int 2; ping-timeout 2; connect-int 2;<br>
timeout 5; ko-count 5; }<br>
}</p>
<p>cat oracle.res</p>
resource oracle {<br>
device /dev/drbd_r0 minor 0;<br>
meta-disk internal;<br>
<br>
on node1 { disk "/dev/sdb2"; address 10.1.1.1:7780; } <br>
<br>
on node2 { disk "/dev/sdb2"; address 10.1.1.2:7780; }<br>
<br>
}<br>
<br>
<div class="moz-signature">-- <br>
<font size="2">Regards,<br>
<br>
</font>
<font size="2">Muhammad Sharfuddin</font><br>
</div>
</body>
</html>