Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
Hi, answering myself. The solution was somewhat simple... /etc/drbd.conf vs. /usr/local/etc/drbd.conf My fault. Sorry for the noise. > Hi there, > > I've got a problem initiating online verify. > > What I did: > > - Added verify-alg "crc32c"; to /etc/drbd.conf (attached below) > - Copied /etc/drbd.conf to both nodes > - drbdadm adjust for all resources on both nodes > - drbdadm verify ... but one node keeps refusing: > > On the Secondary: > drbdadm verify cluster_metadata > 0: State change failed: (-14) Need a verify algorithm to start online > verify > Command 'drbdsetup 0 verify' terminated with exit code 11 > > On the Primary: > drbdadm verify cluster_metadata > 0: State change failed: (-10) State change was refused by peer node > Command 'drbdsetup 0 verify' terminated with exit code 11 > > It's definitely the same drbd.conf > Secondary Version: version: 8.3.9 (api:88/proto:86-95) > Primary Version: version: 8.3.6 (api:88/proto:86-91) > > # lsmod | grep crc32c > Secondary: crc32c 2983 0 > Primary: crc32c 2871 4 > > > This is the dmesg of Secondary: > [ 5537.573937] block drbd0: using verify-alg: "crc32c" > [ 5541.276961] block drbd1: using verify-alg: "crc32c" > [ 5568.836774] block drbd0: State change failed: Need a verify algorithm > to start online verify > [ 5568.880910] block drbd0: state = { cs:Connected > ro:Secondary/Primary ds:UpToDate/UpToDate r----- } > [ 5568.925284] block drbd0: wanted = { cs:VerifyT ro:Secondary/Primary > ds:UpToDate/UpToDate r----- } > [ 5885.055438] block drbd0: State change failed: Need a verify algorithm > to start online verify > [ 5885.099576] block drbd0: state = { cs:Connected > ro:Secondary/Primary ds:UpToDate/UpToDate r----- } > [ 5885.143940] block drbd0: wanted = { cs:VerifyS ro:Secondary/Primary > ds:UpToDate/UpToDate r----- } > > > I don't get it ... > > > Here's the drbd.conf : > global { > # minor-count 64; > # dialog-refresh 5; # 5 seconds > # disable-ip-verification; > usage-count ask; > } > > common { > syncer { > rate 120M; > } > } > > resource cluster_metadata { > protocol C; > handlers { > pri-on-incon-degr "echo O > /proc/sysrq-trigger ; halt -f"; > pri-lost-after-sb "echo O > /proc/sysrq-trigger ; halt -f"; > local-io-error "echo O > /proc/sysrq-trigger ; halt -f"; > # outdate-peer "/usr/sbin/drbd-peer-outdater"; > } > > startup { > # wfc-timeout 0; > degr-wfc-timeout 120; # 2 minutes. > outdated-wfc-timeout 90; > } > > disk { > on-io-error detach; > } > > net { > after-sb-0pri disconnect; > after-sb-1pri disconnect; > after-sb-2pri disconnect; > rr-conflict disconnect; > } > > syncer { > # rate 10M; > # after "r2"; > al-extents 3389; > verify-alg "crc32c"; > } > > on filer01 { > device /dev/drbd0; > disk /dev/sda4; > address 192.168.192.1:7788; > meta-disk internal; > } > > on filer02 { > device /dev/drbd0; > disk /dev/sda4; > address 192.168.192.2:7788; > meta-disk internal; > } > } > > resource vg0drbd { > protocol C; > startup { > wfc-timeout 0; ## Infinite! > degr-wfc-timeout 120; ## 2 minutes. > outdated-wfc-timeout 90; > } > > disk { > no-disk-barrier; ## NUR MIT BBU! > no-disk-flushes; ## NUR MIT BBU! > no-disk-drain; > on-io-error detach; > } > > net { > # timeout 60; > # connect-int 10; > # ping-int 10; > max-buffers 8000; > max-epoch-size 8000; > sndbuf-size 512k; > } > > syncer { > after "cluster_metadata"; > al-extents 3389; > verify-alg "crc32c"; > } > > on filer01 { > device /dev/drbd1; > disk /dev/sdb; > address 192.168.192.1:7789; > meta-disk internal; > } > > on filer02 { > device /dev/drbd1; > disk /dev/sdb; > address 192.168.192.2:7789; > meta-disk internal; > } > } > > > > Mit freundlichen Gruessen > > -- > Stephan Seitz > Senior System Administrator > > netz-haut GmbH > multimediale kommunikation > > Zweierweg 22 > 97074 Würzburg > > Telefon: 0931 2876247 > Telefax: 0931 2876248 > > Web: www.netz-haut.de > Amtsgericht Würzburg - HRB 10764 > Geschäftsführer: Michael Daut, Kai Neugebauer > > > > > > _______________________________________________ > drbd-user mailing list > drbd-user at lists.linbit.com > http://lists.linbit.com/mailman/listinfo/drbd-user