Need to wipe Instances config without enabling to avoid boot loop

I recently setup TrueNAS Scale and deployed apps and all was going well. I then tried setting up my first Instance VM with an Ubuntu image. I think I passed a piece of hardware to the virtual machine that it wasn’t happy with, as it put the box into a boot loop that I couldn’t recover from.
I reinstalled from a USB stick, and got everything up and running again, reimported my pool, and got my apps back up and running.
As soon as I went back to the instances tab and pointed it to my existing pool, the system immediately went into a boot loop again.
I’m now installing for the 3rd time. I need to know a way that I can wipe the “Instances” data from the pool via CLI or UI so I can start over cleanly. Simply opening “Instances” from the UI and selecting my pool seems to put the machine back into a boot loop, so I don’t know a clean way to recover.

Thanks in advance,
JJ

Same problem here. I am looking for a way to erase the VM via CLI. Could you find a solution? I would apriciate if you could share…

Nope, I never resolved it, and no one ever replied to the thread. I’ve just decided to not create VMs at all in TrueNAS, and only use it for containers and storage. I just set up an external Proxmox box and moved on. Frustrated that TrueNAS was so unstable in this regard, but am glad I didn’t invest a lot of time into it.

I totally agree, there is no fun trying to set up VMs in Truenas. At least I found a way to wipe the instances, since each time i opened the ‘instance tab’ the network connection to my truenas server broke (in your case you went in a boot-loop as you described). My solution was to disable virtualization capabilities in the BIOS settings, so next time I bootet into truenas, ‘Instances’ couldnt start any instance at all, but I could go into ‘manage volumes’ in the Insrance UI and delete all the corupted stuff.
Maybe this could help you too, to get rid of the instances and free up space. Good luck!

That’s a great idea. I’ll have to get a KVM hooked back up so I can disable in BIOS. Thanks!

1 Like