Skip to main content
ONTAP tools for VMware vSphere 10

Create a datastore

Contributors netapp-jani

When you create a datastore at the host cluster level, the datastore is created and mounted on all the destination hosts. You can see this option only if you have the required privileges.

  • You can only create a VMFS datastores on a protected cluster. When you add a VMFS datastore to a protected cluster, the datastore becomes protected automatically.

  • You cannot create a datastore on a data center that has one or more protected host clusters.

  • You cannot create a datastore at host if the parent host cluster is protected with a relationship of Automated Failover Duplex policy type (uniform/non-uniform config).

  • You can create a VMFS datastore on a host, only when it has an asynchronous relationship.

You can create a vVols datastore with either new volumes or existing volumes. You cannot create vVols datastore with the mix of existing and new volumes.

Note Check to ensure root aggregates are not mapped to SVM.

Beginning with ONTAP tools for VMware vSphere 10.3, you can create a vVols datastore using ASA r2 type of ONTAP storage. The vVols datastore created on ASA r2 systems is created with space-efficiency as thin.vVol. VASA Provider creates a container and the desired protocol endpoints during create vVol datastore workflow. This container will not have any backing volumes.

Before you begin
  • Ensure that VASA Provider is registered with the selected vCenter.

  • For SVM user in ASA r2 storage system, SVM should be mapped to aggregate

Steps
  1. Log in to the vSphere client using https://<vcenterip>/<ui>

  2. Right-click a host system or a host cluster or a data center and select NetApp ONTAP tools > Create Datastore.

  3. In the Type pane, select vVols in Datastore Type.

  4. In the Name and Protocol pane, provide Datastore name and Protocol information.

    Note ASA r2 storage type supports only iSCSI and FC protocol for vVols.
  5. In the Storage pane, select the storage VM where you want to create the datastore. In the Advanced options section, select custom export policy (for NFS protocol) or custom initiator group name (for iSCSI amd FC protocol) as applicable.

    Note In ASA r2 storage type SVM, storage units(LUN/namespace) are not created as datastore is only a logical container.
  6. In the Storage attributes pane, you can either create new volumes or use the existing volumes. When creating new volume, you can enable QoS on the datastore. This step is not applicable for vVols datastores using ASA r2 type of ONTAP storage as vVol datastore does not have backing volumes. There would be one volume created on every LUN create request by default.

  7. Review your selection in the Summary pane and select Finish. The vVols Datastore is created and mounted on all the hosts.