On ESXi 4.1 and higher, the USB arbitrator service takes control of local USB devices and passes them through for use by virtual machines. For more information on USB Passthrough, see
USB Device Passthrough Configuration from an ESXi/ESX Host to a Virtual Machine in the
vSphere Virtual Machine Administration Guide for your version of vSphere.
To use a local USB storage device to save a VMkernel coredump during a purple diagnostic screen, the USB arbitrator service must be disabled. However, USB devices may be claimed by the USB arbitrator or used by the VMkernel, not both. Thus, using USB storage devices locally on a vSphere ESXi host prevents their use by virtual machines.
To use a local USB storage device to save future VMkernel coredump diagnostic information:
- Open a console session to the vSphere ESXi host, either using SSH or the local ESXi Shell and log in an administrative user. For example, log in as the root user.
- Validate that no virtual machines are using USB devices via passthrough.
- Disable the USB Arbitrator service using the command:
/etc/init.d/usbarbitrator stop
- Connect the USB storage device to the ESXi host.
- Perform a rescan of the storage. For more information, see Performing a rescan of the storage on an ESX/ESXi host (1003988).
- Validate that the USB storage device appears on the ESXi host. For more information, see Identifying disks when working with VMware ESX/ESXi (1014953).
- Create a new diagnostic partition on the USB storage device, and activate it for use by the VMkernel for storing diagnostic information. For more information, see the Creating and activating a diagnostic coredump partition on disk section in Configuring an ESX/ESXi host to capture a VMkernel coredump from a purple diagnostic screen (1000328). Note: proper GUID is 9D27538040AD11DBBF97000C2911D1B8
Note: This service is started again during the next boot, and USB devices are made available for virtual machine passthrough. After reproducing a purple diagnostic screen failure and restarting the ESXi host, the USB arbitrator service must be stopped again to copy the contents out. For more information, see Collecting diagnostic information from an ESX or ESXi host that experiences a purple diagnostic screen (1004128).
To restore USB device access for passthrough to virtual machines without restarting:
- Open a console session to the vSphere ESXi host, either using SSH or the local ESXi Shell and log in an administrative user. For example, log in as the root user.
- Validate that the VMkernel is not using any USB devices.
- Enable the USB arbitrator service using the command:
/etc/init.d/usbarbitrator start
- Restart the hostd management service. For more information, see Restarting the Management agents on an ESXi or ESX host (1003490).