Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
Hi, In order to use te online-verify feature of DrBD 8.2.5, you will have to modify your configuration file to add a verify algorithm, as the error message is warning you. The easiest way of doing so is adding, in the global SYNCER or specific ressource SYNCER section of /etc/drbd.conf, : verify-alg "md5" ; Adding this algo. will require a reload of your configuration. I've used md5, but you might have faster / more appropriated algorithms available on your system. You should check which ones are available through your crypto API. Pascal Charest -- Pascal Charest, Free software consultant (GNU/linux) http://blog.pacharest.com & http://www.mass-storage.org On Wed, Mar 12, 2008 at 10:34 AM, Swetha - <swetha_jay87 at yahoo.co.in> wrote: > Hi, > > I have upgraded my system from DRBD-0.7.21 to DRBD-8.2.5. > > I worked on the online device verification feature. > > But i faced an error as given below > > > [root at slave ~]# drbdadm verify export > State change failed: (-14) Need a verify algorithm to start online verify > Command 'drbdsetup /dev/drbd0 verify' terminated with exit code 11 > > What is the problem?What may be the solution to this problem? > > my drbd.conf file is as follows > > # drbd.conf example > # > resource export { > protocol C; > #incon-degr-cmd "echo '!DRBD! pri on incon-degr' | wall ; sleep 60 ; halt > -f"; startup { > wfc-timeout 0; > degr-wfc-timeout 120; # 2 minutes. > } > disk { > on-io-error detach; > } > > # below 2 sections were entered by me manually in drbd.conf > syncer { > cpu-mask 1; > verify-alg crc32c; > } > > net { > data-integrity-alg crc32c; > } > > on master { > device /dev/drbd0; > disk /dev/hda5; > address 192.168.0.20:7789; > meta-disk /dev/hda6[0]; > } > > on slave { > device /dev/drbd0; > disk dev/hda5; > address 192.168.0.21:7789; > meta-disk /dev/hda6[0]; > } > } > > Regards > Swetha > > ________________________________ > Forgot the famous last words? Access your message archive online. Click > here. > _______________________________________________ > drbd-user mailing list > drbd-user at lists.linbit.com > http://lists.linbit.com/mailman/listinfo/drbd-user > >