Backup fails with "VM_HAS_VUSBS" error
-
Last night I pushed my last VM off of esxi.
That particular machine has a pass through USB device. I made a backup routine for it this morning and get this message when I try to run it.
Snapshot Start: Jan 12, 2024, 01:17:18 PM End: Jan 12, 2024, 01:17:18 PM Error: VM_HAS_VUSBS(OpaqueRef:695bb7f4-88f2-1670-63dc-6110b9c479ad)This is a XenServer/XCP-ng error
Start: Jan 12, 2024, 01:17:18 PM
End: Jan 12, 2024, 01:17:19 PM
Duration: a few seconds
Error: VM_HAS_VUSBS(OpaqueRef:695bb7f4-88f2-1670-63dc-6110b9c479ad)This is a XenServer/XCP-ng errorI saw one similar problem with someone a while back. Is there a work around?
-
Hi!
IIRC, you can't directly backup a running VM while an USB device is attached. The workaround is to detach the device, backup then re-attach. I vaguely remember a discussion around this few years ago, but I don't get all the details.
-
@olivierlambert
10-4 -
Ideally, we should probably detect this error message, unplug, backup and re-plug automagically. However, I'm afraid this could trigger a surprise if you are doing a backup while actively using the USB device
-
@olivierlambert Could this be added as an option under the backup's Advanced settings area?
-
@Danp
In the real world, FWIW department, the usb is a software protection device that works with some architectural software we use.BTW...based on your icon for your name...WDE!!!
-
@archw Years ago we used a device to convert a serial port into an IP connection. I wonder if you could do something similar where the actual USB dongle wasn't even attached to your XCP-ng host.
WDE!!
-
@Danp
Not a bad idea!(I was Junior when Bo Jackson got there:) )
-
@archw I was there from 83 - 85. I can recall standing in line behind Bo to sign up for classes.
-
@Danp
80 to 84! Building science...never saw Bo but Lionel "Little Train" James was in the class I went to (he was leaving as I was walking in...nice dude!!!). -
@archw I do not envy you for being stuck on using USB serial keys.... ugh...
That has to be some OLD software
-
@Danp said in Backup fails with "VM_HAS_VUSBS" error:
@olivierlambert Could this be added as an option under the backup's Advanced settings area?
Probably, just taking care of telling people it will unplug the device for few seconds.