Skip to main content

Additional Details: Veeam Agent for Linux backup job fails with the following errors:

[error] Failed to create volume snapshot
[error] Failed to take volume snapshot
[error] Failed to perform backup [error]
Veeam snapshot kernel module not found
System information
SO: SUSE Linux Enterprise Server 12 SP4
Kernel: Linux version 4.12.14-95.32-default
kernel-default: kernel-default-devel-4.12.14-95.24.1.x86_64
kernel-default: kernel-default-devel-4.12.14-95.32.1.x86_64
kernel-default: kernel-default-devel-4.12.14-95.128.1.x86_64
dkms version: dkms-2.6.1-9.1.noarch
veeamsnap: veeamsnap-kmp-default 6.3.2.1207_k4.12.14_94.41
VBR Console: 12.3.2.3617
VAL: v6.3.2.1207

I read ready the list of compatibility with extended Linux distributions of veeamsnap and blksnap https://www.veeam.com/kb2804 couldn´t see the compatibility for a 4.12.14-95.24 or 32 or 128 also on rpm veeam repository I don't see a version(*)

After to installed manually veeamsnap-kmp-default-6.3.2.1207_k4.12.14_94.41-sles12.4.x86_64.rpm and consult it is ready installed, this showed the "rpm package veeamsnap is not installed"
We could say that the installation is done practically offline.

*I fully understand that they are different versions and the veeamsnap-kmp-default package must exactly match the running kernel version.

When running the "zypper refresh" command, the repositories are listed as "up to date." This is except when you query https://repository.veeam.com/backup/lin ... repomd.xml.

SVIB0260:~/veeamagent# zypper refresh
Retrieving repository "veeam" metadata.......................
Download (curl) error for http://repository.veeam.com/backup/linu ... ata/repomd. xml' =
Error code: Connection failed
Error message: Failed to connect to repository.vecam.com port 80: Connection timed out

If you see any module that we are missing that are specific to this version, please let me know, and where can I download them?

To anyone interested, if you've been able to fix this error, please share your thoughts; I'm open all ears.

Kernel Mismatch: The installed veeamsnap-kmp-default module version 6.3.2.1207_k4.12.14_94.41 does not match your running kernel version 4.12.14-95.32-default. The module must be compiled or downloaded for the exact kernel version. 

Veeam’s repo does not provide the correct module version for your kernel version in their repo: https://repository.veeam.com/backup/linux/agent/rpm/sles/SLE_12_SP4/x86_64/

Only those two are provided for 12SP4:

DKMS would automatically be levereged with SLES to compile the modules for your specific kernel. This seems to have failed. A reason could be, that the required kernel headers for your running kernel are not installed. This would prevents DKMS from compiling the module correctly.

Offline Installation Issues: If the installation was done offline, the system might not have properly registered the module or its dependencies. 

So, install the correct kernel headers using: !--scriptorstartfragment-->

zypper install kernel-default-devel-$(uname -r)

Then compile and install the modules using DKMS:

dkms build veeamsnap/6.3.2.1207
dkms install veeamsnap/6.3.2.1207

And check if the modules are loaded:

lsmod | grep veeamsnap

Or switch to a more recent SUSE Version, where Veeam provides the correct modules upfront.

Hope this helps,

Michael