[DRBD-user] 'cram-hmac-alg' you specified is not a digest.

Dietmar Maurer dietmar at proxmox.com
Mon Dec 21 15:20:21 CET 2009


Using drbd 8.3.4 on kernel 2.6.32 we get:

# /etc/init.d/drbd start
Starting DRBD resources:[ n(r0) 0: Failure: (121) The 'cram-hmac-alg' you specified is not a digest.

[r0] cmd /sbin/drbdsetup 0 net 10.0.7.105:7788 10.0.7.106:7788 C --set-defaults --create-device --cram-hmac-alg=sha1 --shared-secret=XXX --allow-two-primaries --after-sb-0pri=discard-zero-changes --after-sb-1pri=discard-secondary --after-sb-2pri=disconnect  failed - continuing!

# cat /proc/crypto
name         : hmac(sha1)
driver       : hmac(sha1-generic)
module       : kernel
priority     : 0
refcnt       : 1
selftest     : passed
type         : shash
blocksize    : 64
digestsize   : 20

name         : sha1
driver       : sha1-generic
module       : sha1_generic
priority     : 0
refcnt       : 1
selftest     : passed
type         : shash
blocksize    : 64
digestsize   : 20
...

So what is wrong here?

- Dietmar




More information about the drbd-user mailing list