기계 번역으로 제공되는 번역입니다. 제공된 번역과 원본 영어의 내용이 상충하는 경우에는 영어 버전이 우선합니다.
자동 스냅샷 비활성화
자동 스냅샷은 FSx for ONTAP 파일 시스템의 볼륨에 대한 기본 스냅샷 정책에 의해 활성화됩니다. 데이터의 스냅샷이 필요하지 않은 경우(예: 테스트 데이터를 사용하는 경우) 다음 절차에 설명된 대로 볼륨의 스냅샷 정책을 및 API와 CLI를 사용하여 로 설정하여 스냅샷을 비활성화할 수 있습니다. none
AWS Management Console AWS CLI ONTAP
https://console.aws.amazon.com/fsx/
에서 Amazon FSx 콘솔을 엽니다. -
파일 시스템으로 이동하여 볼륨을 업데이트할 ONTAP 파일 시스템을 선택합니다.
-
볼륨 탭을 선택합니다.
-
업데이트할 볼륨을 선택합니다.
-
작업에서 볼륨 업데이트를 선택합니다.
볼륨 업데이트 대화 상자가 볼륨의 현재 설정과 함께 표시됩니다.
-
스냅샷 정책의 경우 없음을 선택합니다.
-
업데이트를 선택하여 볼륨을 업데이트합니다.
-
다음 예제와
none
같이 update-volume AWS CLI 명령(또는 동등한 UpdateVolume API 명령)을 사용하여를SnapshotPolicy
로 설정합니다.aws fsx update-volume \ --volume-id fsvol-1234567890abcdefa \ --name new_vol \ --ontap-configuration CopyTagsToBackups=true,JunctionPath=/new_vol, \ SizeInMegabytes=2048,SnapshotPolicy=none, \ StorageEfficiencyEnabled=true, \ TieringPolicy=all
볼륨의 스냅샷 정책을 설정하여 none
기본 정책을 사용하여 자동 스냅샷을 끕니다.
volume snapshot policy show
ONTAP CLI 명령을 사용하여 none
정책을 표시합니다.::>
snapshot policy show -policy none
Vserver: FsxIdabcdef01234567892 Number of Is Policy Name Schedules Enabled Comment ------------------------ --------- ------- ---------------------------------- none 0 false Policy for no automatic snapshots. Schedule Count Prefix SnapMirror Label ---------------------- ----- ---------------------- ------------------- - - - -
-
volume modify
ONTAP ClI 명령을 사용하여 볼륨의 스냅샷 정책을 none
로 설정하여 자동 스냅샷을 비활성화합니다. 다음 자리 표시자 값을 데이터로 바꿉니다.-
- SVM 이름을 사용합니다.svm_name
- 볼륨 이름을 사용합니다.vol_name
계속할지 묻는 메시지가 표시되면
y
를 입력합니다.::>
volume modify -vserver
svm_name
-volumevol_name
-snapshot-policy noneWarning: You are changing the Snapshot policy on volume "
vol_name
" to "none". Snapshot copies on this volume that do not match any of the prefixes of the new Snapshot policy will not be deleted. However, when the new Snapshot policy takes effect, depending on the new retention count, any existing Snapshot copies that continue to use the same prefixes might be deleted. See the 'volume modify' man page for more information. Do you want to continue? {y|n}: y Volume modify successful on volumevol_name
of Vserversvm_name
. -