When the vSAN file service is enabled, you can create one or more file shares on the vSAN datastore. vSAN File Service does not support using these file shares as NFS datastores on ESXi.

Procedure

  1. Navigate to the vSAN cluster and click Configure > vSAN > File Service Shares.
  2. Click Add.

    The Create file share wizard opens.

  3. In the General page, enter the following general information and click Next.
    • Protocol: vSAN release 7.0 supports NFSv3 and NFSv4.1. All the file shares support both NFSv3 and NFSv4.1 by default.
    • Name
    • Storage Policy: vSAN Default Storage Policy
    • Storage space quotas: You can set the following values:
      • Share warning threshold: When the share reaches this threshold, a warning message is displayed.
      • Share hard quota: When the share reaches this threshold, new block allocation is denied.
    • Labels: A label is a key-value pair that helps you organize file shares. You can attach labels to each file share and then filter them based on their labels. A label key is a string with 1~250 characters. A label value is a string and the length of the label value should be less than 1k characters. vSAN File Service supports up to 50 labels per share.
  4. The Net access control page, provides options to define access to the file share. Select one of the following options and click Next.
    • No access: Select this option to make the file share inaccessible from any IP address.
    • Allow access from any IP: Select this option to make the file share accessible from all IP addresses.
    • Customize net access: Select this option to define permissions for specific IP addresses. Using this option you can specify whether a specific IP address can access, make changes, or only read the file share. You can also enable or disable Root squash for each IP address. You can enter the IP addresses in the following formats:
      • A single IP address. For example, 123.23.23.123
      • IP address along with subnet mask. For example, 123.23.23.0/8
      • A range by specifying a starting IP address and ending IP address separated by a hyphen. For example, 123.23.23.123-123.23.23.128
      • Asterisk to imply all the clients.
  5. In the Review page, review the settings, and then click Finish.
    A new file share is created on the vSAN datastore.