Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

Deleting volumes

Focus mode
Deleting volumes - FSx for ONTAP

You can delete an FSx for ONTAP volume using the Amazon FSx console, the AWS CLI, and the Amazon FSx API, in addition to the NetApp ONTAP command line interface (CLI) and REST API.

Before you delete a volume, make sure that no applications are accessing the data in the volume that you want to delete.

Important

You can only delete volumes using the Amazon FSx console, API, or CLI if the volume has Amazon FSx backups enabled.

Taking a final volume backup

When you delete a volume using the Amazon FSx console, you have the option to take a final backup of the volume. As a best practice, we recommend that you choose to take a final backup. If you find you don't need it after a certain period of time, you can delete this and other manually created volume backups. When you delete a volume by using the delete-volume CLI command, Amazon FSx takes a final backup by default.

For more information about volume backups, see Protecting your data with volume backups.

  1. Open the Amazon FSx console at https://console.aws.amazon.com/fsx/.

  2. In the left navigation pane, choose File systems, and then choose the ONTAP file system that you want to delete a volume from.

  3. Choose the Volumes tab.

  4. Choose the volume that you want to delete.

  5. For Actions, choose Delete volume.

  6. (SnapLock Enterprise volumes only) For Bypass SnapLock Enterprise Retention, choose Yes.

  7. In the confirmation dialog box, for Create final backup, you have two options:

    • Choose Yes to take a final backup of the volume. The name of the final backup is displayed.

    • Choose No if you don't want a final backup of the volume. You are asked to acknowledge that once the volume is deleted, automatic backups are no longer available.

  8. Confirm the volume deletion by entering delete in the Confirm delete field.

  9. Choose Delete volume(s).

  1. Open the Amazon FSx console at https://console.aws.amazon.com/fsx/.

  2. In the left navigation pane, choose File systems, and then choose the ONTAP file system that you want to delete a volume from.

  3. Choose the Volumes tab.

  4. Choose the volume that you want to delete.

  5. For Actions, choose Delete volume.

  6. (SnapLock Enterprise volumes only) For Bypass SnapLock Enterprise Retention, choose Yes.

  7. In the confirmation dialog box, for Create final backup, you have two options:

    • Choose Yes to take a final backup of the volume. The name of the final backup is displayed.

    • Choose No if you don't want a final backup of the volume. You are asked to acknowledge that once the volume is deleted, automatic backups are no longer available.

  8. Confirm the volume deletion by entering delete in the Confirm delete field.

  9. Choose Delete volume(s).

  • To delete an FSx for ONTAP volume, use the delete-volume CLI command (or the equivalent DeleteVolume API operation), as shown in the following example.

    aws fsx delete-volume --volume-id fsvol-1234567890abcde

  • To delete an FSx for ONTAP volume, use the delete-volume CLI command (or the equivalent DeleteVolume API operation), as shown in the following example.

    aws fsx delete-volume --volume-id fsvol-1234567890abcde

On this page

PrivacySite termsCookie preferences
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.