Enabling data compression on a volume
You can enable data compression on a volume to achieve space savings by using the volume efficiency modify command. You can enable data compression on a FlexVol volume to achieve space savings by using the volume efficiency modify command. You can also assign a compression type to your volume, if you do not want the default compression type.
Before you begin
You must have enabled deduplication on the volume.Deduplication only needs to be enabled and does not need to be running on the volume.
The compression scanner must be used to compress the existing data on the volumes present in AFA platforms.
About this task
In HDD aggregates and Flash Pool aggregates, you can enable both inline and postprocess compression or only postprocess compression on a volume.
If you are enabling both, then you must enable postprocess compression on the volume before enabling inline compression.
In AFA platforms, only inline compression is supported.
Before enabling inline compression, you must enable postprocess compression on the volume. However, because postprocess compression is not supported in AFA platforms, no postprocess compression takes place on those volumes and an EMS message is generated informing you that postprocess compression was skipped.
Temperature sensitive storage efficiency is introduced in ONTAP 9.8. With this feature, storage efficiency is applied according to whether data is hot or cold. For cold data, larger data blocks are compressed, and for hot data, which is overwritten more often, smaller data blocks are compressed, making the process more efficient. Temperature sensitive storage efficiency is enabled automatically on newly created thin-provisioned AFA volumes.
The compression type is automatically assigned based on the aggregate's platform:
Platform/aggregates Compression type AFA Adaptive compression
Flash Pool aggregates Adaptive compression
HDD aggregates Secondary compression