T19:44:09.981Z cpu0:37002)usb-storage: detected SCSI revision number 0 on vmhba38 T19:44:09.436Z cpu0:37002)usb-storage: patching inquiry data to change SCSI revision number from 0 to 2 on vmhba38 T19:44:09.436Z cpu0:37002)usb-storage: detected SCSI revision number 0 on vmhba38 Vmkernel.log: T19:44:08.410Z cpu3:33315)WARNING: LinScsiLLD: scsi_add_host:573: vmkAdapter (usb-storage) sgMa圎ntries rounded to 255. The datastore is recognized but appears as "inactive/unmounted". To workaround that, I've tried to create the datastore with ESXi 6, and plugged it into an ESXi 5.5 host. Vmkfstools -C /vmfs/devices/disks/mpx.vmhbaA:T:L:PĮrror: vmkfstools failed: vmkernel is not loaded or call not implemented. Usage: vmkfstools -C /vmfs/devices/disks/vml. This may take a few seconds.Ĭreating vmfs5 file system on "mpx.vmhba38:C0:T0:L0:1" with blockSize 1048576 and volume label "terra". dev/disks # vmkfstools -C vmfs5 -S terra mpx.vmhba38\:C0\:T0\:L0:1Ĭreate fs deviceName:'mpx.vmhba38:C0:T0:L0:1', fsShortName:'vmfs5', fsName:'terra'ĭeviceFullPath:/dev/disks/mpx.vmhba38:C0:T0:L0:1 deviceFile:mpx.vmhba38:C0:T0:L0:1Ĭhecking if remote hosts are using this device as a valid file system. You can also calculate the endsector with the following command: ~ # eval expr $(partedUtil getptbl /dev/disks/mpx.vmhba36\:C0\:T0\:L0 | tail -1 | awk '') - 1 The end sector can be calculated with the following formula (Use the numbers from getptbl): ~ # partedUtil getptbl /dev/disks/mpx.vmhba36\:C0\:T0\:L0 To create a partition you need to know the start sector, end sector, which depends on the device size and the GUID.Write a GPT label to the device (Assuming that the Device ID is mpx.vmhba36) ~ # partedUtil mklabel /dev/disks/mpx.vmhba36\:C0\:T0\:L0 gpt.You should see the USB Device in /dev/disks/: ~ # ls /dev/disks/ Get the device identifier (mpx.vmhbaXX).Plug in the USB Device to your ESXi host.(optional) Use this command to permanently disable the USB arbitrator service after reboot.(When disabling it, you can no longer passthrough USB devices to VMs) ~ # /etc/init.d/usbarbitrator stop This service is used to passthrough USB device from an ESX/ESXi host to a virtual machine. Of course, this is neither a supported, nor a performant storage solution, so use at your own risk. This post explains how you can use USB devices as datastore on your ESXi host. In vSphere 6, this behavior has been changed obviously. It was actually possible in vSphere 5, but very picky. Some USB flash drives were working, others not. In the last years I've seen many requests in forums and blogs where people are trying to use USB devices like USB sticks or external hard disks as VMFS formatted datastore.