device-mapper: ioctl: error adding target to table

mamouni

New Member
Sep 23, 2011
19
0
1
volume group not found on live migration

Hi
I've just finish installation on 2 nodes with lvm share.
When i want to create a VM on the share i got this error :


/usr/sbin/qm create 108 --cdrom cdrom --name azert --vlan0 rtl8139=3A:50:2C:79:27:18 --bootdisk ide0 --ostype other --ide0 hotshare:6,format=raw --memory 512 --onboot no --sockets 1
device-mapper: reload ioctl failed: Invalid argument
Aborting. Failed to activate new LV to wipe the start of it.
create failed - command '/sbin/lvcreate --addtag pve-vm-108 --size 6291456k --name vm-108-disk-1 drbdvg' failed with exit code 5
unable to apply VM settings -

can you help me please ?

dear.
 
Last edited:
Re: volume group not found on live migration

hi
I just safe-upgrade and now I can create vm on lvm share but a new error when want to migrate.

/usr/bin/ssh -t -t -n -o BatchMode=yes 172.14.21.23 /usr/sbin/qm start 103
Volume group "drbdvg" not found
command '/sbin/vgchange -aly drbdvg' failed with exit code 5
Volume group "drbdvg" not found
command '/sbin/vgchange -aly drbdvg' failed with exit code 5
Connection to 172.16.19.23 closed.
VM 103 start failed

My VM is destroy, perhaps I have to fix permissions somwhere ?
 
Last edited:

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!