跳转到主内容

无法使用volume效率停止命令停止数据缩减扫描程序

适用场景

  • ONTAP 9
  • 存储效率

问题描述

启动手动效率扫描后、即使 正在进行的效率操作已停止、数据缩减仍会继续运行:

cluster::*> volume efficiency start -vserver vserver1 -volume -compression true -compaction true -dedupe true -shared-blocks true -snapshot-blocks true -scan-old-data true

cluster::*> volume efficiency stop -vserver vserver1 -volume vol1
The efficiency operation for volume "vol1" of Vserver "vserver1" is being stopped.

cluster::*> volume efficiency show -progress !idle* -state enabled
There are no entries matching your query.

尝试在效率停止后立即重新启动将导致错误:

cluster::*> volume efficiency start -vserver vserver1 -volume vol1 -scan-old-data true -compression true -compaction true -dedupe true -shared-blocks true -snapshot-blocks true

Warning: This operation scans all of the data in volume "vol1" of Vserver "vserver1". It may take a significant time, and may degrade performance during that time.
Use of -shared-blocks|-a option can increase space usage as shared blocks will be compressed.
Use of -snapshot-blocks|-b option can increase space usage as data which is part of snapshot will be compressed.
Do you want to continue? {y|n}: y

Error: command failed: Failed to start efficiency on volume "vol1" of Vserver "vserver1": Volume compact scan is already in
progress.

 

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.