Skip to main content
NetApp Response to Russia-Ukraine Cyber Threat
In response to the recent rise in cyber threat due to the Russian-Ukraine crisis, NetApp is actively monitoring the global security intelligence and updating our cybersecurity measures. We follow U.S. Federal Government guidance and remain on high alert. Customers are encouraged to monitor the Cybersecurity and Infrastructure Security (CISA) website for new information as it develops and remain on high alert.
NetApp Knowledge Base

Compaction scanner cannot be stopped with "volume efficiency stop" command

Last Updated:

Applies to

  • ONTAP 9
  • Storage efficiency


After starting manual efficiency scan, compaction will continue to run even if the efficiency operation in progress is stopped:

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.

Trying to restart efficiency shortly after it has been stopped will result in an error:

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


Scan to view the article on your device

Registered NetApp customers get unlimited access to our dynamic Knowledge Base.

New authoritative content is published and updated each day by our team of experts.

Current Customer or Partner?

Sign In for unlimited access

New to NetApp?

Learn more about our award-winning Support