Can not install VM

omik

New Member
Nov 4, 2019
1
0
1
34
I am pretty new in Proxmox and i tried to install a VM i am getting this error:

modprobe: ERROR: ../libkmod/libkmod.c:586 kmod_search_moddep() could not open moddep file '/lib/modules/4.15.17-1-pve/modules.dep.bin'
modprobe: FATAL: Module dm-thin-pool not found in directory /lib/modules/4.15.17-1-pve
/sbin/modprobe failed: 1
thin: Required device-mapper target(s) not detected in your kernel.
TASK ERROR: unable to create VM 100 - lvcreate 'pve/vm-100-disk-0' error: Run `lvcreate --help' for more information.

Any solution or tips will be helpful.
 
modprobe: ERROR: ../libkmod/libkmod.c:586 kmod_search_moddep() could not open moddep file '/lib/modules/4.15.17-1-pve/modules.dep.bin'
modprobe: FATAL: Module dm-thin-pool not found in directory /lib/modules/4.15.17-1-pve
/sbin/modprobe failed: 1
thin: Required device-mapper target(s) not detected in your kernel.

I had a similar problem on a host on which I thought I'm going to remove old kernels, but was infact removing the running kernel and then all not loaded modules would fail with exactly this error message.

So please post the output of:
* uname -a
* dpkg -l |grep pve-kernel