Move Incus to new pool - 25.04-RC1

I am trying out Fangtooth and the instances feature. However I selected a temporary pool as Incus storage and now I would like to move the data over to another pool. I tried to stop all instances, replicated /.ix-virt to the new pool and changed to the new pool in Instances. The instances start but unfortunately they still seem to reference the old pool. If I remove .ix-virt from the old pool, instances fail.
Any suggestions?

Tried messing with this for a while but ended up exporting the instances, changing config to a new pool and then importing all instances again.

Shut down all instances.
My VMs had the system drive as a separate zvol on the correct pool already so I just deleted the disk from the VM first.
Export each instance with

incus export <instance_name> /mnt/vm/<instance_name>.tgz

Reconfigure incus to use the new pool
Import each instance with

incus import /mnt/vm/<instance_name>.tgz

Re-attach the zvols to each VM.
I had to set boot priority manually. Otherwise the machine would first fail to boot its default disk and then timeout PXE and HTTP boot on both IPv4 and IPv6 before trying the added disk.

incus config device set <instance_name> disk0 boot.priority=10

I hope this doesn’t break the next upgrade :slight_smile: