자동 스냅샷 비활성화 - FSx for ONTAP

기계 번역으로 제공되는 번역입니다. 제공된 번역과 원본 영어의 내용이 상충하는 경우에는 영어 버전이 우선합니다.

자동 스냅샷 비활성화

자동 스냅샷은 ONTAP 파일 시스템용 FSx의 볼륨에 대한 기본 스냅샷 정책에 의해 활성화됩니다. 데이터 스냅샷이 필요하지 않은 경우 (예: 테스트 데이터를 사용하는 경우), 다음 절차에 설명된 대로, API AWS CLI 및 none ONTAP CLI를 사용하도록 볼륨의 스냅샷 정책을 설정하여 스냅샷을 비활성화할 수 있습니다. AWS Management Console

  1. https://console.aws.amazon.com/fsx/에서 Amazon FSx 콘솔을 엽니다.

  2. 파일 시스템으로 이동하여 볼륨을 업데이트할 ONTAP 파일 시스템을 선택합니다.

  3. 볼륨 탭을 선택합니다.

  4. 업데이트할 볼륨을 선택합니다.

  5. 작업에서 볼륨 업데이트를 선택합니다.

    볼륨 업데이트 대화 상자가 볼륨의 현재 설정과 함께 표시됩니다.

  6. 스냅샷 정책의 경우 없음을 선택합니다.

  7. 업데이트를 선택하여 볼륨을 업데이트합니다.

  • update-volume AWS CLI 명령 (또는 UpdateVolume이에 상응하는 API 명령) 을 사용하여 다음 SnapshotPolicy none 예와 같이 로 설정합니다.

    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기본 정책을 사용하여 자동 스냅샷을 끄도록 볼륨의 스냅샷 정책을 설정합니다.

  1. volume snapshot policy showONTAPCLI 명령을 사용하여 정책을 표시합니다. 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 ---------------------- ----- ---------------------- ------------------- - - - -
  2. volume modifyONTAPCLi 명령을 사용하여 자동 스냅샷을 none 비활성화하도록 볼륨의 스냅샷 정책을 설정합니다. 다음 자리 표시자 값을 데이터로 바꾸십시오.

    • svm_name— SVM 이름을 사용하세요.

    • vol_name— 볼륨 이름을 사용하세요.

    계속할지 묻는 메시지가 표시되면 y를 입력합니다.

    ::> volume modify -vserver svm_name -volume vol_name -snapshot-policy none Warning: 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 volume vol_name of Vserver svm_name.