About the author
Instructions for updating VIB sources -- nothing to do with getting your USB recognized
Listing ESXi profiles
The following is the part where you get your external USB drive recognized aka using a external USB hard drive as a datastore on ESXi 6
It turned out that it's possible to mount an external USB drive to a USB port on a ESXi bare-metal host, and get it attached and available for use as a datastore.
Perform a lspci -v to get all the USB UHCI and EHCI controllers to show up.
This shows up for example as:
0000:00:1a.1 USB controller Serial bus controller: Intel Corporation PowerEdge R710 USB UHCI Controller by chuacw
Class 0c03: 8086:2938
0000:00:1a.7 USB controller Serial bus controller: Intel Corporation PowerEdge R710 USB EHCI Controller by chuacw
Class 0c03: 8086:293c
Then, follow these commands, to add the vendor ID and product id. The vendor id in this case, for the above EHCI controller is 8086:293c
Edit the usb-uhci.map with the IDs of the output of lspci -v.
vi uhci_usb/etc/vmware/driver.map.d/usb-uhci.map
regtype=linux,bus=pci,id=8086:2934 0000:0000,driver=usb-uhci,class=storageregtype=linux,bus=pci,id=8086:2935 0000:0000,driver=usb-uhci,class=storageregtype=linux,bus=pci,id=8086:2937 0000:0000,driver=usb-uhci,class=storageregtype=linux,bus=pci,id=8086:2938 0000:0000,driver=usb-uhci,class=storageregtype=linux,bus=pci,id=8086:293a 0000:0000,driver=usb-uhci,class=storageregtype=linux,bus=pci,id=8086:293c 0000:0000,driver=ehci-hcd,class=storage
8086 Intel Corporation by chuacw
2934 PowerEdge R710 USB UHCI Controller by chuacw2935 PowerEdge R710 USB UHCI Controller by chuacw2937 PowerEdge R710 USB UHCI Controller by chuacw2938 PowerEdge R710 USB UHCI Controller by chuacw293a PowerEdge R710 USB UHCI Controller by chuacw
<-Tab-->NNNN<-Two Tabs->Description
stop the usbarbitrator. Also, if you do not see your USB after a reboot, stop the usbarbitrator, and reinsert the USB drive by pulling out the cable out of the USB port and reattaching it.
Detach and reattach the USB drive, otherwise, it wouldn't work
shows the following:
***
*** The fdisk command is deprecated: fdisk does not handle GPT partitions. Please use partedUtil
Disk /dev/disks/mpx.vmhba32:C0:T0:L0: 2000.3 GB, 2000398933504 bytes
255 heads, 63 sectors/track, 243201 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
Found valid GPT with protective MBR; using GPT
Then, fdisk /dev/disks/m and press tab to allow it to autocomplete so that you get:
How to free more space on your home drive by redirecting the location for SDKs in RAD Studio
Learn the command line used to compile System.pas in Delphi
A method to design records so that they're allocated on a specific byte boundary, such as 16 bytes, 512 bytes, 4096 bytes, etc.
Learn why the map is cool in Go!