Hi folks,
@pdanz approach didn’t work in my case (move VM from one pool to another) because incus storage volume copy works for custom volumes, not VMs.
However, I was able to move VM to another pool with commands:
# 1) Stop the VM so the volume isn’t in use (feel free to use UI for this)
sudo incus stop YourVmName
# 2) Perform an export
sudo incus export YourVmName YourVmName.tar.gz
# 3) Delete the VM (feel free to use UI for this)
sudo incus delete YourVmName
# 4) Import the VM to necessary pool
sudo incus import YourVmName.tar.gz --storage NameOfTargetPool
# 5) Start the VM again (feel free to use UI for this)
sudo incus start YourVmName
Note: you have to delete the VM and it’s risky. I couldn’t rename and create a new one as only one VM can use the volume, so you have to delete entire VM. The entire VM will be automatically recreated, so you don’t need to do anything.