Unable to Perform Live Migration with Clustered LVM (lvmlockd/sanlock) on Shared FC LUN
Hi all,
I have a 3-node Proxmox VE 8.4.14 cluster (nodes: dev-proxhost1-mas, dev-proxhost2, and dev-proxhost3) connected to a Dell EMC Unity storage array over Fibre Channel.
Live (online) migration always fails with this error:
can't activate LV '/dev/Unity-CLVM/vm-XXXX-disk-0':
Failed to lock logical volume Unity-CLVM/vm-XXXX-disk-0.
Cold migration works perfectly, but online migration fails at the target activation step.
Hi all,
I have a 3-node Proxmox VE 8.4.14 cluster (nodes: dev-proxhost1-mas, dev-proxhost2, and dev-proxhost3) connected to a Dell EMC Unity storage array over Fibre Channel.
- The Unity array presents one shared 5 TB LUN to all nodes.
- Multipath is configured and works correctly (/dev/mapper/mpatha).
- I created a Clustered LVM volume group (Unity-CLVM) with lvmlockd + sanlock.
- Each node has its own /etc/lvm/lvmlocal.conf with a unique host_id.
- The VG is active and shared, and all VMs can be created and cold-migrated between nodes.
Live (online) migration always fails with this error:
can't activate LV '/dev/Unity-CLVM/vm-XXXX-disk-0':
Failed to lock logical volume Unity-CLVM/vm-XXXX-disk-0.
Cold migration works perfectly, but online migration fails at the target activation step.