When a virtual machine has disks mounted other than the root hard drive, hot migration cannot be performed.
The error log is:
Error: Instance move to destination failed: Error transferring instance data: Failed migration on target: Failed start validation for device "disk-wbT0xjUaD5": Custom volume is already attached to an instance on a different node
Steps to reproduce
- incus init ubuntu:20.04 test --vm
- incus config device add test --vm disk-test disk source=default/disk-wbT0xjUaD5 path=/etc
- incus config set test migration.stateful true
- incus start test
- incus move test --target=other-host