1 |
Hello Yall, |
2 |
|
3 |
I'm starting to play with DRBD to build a small (2-node) failsafe cluster here. |
4 |
|
5 |
The problem is, although DRBD starts really quickly with my SATA |
6 |
drive, with the MD (software RAID) device it's REALLY slow. |
7 |
|
8 |
It's like: |
9 |
|
10 |
Dec 7 18:41:12 mail0 drbd0: resync bitmap: bits=87603792 words=2737620 |
11 |
Dec 7 18:41:12 mail0 drbd0: size = 334 GB (350415168 KB) |
12 |
Dec 7 18:44:49 mail0 drbd0: 0 KB marked out-of-sync by on disk bit-map. |
13 |
Dec 7 18:44:50 mail0 drbd1: resync bitmap: bits=50975584 words=1592988 |
14 |
Dec 7 18:44:50 mail0 drbd1: size = 194 GB (203902336 KB) |
15 |
Dec 7 18:44:51 mail0 drbd1: 0 KB marked out-of-sync by on disk bit-map. |
16 |
|
17 |
DRBD0 is built over /dev/md4 that is built over two SATA disks. |
18 |
|
19 |
While this load process is running, I tried a dstat -df to see what |
20 |
disk activity I'm having and I found out that DRBD was reading at |
21 |
100Kbps. |
22 |
|
23 |
On the other server it happens exactly otherwise. That's because the |
24 |
DRBD0 is on the SATA and DRBD1 is on the MD4: |
25 |
|
26 |
Dec 7 18:41:12 www0 drbd0: resync bitmap: bits=87603792 words=2737620 |
27 |
Dec 7 18:41:12 www0 drbd0: size = 334 GB (350415168 KB) |
28 |
Dec 7 18:41:14 www0 drbd0: 0 KB marked out-of-sync by on disk bit-map. |
29 |
Dec 7 18:41:14 www0 drbd1: resync bitmap: bits=50975584 words=1592988 |
30 |
Dec 7 18:41:14 www0 drbd1: size = 194 GB (203902336 KB) |
31 |
Dec 7 18:43:19 www0 drbd1: 0 KB marked out-of-sync by on disk bit-map. |
32 |
|
33 |
And that proves that it is a problem with the DRBD-SoftwareRAID couple. |
34 |
|
35 |
Versions: |
36 |
Kernel: 2.6.18-gentoo-r3 |
37 |
DRBD: 0.7.22 (although it's not on Portage, it's the only one that |
38 |
works with kernel 2.6.18). |
39 |
|
40 |
Thank you all. |
41 |
|
42 |
Best regards, |
43 |
Daniel Colchete |
44 |
-- |
45 |
gentoo-cluster@g.o mailing list |