Updating a volume's cloud retrieval policy
Use the volume modify
ONTAP CLI command to set the
cloud retrieval policy for an existing volume. For more information, see volume modify
To set a volume's cloud retrieval policy (ONTAP CLI)
To access the NetApp 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
with the IP address of the file system's management port.management_endpoint_ip
[~]$
ssh fsxadmin@
management_endpoint_ip
For more information, see Managing file systems with the ONTAP CLI.
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
Use the following command to set the volume’s cloud retrieval policy, replacing the following values:
-
Replace
with the name of the SVM that the volume is created on.svm_name
-
Replace
with name of the volume for which you are setting the cloud retrieval policy.vol_name
Replace
with the desired value, eitherretrieval_policy
default
,on-read
,never
, orpromote
.
FSx::>
volume modify -vserver
svm_name
-volumevol_name
-cloud-retrieval-policyretrieval_policy
The system responds as follows for a successful request.
Volume modify successful on volume
vol_name
of Vserversvm_name
.-