datto / dattobd

kernel module for taking block-level snapshots and incremental backups of Linux block devices
GNU General Public License v2.0
576 stars 122 forks source link

Ubuntu 22.04.2 LTS Snapshot failure: modprobe: ERROR: could not insert 'dattobd': Operation not permitted #302

Closed paulinfo-ba closed 1 year ago

paulinfo-ba commented 1 year ago

Hello Community, I recently installed dattobd on my Linux machine and at first it worked, but now I get this error and I can´t figure out why. When trying to take snapshot (dbdctl setup-snapshot /dev/sdc3 /.datto 0) I get: -> driver does not appear to be loaded: Invalid argument

dkms status shows: -> dattobd/0.11.2, 5.15.0-71-generic, x86_64: installed

lsmod|grep dattobd shows nothing

modprobe dattobd shows -> modprobe: ERROR: could not insert 'dattobd': Operation not permitted

Can´t reinstall it due to error: -> dpkg: Error while editing the package dattobd-dkms (--remove) -> E: Sub-process /usr/bin/dpkg returned an error code (1)

Also I can´t figure where to look for logs. Can it be caused, because Secure Boot was enabled? Thanks for help!!

paulinfo-ba commented 1 year ago

Edit: It really was Secure boot. After disabling it, snapshots could have been taken like usual.