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 an Amazon FSx for OpenZFS volume

Focus mode
Deleting an Amazon FSx for OpenZFS volume - FSx for OpenZFS

This section provides information on how to delete an FSx for OpenZFS volume using the Amazon FSx console, the AWS CLI, and the Amazon FSx API.

When you delete a volume, the operation has the following results:

  • Deletes all data in the volume

  • Deletes all snapshots

  • Deletes all child volumes and their snapshots

Note

You cannot delete a root volume. You also cannot delete any volumes from a client mount (for example, with a rm -r /fsx/vol1 command).

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

  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 FSx for OpenZFS 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. In the delete dialog, do the following:

    1. Acknowledge that you understand the results of deleting the volume.

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

  7. Choose Delete volume(s).

To delete a volume (console)

  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 FSx for OpenZFS 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. In the delete dialog, do the following:

    1. Acknowledge that you understand the results of deleting the volume.

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

  7. Choose Delete volume(s).

  • To delete an FSx for OpenZFS 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 fsxvol-0123456789abcdef1

  • To delete an FSx for OpenZFS 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 fsxvol-0123456789abcdef1
PrivacySite termsCookie preferences
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.