Create Shares
Last updated
Last updated
A share represents individual file systems within the Network File Storage cluster. Each cluster can contain multiple shares within it.
Only contract administrators, owners, and users with Access and Manage Network File Storage privilege are allowed to create shares. You can set the privilege via the DCD group privileges. For more information, see Set User Privileges for Network File Storage.
To create a share within a Network File Storage cluster, follow these steps:
Log in to the DCD with your username and password.
Go to Menu > Storage > Network File Storage.
Select a cluster from the list of clusters and select Manage Shares from the OPTIONS column.
Select Create Share in the Manage shares window and enter the following details:
Click Save to create a share.
Result: A share is created within the selected Network File Storage Cluster.
To define share properties, specify the following details:
Name: Enter an appropriate name for the share.
(Optional) Quota: Specify the quota in MiB to restrict the amount of data that can be stored within the export file. Set the value to zero, if you want to disable the quota for export.
(Optional) GID: The ID of the group that owns the exported share. The default value is 512.
(Optional) UID: The ID of the user who owns the exported directory. The default value is 512.
Multiple VMs from within a VDC can be connected to shares of a Network File Storage's cluster via a private LAN.
(Optional) Description: Enter necessary information about the client group.
IP Networks: Select + Add IP Network to add an IP address with the mask CIDR notation. The specified network therefore becomes an authorized network while restricting access to all other networks. Example: 127.0.0.1/24.
Hosts: Select + Add Host to add the number of VMs that is allowed to access the share. Example: 10.234.62.123.
NFS Squash Mode: Select a squash mode for export. For more information, see Root squash security. You can choose one of the following:
None: Select if you do not want a squash mode. For security reasons, we do not recommend setting the mode to None.
Root Anonymous: Select to map a root user to an anonymous user.
All Anonymous: Select to map all users to anonymous user.