April 8, 20242 yr I'm having an issue when I enable and start the VM Service, my USB Flash Drive starts to report offline and becomes unreadable. As suggested in the GUI, I have attached a diagnostic bundle from after enabling the service and the flash drive going offline. This issue started happening after I had a faulty CPU in my system. I have replaced the CPU and everything runs fine until I enable the VM service. homeserver-diagnostics-20240408-1112.zip
April 8, 20242 yr Community Expert Check the config for all VMs, the USB flash drive/controller may be passed-through to one of them.
April 8, 20242 yr Author Without being able to start the VM service, how can I do that? From what I can remember, I wasn't passing the flash drive or a USB controller into the VMs, but I was passing some USB devices.
April 8, 20242 yr Community Expert Solution 24 minutes ago, bisk said: Without being able to start the VM service, how can I do that? From what I can remember, I wasn't passing the flash drive or a USB controller into the VMs, but I was passing some USB devices. Is this your flash drive? Bus 001 Device 005: ID 0951:1666 Kingston Technology DataTraveler 100 G3/G4/SE9 G2/50 You have it defined in the JasonVM. mv /usr/local/sbin/qemu /usr/local/sbin/qemu.old This will allow you VM manager and the VMs will not autostart. edit the VM to remove this section. <hostdev mode="subsystem" type="usb" managed="no"> <source startupPolicy="optional"> <vendor id="0x0951"/> <product id="0x1666"/> </source> <address type="usb" bus="0" port="1"/> </hostdev> mv /usr/local/sbin/qemu.old /usr/local/sbin/qemu Now you should be able to start your VMs.
April 9, 20242 yr Author Interesting that a flash drive is being redirected, I honestly don't remember doing that, but I guess I did 🤷♂️ I started the array with VM Manager disabled Ran "mv /usr/local/sbin/qemu /usr/local/sbin/qemu.old" Enabled VM Manager Edited JasonVM in XML View to remove the section suggested, but when I try to save the changes I'm getting the following error - "VM creation error. Cannot check QEMU binary /usr/local/sbin/qemu: No such file or directory" and then the VM is removed from VM Manager. I was able to restore my VM Metadata since I've got a backup though. Here are the steps that I took to get things working again Disabled VM Manager Started the array Ran "mv /usr/local/sbin/qemu /usr/local/sbin/qemu.old" Enabled VM Manager Disabled Autostart on all of the VMs Stopped the array Rebooted Started the array Edited JasonVM in XML View to remove the section suggested I was able to manually start the VMs now Enabled Autostart on the VMs that I wanted to start with the array Thanks for the assistance in getting me back up and running!
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.