linstor-server icon indicating copy to clipboard operation
linstor-server copied to clipboard

pve kernel 6.17.2-1-pve failed to allocate crct10dif for verify

Open t0mat000 opened this issue 1 month ago • 2 comments

Hi,

we installed today 6.17.2-1-pve and drbd is not working.

Server reported "diskless"

drbdadm up pm-218d52e9: pm-218d52e9: Failure: (146) VERIFYAlgNotAvail additional info from kernel: failed to allocate crct10dif for verify

Command 'drbdsetup new-peer pm-218d52e9 0 --_name=test-prox01 --verify-alg=crct10dif --shared-secret=8RBxplLNU7x2eTwGk1/w --cram-hmac-alg=sha1 --allow-two-primaries=yes' terminated with exit code 10

modprobe crct10dif modprobe: FATAL: Module crct10dif not found in directory /lib/modules/6.17.2-1-pve

Versions: 6.17.2-1-pve LINBIT/drbd#1 SMP PREEMPT_DYNAMIC PMX 6.17.2-1 (2025-10-21T11:55Z) x86_64 GNU/Linux

ii drbd-dkms 9.2.16-1 all RAID 1 over TCP/IP for Linux module source ii drbd-utils 9.33.0-1 amd64 RAID 1 over TCP/IP for Linux (user utilities) ii linstor-client 1.27.0-1 all Linstor client command line tool ii linstor-common 1.32.3-1 all DRBD distributed resource management utility ii linstor-proxmox 8.1.4-1 all DRBD distributed resource management utility ii linstor-satellite 1.32.3-1 all DRBD distributed resource management utility ii python-linstor 1.27.0-1 all Linstor python api library

t0mat000 avatar Nov 26 '25 09:11 t0mat000

Hi! The problem here is not directly DRBD, but more Linstor which currently doesn't update the verify algorithms if a node is reconnected, which means that if the node is updated and gets other /proc/crypto it will not update all resource with the new system state.

As a workaround you can trigger the automatic verify algorithm task by toggling the option for it:

linstor c sp DrbdOptions/auto-verify-algo-disable true
linstor c sp DrbdOptions/auto-verify-algo-disable

rp- avatar Nov 26 '25 12:11 rp-

We further found out that an explicit: linstor node reconnect <nodename>

should also do the trick.

rp- avatar Nov 26 '25 15:11 rp-