Quantcast
Viewing all articles
Browse latest Browse all 171654

cannot migrate - device-mapper:create ioctl on cluster failed

Hi,

I cannot migrate a newly created VM on any of my nodes because its disk is not available

Scenario
create a new VM on primary node - all is well - see below the status of the volumes
root@blh02-14:/backups# vgchange -ay 1 logical volume(s) in volume group "backup" now active
1 logical volume(s) in volume group "iso-volume" now active
3 logical volume(s) in volume group "pve" now active
75 logical volume(s) in volume group "cluster01-vol" now active

cannot migrate it because
"TASK
ERROR: can't activate LV '/dev/cluster01-vol/vm-349-disk-2': device-mapper: create ioctl on cluster01--vol-vm--349--disk--2 failed: Device or resource busy"







The only way to resolve this issue is to restart the nodes
This seems to happen after I delete/remove and then recreate the disks from Proxmox GUI

I've read somewhere that there is a way to fix this using dmsetup

I'll appreciate any hints / help / specific instructions

Thanks
Steven

3 logical volume(s) in volume group "pve" now active
device-mapper: create ioctl on cluster01--vol-vm--347--disk--1 failed: Device or resource busy
device-mapper: create ioctl on cluster01--vol-vm--348--disk--1 failed: Device or resource busy
device-mapper: create ioctl on cluster01--vol-vm--349--disk--2 failed: Device or resource busy
device-mapper: create ioctl on cluster01--vol-vm--392--disk--1 failed: Device or resource busy
71 logical volume(s) in volume group "cluster01-vol" now active

Viewing all articles
Browse latest Browse all 171654

Trending Articles