<div dir="auto">Primary is mounted?. I've got similar behavior on my setup, and just when I've umounted the disk it started to sync very fast.<div dir="auto"><br></div><div dir="auto">Greetings.</div></div><br><div class="gmail_quote"><div dir="ltr">El jue., 11 oct. 2018 8:29, Adam Weremczuk <<a href="mailto:adamw@matrixscience.com">adamw@matrixscience.com</a>> escribió:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all,<br>
<br>
I'm trying out DRBD Pacemaker HA Cluster on Proxmox 5.2<br>
<br>
I have 2 identical servers connected with 2 x 1 Gbps links in bond_mode <br>
balance-rr.<br>
<br>
The bond is working fine; I get a transfer rate of 150 MB/s with scp.<br>
<br>
Following this guide: <br>
<a href="https://www.theurbanpenguin.com/drbd-pacemaker-ha-cluster-ubuntu-16-04/" rel="noreferrer noreferrer" target="_blank">https://www.theurbanpenguin.com/drbd-pacemaker-ha-cluster-ubuntu-16-04/</a> <br>
was going smoothly up until:<br>
<br>
drbdadm -- --overwrite-data-of-peer primary r0/0<br>
<br>
cat /proc/drbd<br>
version: 8.4.10 (api:1/proto:86-101)<br>
srcversion: 17A0C3A0AF9492ED4B9A418<br>
0: cs:SyncSource ro:Primary/Secondary ds:UpToDate/Inconsistent C r-----<br>
ns:10944 nr:0 dw:0 dr:10992 al:8 bm:0 lo:0 pe:0 ua:0 ap:0 ep:1 wo:f <br>
oos:3898301536<br>
[>....................] sync'ed: 0.1% (3806932/3806944)M<br>
finish: 483:25:13 speed: 2,188 (2,188) K/sec<br>
<br>
The transfer rate is horribly slow and at this pace it's going to take <br>
20 days for two 4 TB volumes to sync!<br>
<br>
That's almost 15 times slower comparing with the guide video (8:30): <br>
<a href="https://www.youtube.com/watch?v=WQGi8Nf0kVc" rel="noreferrer noreferrer" target="_blank">https://www.youtube.com/watch?v=WQGi8Nf0kVc</a><br>
<br>
The volumes have been zeroed and contain no live data yet.<br>
<br>
My sdb disks are logical drives (hardware RAID) set up as RAID50 with <br>
the defaults:<br>
<br>
Strip size: 128 KB<br>
Access policy: RW<br>
Read policy: Normal<br>
Write policy: Write Back with BBU<br>
IO policy: Direct<br>
Drive Cache: Disable<br>
Disable BGI: No<br>
<br>
Performance looks good when tested with hdparm:<br>
<br>
hdparm -tT /dev/sdb1<br>
<br>
/dev/sdb1:<br>
Timing cached reads: 15056 MB in 1.99 seconds = 7550.46 MB/sec<br>
Timing buffered disk reads: 2100 MB in 3.00 seconds = 699.81 MB/sec<br>
<br>
The volumes have been zeroed and contain no live data yet.<br>
<br>
It seems to be a problem with default DRBD settings.<br>
<br>
Can anybody recommend optimal tweaks specific to my environment?<br>
<br>
Regards,<br>
Adam<br>
<br>
_______________________________________________<br>
drbd-user mailing list<br>
<a href="mailto:drbd-user@lists.linbit.com" target="_blank" rel="noreferrer">drbd-user@lists.linbit.com</a><br>
<a href="http://lists.linbit.com/mailman/listinfo/drbd-user" rel="noreferrer noreferrer" target="_blank">http://lists.linbit.com/mailman/listinfo/drbd-user</a><br>
</blockquote></div>