Create and manage volumes for Amazon FSx for ONTAP

Contributors juliantap

After you set up your working environment, you can create and manage FSx for ONTAP volumes, clones, and snapshots, and change tiering policies for FSx for ONTAP.

Create volumes

You can create and manage NFS and CIFS volumes from your FSx for ONTAP working enviornment in Cloud Manager. NFS and CIFS volumes created using ONTAP CLI will also be visible in your FSx for ONTAP working environment.

You can create iSCSI volumes using ONTAP CLI, ONTAP API, or Cloud Manager API and manage them using Cloud Manager in your FSx for ONTAP working environment.

Before you begin

You need:

  • An active Connector in AWS.

  • If you want to use SMB, you must have set up DNS and Active Directory.

Steps
  1. Open the FSx for ONTAP working environment.

  2. If you don’t have a Connector enabled, you’ll be prompted to add one.

    A screenshot of the FSx for ONTAP Connector prompt.

  3. Click the Volumes tab

  4. Click Add Volume.

    A screenshot of the FSx for ONTAP volume tab.

  5. Volume Details and Protection:

    1. Enter a name for your new volume.

    2. The Storage VM (SVM) fields auto-populates the SVM based on the name of your working environment.

    3. Enter the volume size and select a unit (GiB or TiB). Note that the volume size will grow with usage.

    4. Select a snapshot policy. By default, a snapshot is taken every hour (keeping the last six copies), every day (keeping the last two copies), and every week (keeping the last two copies).

    5. Click Next.

      A screenshot of the volume details and protection fields for FSx for ONTAP volume creation.

  6. Protocol: Select the an NFS or CIFS volume protocol.

    1. For NFS:

      • Select an Access Control policy.

      • Select the NFS versions.

      • Select a Custom Export Policy. Click the information icon for valid value criteria.

        A screenshot of the NFS configuration FSx for ONTAP volume creation.

    2. For CIFS:

      • Enter a Share Name.

      • Enter users or groups separated by a semicolon.

      • Select the permission level for the volume.

        A screenshot of the NFS configuration FSx for ONTAP volume creation.

        Tip If this is the first CIFS volume for this working environment, you will be prompted to configure CIFS connectivity using an Active Directory or Workgroup setup.
      • If you select an Active Directory setup, you’ll need to provide the following configuration information.

        Field Description

        DNS Primary IP Address

        The IP addresses of the DNS servers that provides name resolution for the CIFS server.
        The listed DNS server must contain the service location records (SRV) needed to locate the Active Directory LDAP servers and domain controllers for the domain the CIFS server will join.

        Active Directory Domain to join

        The FQDN of the Active Directory (AD) domain you want the CIFS server to join.

        Credentials authorized to join the domain

        The name and password of a Windows account with sufficient privileges to add computers to the specified Organizational Unit (OU) within the AD domain.

        CIFS server NetBIOS name

        A CIFS server name that is unique in the AD domain.

        Organizational Unit

        The organizational unit within the AD domain to associate with the CIFS server. The default is CN=Computers.

        DNS Domain

        The DNS domain for the storage virtual machine (SVM). In most cases, the domain is the same as the AD domain.

        NTP Server

        Select Enable NTP Server Configuration to configure an NTP server using the Active Directory DNS. If you need to configure an NTP server using a different address, then you should use the API. See the Cloud Manager automation docs for details.

      • If you select a Workgroup setup, enter the server and workgroup name for a workgroup configured for CIFS.

    3. Click Next.

  7. Usage Profile and Tiering:

    1. By default, Storage Efficiency is disabled. You can change this setting to enable deduplication and compression.

    2. By default, Tiering Policy is set to Snapshot Only. You can select a different tiering policy based on your needs.

    3. Click Next.

      A screenshot of the Usage Profile and Tiering Configuration for FSx for ONTAP volume creation.

  8. Review: Review your volume configuration. Click Previous to change settings or click Add to create the volume.

Result

The new volume is added to the working environment.

Mount volumes

Access mounting instructions from within Cloud Manager so you can mount the volume to a host.

Steps
  1. Open the working environment.

  2. Open the volume menu and select Mount the volume.

    A screenshot of available operations available when you open the volume menu.

  3. Follow the instructions to mount the volume.

Edit volumes

After you create a volume, you can modify it at any time.

Steps
  1. Open the working environment.

  2. Open the volume menu and select Edit.

    1. For NFS, you can modify the size and tags.

    2. For CIFS, you can modify the share name, users, permissions, and Snapshot policy as needed.

  3. Click Apply.

Clone volumes

After you create a volume, you can create a new read-write volume from a new Snapshot.

Steps
  1. Open the working environment.

  2. Open the volume menu and select Clone.

  3. Enter a name for the cloned volume.

  4. Click Clone.

Manage Snapshot copies

Snapshot copies provide a point-in-time copy of your volume. Create Snapshot copies and restore the data to a new volume.

Steps
  1. Open the working environment.

  2. Open the volume menu and choose one of the available options to manage Snapshot copies:

    • Create a Snapshot copy

    • Restore from a Snapshot copy

  3. Follow the prompts to complete the selected action.

Change the tiering policy

Change the tiering policy for the volume.

Steps
  1. Open the working environment.

  2. Open the volume menu and select Change Tiering policy.

  3. Select a new volume tiering policy and click Change.

Replicate and sync data

You can replicate data between storage environments using Cloud Manager. To configure FSx for ONTAP replication, see replicating data between systems.

You can create sync relationships using Cloud Sync in Cloud Manager. To configure sync relationships, see create sync relationships.

Delete volumes

Delete the volumes that you no longer need.

Before you begin

You cannot delete a volume that was previously part of a SnapMirror relationship using Cloud Manager. SnapMirror volumes must be deleted using the AWS Management Console or CLI.

Steps
  1. Open the working environment.

  2. Open the volume menu and select Delete.

  3. Enter the working environment name and confirm that you want to delete the volume. It can take up to an hour before the volume is completely removed from Cloud Manager.

Note If you try to delete a cloned volume, you will receive an error.