bug in snapshot LVM on Proxmox 2.3 (OK on Proxmox 3.0rc)

dea

Renowned Member
Feb 6, 2009
243
87
68
Hi all !

There is a bug in Proxmox 2.3:
/lib/modules/2.6.32-19-pve/kernel/drivers/md/dm-snapshot.ko Invalid module format

It's OK on Proxmox 3.0rc

Luca
 
works for me

# modinfo dm-snapshot
filename: /lib/modules/2.6.32-19-pve/kernel/drivers/md/dm-snapshot.ko
license: GPL
author: Joe Thornber
description: device-mapper snapshot target
srcversion: 8B0ADB0071DDCBBD2FD8D35
depends:
vermagic: 2.6.32-19-pve SMP mod_unload modversions
 
# modinfo d-snapshot
ERROR: modinfo: could not find module d-snapshot
proxmox-1:~# modinfo dm-snapshot
filename: /lib/modules/2.6.32-19-pve/kernel/drivers/md/dm-snapshot.ko
license: GPL
author: Joe Thornber
description: device-mapper snapshot target
srcversion: 8B0ADB0071DDCBBD2FD8D35
depends:
vermagic: 2.6.32-19-pve SMP mod_unload modversions

*****************************

# insmod /lib/modules/2.6.32-19-pve/kernel/drivers/md/dm-snapshot.ko
insmod: error inserting '/lib/modules/2.6.32-19-pve/kernel/drivers/md/dm-snapshot.ko': -1 Invalid module format

*****************************

# uname -a
Linux proxmox-1 2.6.32-19-pve #1 SMP Mon Mar 18 06:41:32 CET 2013 x86_64 GNU/Linux
 
#
# insmod /lib/modules/2.6.32-19-pve/kernel/drivers/md/dm-snapshot.ko
insmod: error inserting '/lib/modules/2.6.32-19-pve/kernel/drivers/md/dm-snapshot.ko': -1 Invalid module format
Try using modprobe instead as modprobe will resolve dependencies.
 
ok, think I found the solution...

The kernel (in execution) is 2.6.32-19, but the first revision, the server has not been restarted after the second "2.3" upgrade.

Sorry...
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!