SnapMirror 关系修改失败,并出现错误:与此关系关联的策略没有计划
适用场景
- ONTAP 9.7 或更高版本
- SnapMirror
- 计划
- SnapMirror 策略
问题描述
尝试使用图形用户界面修改与新创建的策略的 SnapMirror 关系时失败,操作如下:
- 图形用户界面错误:
The policy associated with the relationship does not have a schedule. You can update this relationship only by choosing a policy without a schedule.

- CLI 上的错误:
Error: command failed: Schedule "<schedule_name>" cannot be associated with the relationship because the policy "<policy_name>" for the relationship has a schedule. Either choose a different policy for the relationship or remove the schedule from the policy.