LVM2 activation error

holdemaisoftware

New Member
Sep 9, 2016
2
0
1
41
I hope this is the right place to ask help regarding issue I am having and what to do to access my pve/data again so that I can recover some data that is inside one of the VM's before rebuilding proxmox (if neccesary)

Do anyone know why I am having LVM2 activation error on bootup, here is the full systemctl status lvm2-activation.service

● lvm2-activation.service - Activation of LVM2 logical volumes
Loaded: loaded (/lib/systemd/system/lvm2-activation.service; enabled)
Active: failed (Result: exit-code) since Mon 2017-02-27 16:12:28 EST; 3min 23s ago
Docs: man:lvm(8)
man:vgchange(8)
Process: 1457 ExecStart=/sbin/lvm vgchange -aay --sysinit (code=exited, status=5)
Main PID: 1457 (code=exited, status=5)

Feb 27 16:12:28 lvm[1457]: device-mapper: message ioctl on failed: Operation not supported
Feb 27 16:12:28 [1457]: device-mapper: message ioctl on failed: Operation not supported
Feb 27 16:12:28 [1457]: device-mapper: message ioctl on failed: Operation not supported
Feb 27 16:12:28 [1457]: device-mapper: message ioctl on failed: Operation not supported
Feb 27 16:12:28 [1457]: device-mapper: message ioctl on failed: Operation not supported
Feb 27 16:12:28 [1457]: device-mapper: message ioctl on failed: Operation not supported
Feb 27 16:12:28 [1457]: 83 logical volume(s) in volume group "pve" now active
Feb 27 16:12:28 [1]: lvm2-activation.service: main process exited, code=exited, status=5/NOTINSSTALLED
Feb 27 16:12:28 systemd[1]: Failed to start Activation of LVM2 logical volumes.
Feb 27 16:12:28 systemd[1]: Unit lvm2-activation.service entered failed state.
 
This would have to remain a mystery for now however I had no specific filter in lvm.conf

I ended up doing lvconvert --repair pve/data and even though Im not sure what it fixed I ended up being able to reboot and access the one VM that I really needed to recover data from. After reboot I still received the same error log about lvm2 activation but finally managed to access only the VM I specificly wanted to recover data from, extreme luck on my side.

I am now rebuilding the whole proxmox server without fully knowing the details about the lvm2 error, I really hope I dont ever get that again but if I do I will return here.
 

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!