Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
Hello, I have some trouble gettins drbd to sync properly, it run for some days good, but than the server rebootet, we dont know why jet and i cant get my second drbdb device to go into primary/secondary mode Im also using heartbeat to do a failover, can there be the problem? I not 100% sure if the failover will work, i always errors about the ucast device is not up. This is the output of /proc/drbd, i tried to disable and connect he 2nd device, but it goes standalone after 2 seconds. on server1 cat /proc/drbd version: 8.0.11 (api:86/proto:86) GIT-hash: b3fe2bdfd3b9f7c2f923186883eb9e2a0d3a5b1b build by buildsvn at c5-x8664-build, 2008-02-13 19:17:43 0: cs:Connected st:Secondary/Primary ds:UpToDate/UpToDate C r--- ns:0 nr:79080 dw:79080 dr:0 al:0 bm:0 lo:0 pe:0 ua:0 ap:0 resync: used:0/31 hits:0 misses:0 starving:0 dirty:0 changed:0 act_log: used:0/257 hits:0 misses:0 starving:0 dirty:0 changed:0 1: cs:StandAlone st:Primary/Unknown ds:UpToDate/DUnknown r--- ns:0 nr:0 dw:61948 dr:243669 al:10 bm:10 lo:0 pe:0 ua:0 ap:0 resync: used:0/31 hits:0 misses:0 starving:0 dirty:0 changed:0 act_log: used:0/257 hits:7777 misses:10 starving:0 dirty:0 changed:10 on server2 cat /proc/drbd version: 8.0.6 (api:86/proto:86) SVN Revision: 3048 build by buildsvn at c5-x8664-build, 2007-12-08 01:01:43 0: cs:Connected st:Primary/Secondary ds:UpToDate/UpToDate C r--- ns:79220 nr:0 dw:79220 dr:56212 al:6 bm:0 lo:0 pe:0 ua:0 ap:0 resync: used:0/31 hits:0 misses:0 starving:0 dirty:0 changed:0 act_log: used:0/257 hits:12690 misses:6 starving:0 dirty:0 changed:6 1: cs:StandAlone st:Primary/Unknown ds:UpToDate/DUnknown r--- ns:0 nr:0 dw:0 dr:0 al:0 bm:0 lo:0 pe:0 ua:0 ap:0 resync: used:0/31 hits:0 misses:0 starving:0 dirty:0 changed:0 act_log: used:0/257 hits:0 misses:0 starving:0 dirty:0 changed:0 thx a log Heiko my drbd.conf resource drbd_backend { protocol C; startup { degr-wfc-timeout 120; # 2 minutes. } disk { on-io-error detach; } net { } syncer { rate 3M; al-extents 257; } on xen-B1.fra1.mailcluster { device /dev/drbd0; disk /dev/md3; address 172.20.2.1:7788; meta-disk internal; } on xen-A1.fra1.mailcluster { device /dev/drbd0; disk /dev/md3; address 172.20.1.1:7788; meta-disk internal; } } # spiegeln von md4, backend2 resource drbd_backend_2 { protocol C; startup { degr-wfc-timeout 120; # 2 minutes. } disk { on-io-error detach; } net { } syncer { rate 3M; al-extents 257; } on xen-B1.fra1.mailcluster { device /dev/drbd1; disk /dev/md4; address 172.20.2.1:7789; meta-disk internal; } on xen-A1.fra1.mailcluster { device /dev/drbd1; disk /dev/md4; address 172.20.1.1:7789; meta-disk internal; } }