Delete datastores
Remove storage from datastore action is supported on all ONTAP tools for VMware vSphere discovered or managed vVols datastores in the vCenter Server. This action allows the removal of volumes from the vVols datastore.
The remove option is disabled when there are vVols residing on a particular volume. In addition to removing volumes from datastore, you can delete the selected volume on ONTAP storage.
Delete datastore task from ONTAP tools for VMware vSphere in the VCenter Server does the following:
-
Unmounts the vVol container.
-
Cleans up igroup. If igroup is not in use, removes iqn from igroup.
-
Deletes Vvol container.
-
Leaves the Flex volumes on the storage array.
Follow the steps below to delete NFS, VMFS, or vVOL datastore from ONTAP tools from the vCenter Server:
-
Log in to the vSphere client using
https://vcenterip/ui
-
Right-click a Host System or a Host Cluster or a Datastore, and then select NetApp ONTAP tools > Delete datastore.
You cannot delete the datastores if there are virtual machines using that datastore. You need to move the virtual machines to a different datastore before deleting the datastore. -
In the case of NFS or VMFS datastore a dialog box appears with the list of VMs that are using the datastore.
-
In the case of vVols datastore, Delete datastore action deletes the datastore only when there are no vVols associated with it. The Delete datastore dialog box provides an option to delete volumes from ONTAP cluster.
-
-
To delete the backing volumes on ONTAP storage, select Delete volumes on ONTAP cluster.