Basic status information for compression and deduplication can be collected using the volume efficiency show command with no options. This command will show which volumes have
deduplication enabled, the current status, and the progress of compression/deduplication operations. The following is an example of the output from the basic volume efficiency show command.
Cluster1::> volume efficiency show
Vserver Volume State Status Progress vsone /vol/volArchive Enabled Idle Idle for 49:59:46 vsone /vol/volHomeC Enabled Idle Idle for 29:13:39
Note: The volume efficiency show command does not currently display information about status and progress for an Infinite Volume. To see the status or progress of individual data constituents, substitute the –volume option for the –is-constituent true option. Ex. volume efficiency show –vserver <vservername> -is-constituent true –fields progress.
Reporting More Details on the Most Recent Compression and Deduplication Operation
To gather more detailed information on the latest compression and deduplication that have been run, use the volume efficiency show for a particular volume. This level of detail is only displayed for FlexVol volumes or data constituents, not for the Infinite Volumes as a whole.
To view the same detailed information for Infinite Volume data constituents, you should use the volume efficiency command, substituting the –volume option with the options –is-constituent true and –instance.
Ex. volume efficiency show –vserver <vservername> –is-constituent true – instance.
Some of the most common questions that can be addressed with the volume efficiency show command include:
What command shows how long the last compression/deduplication operation ran?
What command shows how much data was fingerprinted in the change log during the last deduplication operation?
What command shows the compression/deduplication schedule?
The following is an example of the output from the volume efficiency show command run for a particular FlexVol volume, followed by definitions for each value. This information corresponds to the last deduplication operation.
87 NetApp Data Compression and Deduplication Deployment and Implementation Guide for Clustered Data ONTAP
Cluster1::> volume efficiency show -vserver vsone -volume volArchive
Vserver Name: vsone
Volume Name: volArchive
Volume Path: /vol/volArchive State: Enabled
Status: Idle
Progress: Idle for 00:00:26 Type: Regular
Schedule: sun-sat@0 Efficiency Policy Name: -
Minimum Blocks Shared: 1 Blocks Skipped Sharing: 0
Last Operation State: Success
Last Successful Operation Begin: Thu Jul 28 23:45:09 GMT 2011 Last Successful Operation End: Thu Jul 28 23:45:09 GMT 2011 Last Operation Begin: Thu Jul 28 23:45:09 GMT 2011 Last Operation End: Thu Jul 28 23:45:09 GMT 2011 Last Operation Size: 164 GB
Last Operation Error: - Change Log Usage: 0%
Logical Data Size: 167 GB Logical Data Limit: 50.00TB Logical Data Percent: 0%
Queued Jobs: - Stale Fingerprints: 0%
Compression: true Inline Compression: true Incompressible Data Detection: true
Constituent Volume: false
Compression Quick Check File Size: 524288000
Vserver Name: Name of the Vserver where the volume exists.
Volume Name: Name of the volume.
Volume Path: Absolute path of the volume.
State: Shows if deduplication is enabled or disabled for the volume.
88 NetApp Data Compression and Deduplication Deployment and Implementation Guide for Clustered Data ONTAP
Status: Shows the current state of postprocess compression/deduplication processes: Active, Idle, Initializing, Undoing.
Progress: If the volume’s postprocess compression/deduplication operation is in the idle, disabled, or pending state, this shows how long it has been in that state. If the volume’s postprocess
compression/deduplication operation is active, then it shows the progress of the current operation. As an example, if the operation is in the deduplication sorting phase, this value shows the number of records searched for sorting the fingerprints so far.
Type: Shows the type of the compressed/deduplicated volume, Regular or SnapVault.
Schedule: Shows the postprocess compression/deduplication schedule for the volume.
Efficiency Policy Name: Shows the postprocess compression/deduplication policy for the volume.
Minimum Blocks Shared: The minimum duplicate blocks needed to start sharing. By default the value is set to 1.
Blocks Skipped Sharing: The number of blocks that failed to share because the number failed to meet the minimum blocks shared criteria.
Last Operation State: The completion status of the last postprocess compression/deduplication operation.
Last Successful Operation Begin: The time when the last successful postprocess compression/deduplication process (operation) began.
Last Successful Operation End: The time when the last successful postprocess compression/deduplication process (operation) ended.
Last Operation Begin: The time when the last deduplication process (operation) began.
Last Operation End: The time when the last deduplication process (operation) ended.
Last Operation Size: The amount of new data that was processed during the last deduplication operation.
Last Operation Error: The error that occurred, if any, during the last deduplication process (operation).
Change Log Usage: The percentage of how full the change log is. If the change log becomes full, new fingerprints stop being created until the postprocess compression/deduplication operations are run.
Logical Data Size: This value represents the size of logical data in the volume.
Logical Data Limit: This value represents the maximum logical data supported on the system.
Logical Data Percent: This value represents the percentage of logical data in the volume.
Queued Jobs: This number represents the number of postprocess compression/deduplication jobs that are in queue waiting to start. The maximum number of concurrent postprocess compression/deduplication jobs allowed is 8. If there are more than 8 jobs, the subsequent jobs are placed in queue.
Stale Fingerprint Percentage: The percentage of stale records in the fingerprint database.
Compression: Shows if postprocess compression is enabled or disabled for the volume.
Inline Compression: Shows if inline compression is enabled or disabled for the volume.
Incompressible Data Detection: Current state of incompressible data detection (idd) on the volume {enabled or disabled}.
Constituent Volume: Shows if this is a constituent volume that is a part of an Infinite Volume.
Compression Quick Check File Size: Maximum file size (in bytes) to attempt Quick Check on a file. The default value is 500MB.
89 NetApp Data Compression and Deduplication Deployment and Implementation Guide for Clustered Data ONTAP