Electric Eel borked after adding devices to VM

Looks like a managed to mess up.

I’m trying to pass through USB devices (z-wave & zigbee controllers) connected to the server on to a VM i have running (Home Assistant OS).
So I passed through all three USB instances I got in the “devices” drop down menu when adding devices to the VM (three separate “devices” added) thinking I would save time just adding everything. Then when I urned on the VM I got a big red triangle on the VM tab in TrueNAS and error that it was no free USB ports (or something like that).
And since the “device” button (or anything else) for the VM’s wasn’t showing up i figgured the server justed needed a reboot or something. So I did a reboot from the UI. but now i can’t regain access to truenas at all. Any ideas? Haven’t got a monitor or any perpherals connected to the server to see what gets printed (if any).

I’ll get a monitor and keyboard hooked up to the server tomorrow and see what it says. Granted that it “boots” up to the CLI and me interact, how/is it possible for me to disable or delete the VM’s devices from CLI to see if it works?

Run the command “cli” from the shell, then

service vm query
service vm delete #

The first command will list the vms and you can see which is the right one you want to delete.
Substitute the Id of the VM you want to delete as the # in the second line. Then reboot and see what you get!

1 Like

Ok, i’ll try that later today. Thx! :blush:

Managed to delete it through the Shell/CLI like you said. So I’ve got the server up and running again, and a new VM running HAOS.

Everything except one thing seems to be working now, and that is that for some reason I can’t access the SMB share I used for backups of the HAOS in the new VM. Even setting up a new Dataset for test purposes fails to connect :man_shrugging:

1 Like