Remove a Datastore and Delete the Underlying LUNs

When a datastore is no longer needed, you can delete it from its associated host in the vSphere Client. You can choose to delete the underlying LUNs that are associated with the datastore.

Prerequisites:
  • Administrator credentials to enable access to the Oracle FS System to which the LUN and datastore are mapped.

  • Back up any necessary virtual machine (VM) files on 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 if you want to delete the underlying LUNs.
Note: Oracle recommends that you use the Oracle FS System vSphere Plug-In Remove Datastore command, not the native vSphere Client Delete command, to delete datastores associated with Oracle FS System LUNs.
  1. Select Inventory > Datastores and Datastore Clusters.
  2. In the vSphere inventory tree, select a datastore to be removed.
    Important! This datastore must contain LUNs from a single Oracle FS System.
  3. Right-click the ESX host, and select Manage Oracle FS Storage > Remove Datastore.
  4. Provide authentication credentials for the Oracle FS System if you have not already provided them.
  5. In the Remove Datastore window, select the datastore you want to remove.
  6. View the details of the LUNs associated with the datastore to confirm you want the LUNs to be deleted as well.
  7. Select Delete any underlying Oracle FS LUNs to delete the LUNs along with the datastore.
  8. Click Delete.
    Result:The datastore and associated LUNs are deleted.
    Note: If you use the Remove Datastore feature to delete any underlying Oracle FS System LUNs, the system must recondition the space from those LUNs before you can allocate it for new LUNs.