跳转到主内容

无法删除FlexCache 卷

i
Knowledge Base guidance

This article may include metadata, visibility, validation state, and related support guidance.

适用场景

  • ONTAP 9
  • FlexCache

问题描述

  • 尝试删除先前配置的FlexCache 卷失败:

Cluster_CLI::> vol delete -vserver vserver_1 -volume fc_vol_1

Error: command failed: Volume "fc_vol_1" in Vserver "vserver_1" is an origin of a FlexCache volume. To delete an origin of a FlexCache volume, you must first delete the FlexCache volumes that are in a relationship with the origin. Use the "volume flexcache origin show-caches -origin-vserver vserver_1 -origin-volume fc_vol_1" command to show the FlexCache volumes associated with the origin.

  • 尝试按照指示步骤删除指定的FlexCache 关系失败:

Cluster_CLI::> vol flexcache origin show-caches -origin-vserver vserver_1 -origin-volume fc_vol_1

Origin-Vserver Origin-Volume  Cache-Vserver  Cache-Volume  Cache-Cluster
-------------- -------------- -------------- ------------- --------------
vserver_1      fc_vol_1       vserver_cache  volume_cache  cluster_1

Cluster_CLI::> volume offline -vserver vserver_1 -volume volume_1
Cluster_CLI::> volume flexcache delete -vserver vserver_1 -volume volume_1

  • 此操作似乎已完成、但如图所示、重试volume delete命令会导致:

Cluster_CLI::*> volume flexcache delete -volume fc_vol _1 -vserver vserver_1
  Error: There are no entries matching your query.