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

Updating a volume's cloud retrieval policy

Focus mode
Updating a volume's cloud retrieval policy - FSx for ONTAP

Use the volume modify ONTAP CLI command to set the cloud retrieval policy for an existing volume. For more information, see volume modify in the NetApp ONTAP Documentation Center.

To set a volume's cloud retrieval policy (ONTAP CLI)
  1. To access the ONTAP CLI, establish an SSH session on the management port of the Amazon FSx for NetApp ONTAP file system by running the following command. Replace management_endpoint_ip with the IP address of the file system's management port.

    [~]$ ssh fsxadmin@management_endpoint_ip

    For more information, see Managing file systems with the ONTAP CLI.

  2. Enter the ONTAP CLI advanced mode using the following command.

    FSx::> set adv Warning: These advanced commands are potentially dangerous; use them only when directed to do so by NetApp personnel. Do you want to continue? {y|n}: y
  3. Use the following command to set the volume’s cloud retrieval policy, replacing the following values:

    • Replace svm_name with the name of the SVM that the volume is created on.

    • Replace vol_name with name of the volume for which you are setting the cloud retrieval policy.

    • Replace retrieval_policy with the desired value, either default, on-read, never, or promote.

    FSx::> volume modify -vserver svm_name -volume vol_name -cloud-retrieval-policy retrieval_policy

    The system responds as follows for a successful request.

    Volume modify successful on volume vol_name of Vserver svm_name.
PrivacySite termsCookie preferences
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.