VM's restoring problem after upgrade to 25 and back to 24

Story is propably like on many users: upgrade to 25.04 → VM’s gone → trying to solve problem with Importing etc but after some time and second or third reboot in Instances was completly EMPTY !! even if was before one instance of my old VM. So i go back to 24 but my VM’s disk gone… :frowning:
Is there a way to recover VM’s?
On 24.10 zfs list -t volume:
NAME USED AVAIL
Storage/.ix-virt/custom/default_lubuntu-xk1l4f 20.3G 453G
Storage/.ix-virt/custom/default__ubuntu_srv-vjjmgo 18.2G 456G

on both there is no MOUNTPOINT…
On my VMs on DISK config ive put this:
Storage/.ix-virt/custom/default_ubuntu_srv-vjjmgo
Machine starts but i cannot access them with local console, display or ssh etc…
How restore those VM’s?

I can explain what happened, but don’t know how to recover from it on 24.10.

When you imported the volume in 25.04, you used the Move option instead of clone–and so your original volume was removed from its location and put into the Incus-managed dataset: https://www.truenas.com/docs/scale/25.04/scaletutorials/instances/#importing-zvols.

And now in 24.10, the VM might have no way to mount and boot from a hidden volume. If so,you may be able to move the volume back into your normal datasets and go from there, but it’s not something I’ve tried so hopefully some one else can help you for that.

Also, please don’t take this as criticism, but for future reference I highly recommend reading the release notes before upgrading to the next major version:

There are some changes planned for 25.10 that will hopefully help discourage people from upgrading before they’re ready for it, but it always pays to be prepared.

Thank You for post.
I know, i should read release notes but who reads them?
In my opinion if something is experimental - never should be putted on upgrade path or still should be RC1 RC2 and so on.
Never mind maybe somebody know where copy volume and allow boot VM’s?
Or maybe there is a way to export as image and restore or create new machine with exported image?

For anyone who may run into this, I found a fairly simple solution. I simply moved the zvols away from the .ix-virt dataset. Basically :

zfs rename pool/.ix-virt/custom/my_zvol pool/my_zvol

Still have some problems:
root@truenas[/]# zfs list -t volume
NAME USED AVAIL REFER MOUNTPOINT
Storage/.ix-virt/custom/default_lubuntu-xk1l4f 30.2G 454G 9.89G -
Storage/.ix-virt/custom/default_ubuntu_srv-vjjmgo 20.8G 449G 3.02G -
Storage/.ix-virt/virtual-machines/lubuntu.block 104K 434G 104K -
Storage/Ubuntu_srv2-t551f 20.3G 452G 1.99G -
Storage/testowo-9q8k8 10.2G 441G 2.54G -
root@truenas[/]# zfs rename dev/zvol/Storage/.ix-virt/custom/default_ubuntu_srv-vjjmgo dev/zvol/Storage/ubuntu_srv_test
cannot open ‘dev/zvol/Storage/.ix-virt/custom/default_ubuntu_srv-vjjmgo’: dataset does not exist
root@truenas[/]#

zfs list shows volume but cannot rename - dont know why…