To detach a storage device using the vSphere client, see Detach Storage Devices in the vSphere 5 Documentation Center.
Caution: You should successfully unmount the datastore using the documented method prior to completing the steps described below. For more instructions, see Unmount VMFS or NFS Datastores in the vSphere 5 Documentation Center.
To detach a storage device using the vSphere client:
Select on the desired host.
Click the Configuration tab.
Click Storage Adapters.
Click on the applicable host bus adapter.
Right-click on the applicable device.
Repeat Steps 2-7 for each host that can access the storage device.