[DRBD-user] Digest integrity check failed

Nick Morrison nick at nick.on.net
Thu Nov 3 22:15:21 CET 2011

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


On 3 Nov 2011, at 09:25, Florian Haas wrote:

> Read the bullet list. Then start troubleshooting your network stack.
> When you get "Digest integrity check FAILED" errors, you have every
> reason _not_ to be sure the network is OK.

I'm now finding myself a cable to connect these hosts directly.

Next question: can I now depend on my data being the same over both disks?  Should I run an online verify?  Or is the fact that it caught the problem and stopped enough to ensure integrity?

I would like to run a verify regularly, but I ran into a problem.  I added the verify-alg parameter to the net section of my resource, but drbdadm complains when I adjust:

        net {  
                cram-hmac-alg   sha1;
                shared-secret   avnerunvaadsf4n4nn4b4bnb4ai4jfaoi4hf;
                after-sb-0pri   discard-zero-changes;
                after-sb-1pri   discard-secondary;
                data-integrity-alg      md5;
                verify-alg  md5;
        }

root at kvm-host-01:~# drbdadm adjust host1
drbd.d/host1.res:22: Parse error: 'an option keyword' expected,
        but got 'verify-alg'
root at kvm-host-01:~# 

I guess the syntax has changed.  How do I enable this in Lucid's DRBD 8.3.7?

root at kvm-host-01:~# cat /proc/drbd
version: 8.3.7 (api:88/proto:86-91)
GIT-hash: ea9e28dbff98e331a62bcbcc63a6135808fe2917 build by root at kvm-host-01, 2011-10-31 16:56:36
 0: cs:Connected ro:Primary/Secondary ds:UpToDate/UpToDate C r----
    ns:8389997 nr:3611 dw:8398039 dr:8480029 al:56 bm:1034 lo:0 pe:0 ua:0 ap:0 ep:1 wo:b oos:0
 1: cs:Connected ro:Secondary/Primary ds:UpToDate/UpToDate C r----
    ns:8391353 nr:2627 dw:8397154 dr:8635362 al:58 bm:1050 lo:0 pe:0 ua:0 ap:0 ep:1 wo:b oos:0
 2: cs:Connected ro:Secondary/Primary ds:UpToDate/UpToDate C r----
    ns:0 nr:11036 dw:11036 dr:0 al:0 bm:0 lo:0 pe:0 ua:0 ap:0 ep:1 wo:b oos:0
 3: cs:Connected ro:Primary/Secondary ds:UpToDate/UpToDate C r----
    ns:101891080 nr:0 dw:140498149 dr:136865662 al:486 bm:16798 lo:0 pe:0 ua:0 ap:0 ep:1 wo:b oos:0
 4: cs:Connected ro:Primary/Secondary ds:UpToDate/UpToDate C r----
    ns:67167673 nr:0 dw:67269921 dr:67213681 al:101 bm:8196 lo:0 pe:0 ua:0 ap:0 ep:1 wo:b oos:0
 5: cs:Connected ro:Primary/Secondary ds:UpToDate/UpToDate C r----
    ns:132316653 nr:0 dw:145960618 dr:269363701 al:33977 bm:49662 lo:0 pe:0 ua:0 ap:0 ep:1 wo:b oos:0
 6: cs:Connected ro:Secondary/Primary ds:UpToDate/UpToDate C r----
    ns:0 nr:146303 dw:9807298 dr:0 al:0 bm:512 lo:0 pe:0 ua:0 ap:0 ep:1 wo:b oos:0
 7: cs:Connected ro:Secondary/Primary ds:UpToDate/UpToDate C r----
    ns:0 nr:5243821 dw:273207853 dr:0 al:0 bm:8193 lo:0 pe:0 ua:0 ap:0 ep:1 wo:b oos:0
 8: cs:Connected ro:Primary/Secondary ds:UpToDate/UpToDate C r----
    ns:32703619 nr:0 dw:27917443 dr:5059497 al:126403 bm:334 lo:0 pe:0 ua:0 ap:0 ep:1 wo:b oos:0
 9: cs:Connected ro:Secondary/Primary ds:UpToDate/UpToDate C r----
    ns:0 nr:148351016 dw:148351016 dr:0 al:0 bm:8347 lo:0 pe:0 ua:0 ap:0 ep:1 wo:b oos:0
root at kvm-host-01:~# 




More information about the drbd-user mailing list