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 NFS volumes in a new or existing FSx for ONTAP working environment. If CIFS volumes were created using ONTAP CLI, they will be visible in your FSx for ONTAP working environment.

At this time, you cannot edit FSx for ONTAP volumes from Cloud Manager.

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 NFS versions and Access Control policy. Optionally, specify a custom export policy. Click Next.

    A screenshot of volume protocol fields for NFS.

  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.

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.