Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Enabling VM Service causing USB Flash Drive to go offline

Featured Replies

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

Solved by SimonF

  • Community Expert

Check the config for all VMs, the USB flash drive/controller may be passed-through to one of them.

  • 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.

  • 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.

 

 

 

  • 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.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.