Wednesday, March 21, 2012

How Do I Copy a File to a USB device in VMware ESXi 4.1

First thing is you need to enable SSH.

I already wrote how to do that here -> How To Enable SSH for ESXi 4.1

Next open an ssh program like PuTTY.

Once connected you need to run the following command as root.

/etc/init.d/usbarbitrator stop 

Note: This turns off the USB passthrough for your VMs.

At this point you can plug in the USB device.  4.1 auto mounts it so, type:

ls /vmfs/volumes/NO\ NAME/

This should show anything on the USB Device.

You can copy, delete whatever you want to do.

Source:  Link Link Link

This blog talks about how to use some of the utilities if you are coping a new vm over.

Source:  Link

Once you are done, you should turn back on passthrough by typing:

/etc/init.d/usbarbitrator start

UPDATE:  I found this does work find but for only FAT/FAT16 formatted drives.  I have no yet found a solution to use FAT32 or NTFS.