When a datastore is no longer needed, you can delete it from its associated host in the vSphere Client. You can choose to keep the underlying LUNs that are associated with the datastore.
When you remove a datastore, you have the option of deleting the underlying LUNs or keeping the underlying LUNs to use in other datastores. Follow these steps to keep the underlying LUNs. You can use the LUNs that remain to create another datastore on top of a VM or for assigning to a VM as a raw device mapping (RDM).
- In the vSphere inventory tree, select a datastore to be removed.
Important! This datastore must contain LUNs from a single Oracle FS System.
- Right-click the datastore and select .
- Provide authentication credentials for the Oracle FS System if you have not already provided them.
- In the Remove Datastore window, select the datastore you want to remove.
- View the details of the LUNs associated with the datastore to determine whether you want the LUNs to remain.
If you do not delete the underlying LUNs, the datastore data remains on the LUNs.
- View the LUN mapping details to determine which specific hosts to unmap.
If you do not select specific hosts to unmap, the delete command will delete all mappings between LUNs and hosts.
- Click Delete.
Result:The datastore is deleted, and the underlying LUNs are retained.