Snapmirror Policy edit fails with "entry doesn t exist"
Applies to
- ONTAP 9.x
- SnapMirror
Issue
SnapMirror show
shows the policy with data vserver works:
cluster2::> snapmirror policy show -vserver svm1_cluster2 -policy Pol1
Vserver: svm1_cluster2
SnapMirror Policy Name: Pol1
Comment: Manual
Total Number of Rules: 2
Total Keep: 2
Rules:
SnapMirror Label Keep Preserve Warn Schedule Prefix
----------------------------- ---- -------- ---- -------- ----------
sm_created 1 false 0 - -
rule_775 1 false 0 - -
- SnapMirror Policy edit Command fails when using the same data vserver fails
cluster2::> snapmirror policy modify-rule -vserver svm1_cluster2 -policy Pol1 -snapmirror-label rule_775 -keep 2
Error: command failed: Failed to modify rule "rule_775" in policy "Pol1".
Reason: entry doesn't exist.