SVM DR snapshots are not automatically rotating on the source volume
Applies to
- ONTAP 9.10.1+
- SVM DR
- Autonomous Ransomware Protection (ARP)
Issue
- The number of snapshots on the source volume reaches the maximum.
- Error when manually deleting old SVM-DR snapshots:
Cluster1::> set advanced
Cluster1::*> volume snapshot delete -vserver svm1 -volume vol1 -snapshot vserverdr.0.1234567-1234-1234-1234-1234567898.2022-11-15_111704 -force true -ignore-owners true
Error: command failed: Failed to delete snapshot "vserverdr.0.1234567-1234-1234-1234-1234567898.2022-11-15_111704" of volume "vol1" on Vserver "svm1". Reason: Snapshot copy has not expired or is locked. Use the "snapshot show -fields owners,expiry-time" command to view the expiry and lock status of the Snapshot copy.
- Other possible reason for the error:
Reason: Snapshot copy is locked by anti-ransomware to preserve it