Create and manage volumes for Amazon FSx for ONTAP

Contributors juliantap Download PDF of this page

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

Creating volumes

You can create and edit NFS and CIFS volumes in a new or existing FSx for ONTAP working environment. Volumes created using ONTAP CLI will also be visible in your FSx for ONTAP working environment.

Before you begin

You need:

Note You do not need a Connector in AWS to remove or delete a working environment.
  • 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. Enter the volume size. Note that the volume size will grow with usage.

    3. 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).

    4. 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.

Mounting 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.

Editing 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.

Cloning the volume

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.

Managing 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.

Changing 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.

Replicating and syncing 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.

Deleting 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.

Removing FSx for ONTAP from the workspace

You can remove FSx for ONTAP from Cloud Manager without deleting your FSx for ONTAP account or volumes. You can add the FSx for ONTAP working environment back to Cloud Manager at any time.

Steps
  1. Open the working environment. If you don’t have a Connector in AWS, you will see the prompt screen. You can ignore this and proceed with removing the working environment.

  2. At the top right of the page, select the actions menu and click Remove from workspace.

    A screenshot of remove option for FSx for ONTAP from the Cloud Manager interface.

  3. Click Remove to remove FSx for ONTAP from Cloud Manager.

Deleting the FSx for ONTAP working environment

You can delete the FSx for ONTAP from Cloud Manager.

Before you begin
  • You must delete all volumes associated with the file system.

  • You cannot delete a working environment that contains failed volumes. Failed volumes must be deleted using the AWS Management Console or CLI prior to deleting FSx for ONTAP files system.

Warning This action will delete all resources associated with the working environment. This action cannot be undone.
Steps
  1. Open the working environment. If you don’t have a Connector in AWS, you will see the prompt screen. You can ignore this and proceed to deleting the working environment.

  2. At the top right of the page, select the actions menu and click Delete.

    A screenshot of delete option for FSx for ONTAP from the Cloud Manager interface.

  3. Enter the name of the working environment and click Delete.