Cannot mount a USB key or disk device media to an ESX/ESXi host
search cancel

Cannot mount a USB key or disk device media to an ESX/ESXi host

book

Article ID: 320262

calendar_today

Updated On:

Products

VMware vSphere ESXi

Issue/Introduction

Restart the usbarbitrator service, if you are unable to connect USB key or disk device media to an ESX/ESXi host.

Symptoms:
  • Connecting a USB key or disk device media to the ESXi/ESX host fails.
  • The USB key or disk device media appears under lsusb but does not mount correctly.


Environment

VMware vSphere ESXi 5.0
VMware ESX 4.1.x
VMware ESXi 4.1.x Installable
VMware ESXi 4.1.x Embedded
VMware vSphere ESXi 5.1
VMware vSphere ESXi 5.5

Cause

This issue occurs because the usbarbitrator service has claimed the device to make it available for passthrough to virtual machines.

Resolution

Note: Ensure the USB devices are supported and compatible with ESX/ESXi host. For more information, see Supported USB device models for passthrough from an ESX or ESXi host to a virtual machine (1021345).
 
To resolve this issue, restart the usbarbitrator service:
  1. Run this command to stop the usbarbitrator service:

    /etc/init.d/usbarbitrator stop
     
  2. Disconnect and reconnect the USB key or disk device media. The device is automatically mounted under /vmfs/volumes/NO NAME/.
  3. After using the device, start the usbarbitrator service by running this command:

    /etc/init.d/usbarbitrator start
  4. To restore USB device access for passthrough to virtual machines without restarting, restart the hostd management service.
For more information, see Restarting the Management agents on an ESXi or ESX host (1003490).

Additional Information

  • USB device added to ESXi host cannot be formatted with VMFS (File System). This is by design that storage stack filters USB devices when mounted.

  • FAT32 is unsupported file system for pass-through USB devices.

  • You can use the /var/log/usb.log file to view the status of USBArb with the device attached.
  • lsusb command can be used to list all the devices attached along with the Bus and its Device ID.

    For example, the sample output looks similar to:

    Bus 001 Device 002: ID 8087:800a Intel Corp

    Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
    Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Manually creating a VMFS volume using vmkfstools -C
Using Tech Support Mode in ESXi 4.1, ESXi 5.x, and ESXi 6.x
Supported USB device models for passthrough from an ESX or ESXi host to a virtual machine
USB support in ESXi/ESX 4.1, ESXi 5.x, and ESXi 6.x
Using the partedUtil command line utility on ESXi and ESX
Não é possível instalar uma chave USB ou mídia de dispositivo de disco em um host ESX/ESXi
Windows と ESXi/ESX ホスト間でファイルをやりとりするために、USB フラッシュドライブを使用する方法
No se puede montar una unidad de memoria USB o un medio de dispositivo de disco en un host ESX/ESXi
无法将 USB 密钥或磁盘设备媒体挂载到 ESX/ESXi 主机
USB キーまたはディスク デバイス メディアを ESXi/ESX ホストにマウントできない
vSphere SSD and Flash Device Support