Provisioning datastores
Provisioning a datastore creates a logical container for your virtual machines and their virtual machine disks (VMDKs). You can provision a datastore, and then attach the datastore to a single host, to all of the hosts in a cluster, or to all of the hosts in a datacenter.
- To provision a datastore on an SVM that is directly connected to Virtual Storage Console (VSC), you must have added the SVM to VSC by using a user account that has the appropriate privileges, not the default vsadmin user account or vsadmin role.
You can also provision a datastore by adding a cluster.
- You must ensure that the subnet details of all the networks to which the ESXi hosted is connected is entered in the kaminoprefs.xml.
See "Enabling datastore mounting across different subnets" section in VSC 9.7 Deployment and Setup Guide.
- If you use NFS or iSCSI, and the subnet is different between your ESXi hosts and your storage system, then the NFS or iSCSI settings in the kaminoprefs preferences file must include ESXi host subnet masks.
This preference file is also applicable to VVol datastore creation. Virtual Storage Console, VASA Provider, and Storage Replication Adapter Deployment and Setup Guide for 9.7 release has more information on preferences file and enabling datastore mounting across different subnets.
- If you have enabled VASA Provider and you want to specify storage capability profiles for your NFS datastores or VMFS datastores, then you must have created one or more storage capability profiles.
- To create an NFSv4.1 datastore, you must have enabled NFSv4.1 at the SVM level.
The Provision Datastore option enables you to specify a storage capability profile for the datastore. Storage capability profiles help in specifying consistent service level objectives (SLOs) and simplify the provisioning process. You can specify a storage capability profile only if you have enabled VASA Provider. The virtual appliance for VSC, VASA Provider, and SRA supports the following protocols:
- NFSv3 and NFSv4.1
- VMFS5 and VMFS6
VSC can create a datastore on either an NFS volume or a LUN:
- For an NFS datastore, VSC creates an NFS volume on the storage system, and then updates the export policies.
- For a VMFS datastore, VSC creates a new volume (or uses an existing volume, if you selected that option), and then creates a LUN and an igroup.
If a storage capability profile is not specified during provisioning, you can later use the Storage Mapping page to map a datastore to a storage capability profile.