移动卷后、moved_paral_temp卷将保留、无法删除
适用场景
- ONTAP 9
- Cloud Volumes ONTAP (CVO)
- 卷移动操作
- FlexClone父卷
问题描述
- 执行卷移动操作后、存在一个名为
moved_parent_temp__xxxxx的脱机TMP卷、无法将其删除:
ontap913::*> volume move start -vserver test2 -volume voltest2 -destination-aggregate agg21 -cutover-action wait
Warning: You are about to move a volume that has clones. The system will leave a temporary copy on the source aggregate until you split or delete these clones. Do you want to
proceed? {y|n}: y
ontap913::> volume show Vserver Volume Aggregate State Type Size Available Used%-------- ------------ ------------ ---------- ---- ---------- ---------- -----test2 moved_parent_temp__1175__4364__voltest2
aggr22 offline TMP 200MB - -test2 voltest2 agg21 online RW 200MB 88.87MB 53%
test2 voltest2_clone
aggr22 online RW 200MB 189.7MB 0%- 已删除与父卷关联的FlexClone卷
ontap913::*> vol delete -vserver test2 -volume moved_parent_temp__1175__4364__voltest2 -force true
[Job 4442] Job is queued: Delete moved_parent_temp__1175__4364__voltest2.
Error: command failed: [Job 4442] Job failed: Failed to delete volume "moved_parent_temp__1175__4364__voltest2" in Vserver "test2"because it has one or more clones. Only the cluster administrator can delete the clones associated with this volume.