Create a file share

Contributors netapp-manini ciarm dmp-netapp Download PDF of this page

This section describes how to create a new share by directly specifying the share details. To create a new share based on a snapshot of an existing share, see Create Share from Snapshot.

Before you begin

  • A share is created on a file server. The file server must exist and be in an operational state before you can create a new file share.

  • For creating a CIFS or NFS file share, the server must be enabled for the respective service. For a multi-protocol file shares, the server should support both CIFS and NFS services.

  • To enable asynchronous disaster recovery options for the share, you must create the share on a server that has asynchronous disaster recovery enabled. For more information, see Disaster recovery.

  • To enable synchronous disaster recovery for a share, create the share in a zone that is MetroCluster-enabled.

  • You can define a backup policy to capture backups of the file share on a scheduled basis. For more information, see Backups.

  • You can define a snapshot policy to capture snapshots of the file share on a scheduled basis. For more information, see Snapshots.

Steps

  1. Go to FILE SERVICES > Shares.

  2. Click Create Share.

  3. In the Create Share dialog box, select Create New Share.

    Error: Missing Graphic Image

    The Create Share page is displayed.

  4. Select the share type: NFS, CIFS, or Multi-protocol. The options are enabled based on the services that your server supports.

  5. Complete the following fields:

    Field Description

    Name

    Enter the share name.

    Share Path

    Enter the path for the file share.
    For CIFS shares, adding a $ character to the end of the share path will make it a hidden share (for example, pathtomyhiddenshare$).

    Region

    Select the region in which the share resides.

    Zone

    Select the zone of the share.

    File Server

    Select the file server to host the share. The list of the file server depends on the region, zone, and share type selected.

    Security Style

    Select the security style applicable to the file share. This list is automatically populated based on the share type selected.

  6. Select a Performance Service Level. The IOPS and throughput limits are displayed based on the service level selected.

    Select an option to view the performance details for that level (as peak/expected IOPS/throughput). Select the service level that best matches your needs.
  7. Specify the capacity of the file share.

    NetApp Service Engine displays a warning and the capacity bar changes color if the specified capacity puts the consumed capacity into burst (or even more into burst if it is already in burst). The capacity check is performed against the total capacity for all subscriptions in the tenancy.
  8. If asynchronous disaster recovery is enabled on the underlying file server, asynchronous disaster recovery replication is automatically enabled for the new share. If you wish to exclude the share from asynchronous disaster recovery replication, toggle the Asynchronous Disaster Recovery button so that it is disabled.

  9. If the share is being created in a zone that is MetroCluster-enabled, the Synchronous Disaster Recovery button is automatically enabled and cannot be disabled. The share will be replicated to the zone displayed in the panel below the Synchronous Disaster Recovery toggle.

  10. If snapshots are required for this file share:

    1. Toggle to enable the Snapshot Policy and view the Snapshot Policy fields.

    2. Specify when to create the Snapshots:

      • Hourly. Specify which minute (of the hour) to take snapshot and the number of hourly snapshots to retain.

      • Daily. Specify when (hour and minute) to take the snapshot the number of daily snapshots to retain.

      • Weekly. Specify when (day of the week, hour, and minute) to take snapshot and the number of weekly snapshots to retain.

      • Monthly. Specify when (day of the month, hour, and minute) to take snapshot and the number of monthly snapshots to retain.

  11. To enable backups for this file share:

    1. Toggle to enable the Backup Policy and the Backup Policy fields.

    2. Specify the backup zone.

    3. Specify how many of each type of backup to keep: daily, weekly, and/or monthly.

  12. For NFS or multi-protocol shares, specify the Export Policy. You can apply multiple export policies on a share. This section is available for only NFS and multi-protocol shares.

    1. Add the IPv4 address (with a subnet mask expressed as a number of bits) of the client to which the rule applies.

    2. Specify the read and write access, and whether the client has root access (superuser).

  13. For a CIFS (SMB) or multi-protocol shares, specify the Access Control List (ACL) for restricting user access. This section is available for only CIFS and multi-protocol shares.

    1. Specify the Windows user or group based on the Active Directory (AD) settings to add to the ACL. If you specify the user name, include the user’s domain in the <domain>\<username> format. The default value is Everyone.

    2. Specify the Windows permission. The default value is Full control. If a user is a part of two groups, the permissions of the group that has higher privileges get applied on the user’s access.

      The user or group name should follow the standard AD format. If the entered user or group does not match the user or user group configured on ONTAP, the ACL validation fails during a CIFS operation, even when the file share is operational.
  14. If you want to add tags (key-value pairs) to the file share, specify them in the Tags section.

  15. Click Create. This creates a job to create the share.

After you finish

  • For CIFs type shares only: to make the shares available by host name, your domain administrator must update the DNS records with the CIFS server name and IP address. Otherwise, the share is only accessible through the IP address. For example:

    • With DNS records updated, use either the host name or IP to access the share: such as \\hostname\share or \\IP\share

    • With no DNS records updated, you must use the IP address to access the share i.e. \\IP\share

  • Create share is run as an asynchronous job. You can:

    • Check the status of the job in the jobs list.

    • After the job is finished, check the status of the share in the Shares list.