Accessing a USB Datastore on ESX 6.7

With vSphere 6.7 now available I have set about rebuilding my home lab which is running on vSphere 6.5. I could upgrade but as its my lab, I prefer to simply rebuild it. Its running on a 3 node cluster with vsan and the plan is to just blow it all away and start again. I have a 128gb USB key acting as a datastore for  templates and ISOs which I will keep intact.

One of the first issues I encountered is 6.7 recognising the USB datastore. To get around this, I need to stop the process that allows for USB pass through to VMs

/etc/init.d/usbarbitrator stop

The datastore is seen by the OS as a snapshot. Run the following command to list the available snapshots.

esxcli storage vmfs snapshot list

In my case the following was the result:

Volume Name: USB-Datastore
VMFS UUID: 595bec24-22e110b2-94de-f44d306c2a5f
Can mount: true
Reason for un-mountability:
Can resignature: true
Reason for non-resignaturability:
Unresolved Extent Count: 1

Taking the UUID, mount the snapshot with the following command:

esxcli storage vmfs snapshot mount -u 595bec24-22e110b2-94de-f44d306c2a5f

The data store should now show up

USB Datastore

To prevent the USB Arbitrator staring again run the following command:

chkconfig usbarbitrator off

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s