VMware Cloud Community
andypircher
Contributor
Contributor

ESXi 6.7 - USB device listed with lsusb but not able to connect to VM

I am not able to attach a USB HDD to a virtual machine.

The disk has previously been attached to another virtual machine,

but it isn't showing in the UI-configuration of any of my VMs.

One vmx file has this entry, that maybe causes the issue:

     usb.autoConnect.device0 = "path:1/9 autoclean:1"

I suppose editing the vmx and rebooting should solve the issue.

But is there a way to detach it without rebooting the VM?

0 Kudos
4 Replies
andypircher
Contributor
Contributor

I've attached the output of

     lsusb -v

One USB disk is available to be attached as soon as the VM that is using it is stopped.

The other one is newer available:

     Bus 002 Device 003: ID 0480:a202 Toshiba America Inc Canvio Basics HDD

What's wrong here? Bugs?

0 Kudos
andypircher
Contributor
Contributor

I've now upgraded to ESXi 6.7 U1 but still one disk can't be passed to guests.

0 Kudos
jUDASmILExAlmig
Enthusiast
Enthusiast

Hi

Can you try this command to see if your USB HDD is enabled for passthrough? "#esxcli hardware usb passthrough device list"

If "Enabled" is "true" means this device is available for passthrogh to VM and not if "false".

Either, could you provide more detail about your USB HDD like brand, volume, USB2 or USB3, and about your VM, which USB controller added on VM? Thanks.

H

0 Kudos
OlegBarkov
Contributor
Contributor

Try to disable native USB module and reboot the host.

esxcli system module set -m=vmkusb -e=FALSE

0 Kudos