1 |
Hello Yall, |
2 |
|
3 |
I found a way to by-pass the problem, so I'm sending it to the list so |
4 |
that it's archived. |
5 |
|
6 |
It's a problem between the software raid devices and DRBD's metadata. |
7 |
My metadata was internal. So, the solution is to put the metadata out |
8 |
of the /dev/md? device. Do it and it'll start in one second. I didn't |
9 |
try to put the metadata on a separate MD device. |
10 |
|
11 |
The problem is that with the metadata out of the RAID1, then you have |
12 |
a problem if the metadata harddrive fails. That's why I'm still |
13 |
persuing this. |
14 |
|
15 |
Best regards, |
16 |
Daniel Colchete |
17 |
|
18 |
On 12/7/06, Daniel van Ham Colchete <daniel.colchete@×××××.com> wrote: |
19 |
> Hello Yall, |
20 |
> |
21 |
> I'm starting to play with DRBD to build a small (2-node) failsafe cluster here. |
22 |
> |
23 |
> The problem is, although DRBD starts really quickly with my SATA |
24 |
> drive, with the MD (software RAID) device it's REALLY slow. |
25 |
> |
26 |
> It's like: |
27 |
> |
28 |
> Dec 7 18:41:12 mail0 drbd0: resync bitmap: bits=87603792 words=2737620 |
29 |
> Dec 7 18:41:12 mail0 drbd0: size = 334 GB (350415168 KB) |
30 |
> Dec 7 18:44:49 mail0 drbd0: 0 KB marked out-of-sync by on disk bit-map. |
31 |
> Dec 7 18:44:50 mail0 drbd1: resync bitmap: bits=50975584 words=1592988 |
32 |
> Dec 7 18:44:50 mail0 drbd1: size = 194 GB (203902336 KB) |
33 |
> Dec 7 18:44:51 mail0 drbd1: 0 KB marked out-of-sync by on disk bit-map. |
34 |
> |
35 |
> DRBD0 is built over /dev/md4 that is built over two SATA disks. |
36 |
> |
37 |
> While this load process is running, I tried a dstat -df to see what |
38 |
> disk activity I'm having and I found out that DRBD was reading at |
39 |
> 100Kbps. |
40 |
> |
41 |
> On the other server it happens exactly otherwise. That's because the |
42 |
> DRBD0 is on the SATA and DRBD1 is on the MD4: |
43 |
> |
44 |
> Dec 7 18:41:12 www0 drbd0: resync bitmap: bits=87603792 words=2737620 |
45 |
> Dec 7 18:41:12 www0 drbd0: size = 334 GB (350415168 KB) |
46 |
> Dec 7 18:41:14 www0 drbd0: 0 KB marked out-of-sync by on disk bit-map. |
47 |
> Dec 7 18:41:14 www0 drbd1: resync bitmap: bits=50975584 words=1592988 |
48 |
> Dec 7 18:41:14 www0 drbd1: size = 194 GB (203902336 KB) |
49 |
> Dec 7 18:43:19 www0 drbd1: 0 KB marked out-of-sync by on disk bit-map. |
50 |
> |
51 |
> And that proves that it is a problem with the DRBD-SoftwareRAID couple. |
52 |
> |
53 |
> Versions: |
54 |
> Kernel: 2.6.18-gentoo-r3 |
55 |
> DRBD: 0.7.22 (although it's not on Portage, it's the only one that |
56 |
> works with kernel 2.6.18). |
57 |
> |
58 |
> Thank you all. |
59 |
> |
60 |
> Best regards, |
61 |
> Daniel Colchete |
62 |
> |
63 |
-- |
64 |
gentoo-cluster@g.o mailing list |