由于 FlexCache 错误,无法删除卷
适用场景
- ONTAP 9.3 或更高版本
问题描述
由于错误指出卷为 FlexCache 卷,无法删除卷。
cluster::*> volume delete -vserver vserver1 -volume vl1
Error: command failed:Volume "vol1" in Vserver"vserver1" is an origin of a FlexCachevolume. To delete an origin of a FlexCache volume, you must first delete the FlexCache volumes that are in relationship with the origin. Use the "volume flexcache origin show-caches-origin-vserver vserver1 -origin-volume vol1" command to show the FlexCache volumes associated with the origin.
但是,当您尝试将其作为 FlexCache vol 删除时:
cluster::*> vol flexcache delete -vserver vserver1 -volume vol1
Error: command failed: Cannot delete volume"vol1" in Vserver"vserver1" because it is not a FlexCache volume. Use the "volume delete -vservervserver1 -volumevol1" command to delete the volume.
在查看源时:
cluster::*> volume flexcache origin show-caches -origin-vserver vserver1 -origin-volume vol1
There are no entries matching your query.