在ONTAP 9.8或更高版本中、卷级别不会通过数据压缩节省空间(报告0)
适用场景
- ONTAP 9.8 或更高版本
- 温度敏感型存储效率( TSSE )
问题描述
0B
在ONTAP 9.8中、启用了自动自适应实时压缩的所有卷都会显示数据压缩:
::*> aggr show-efficiency -aggregate !*root,!*snaplock -fields volume-compression-saved
aggregate volume-compression-saved
---------------------- ------------------------
aggr1 0B
aggr2 0B
- 卷会显示重复数据删除节省的空间,但数据压缩不会节省空间:
::*> volume show -volume vol* -fields dedupe-space-saved,dedupe-space-saved-percent,compression-space-saved,compression-space-saved-percent vserver volume dedupe-space-saved dedupe-space-saved-percent compression-space-saved compression-space-saved-percent -------- -------------------- ------------------ -------------------------- ----------------------- ------------------------------- svm1 vol3 111.6GB 7% 0B 0% svm1 vol4 184.2GB 10% 0B 0%
- 尝试手动运行数据压缩失败,并显示错误:
::*> volume efficiency start -vserver svm1 -volume vol1 -dedupe true -compression true -compaction true -scan-old-data true Warning: This operation scans all of the data in volume "vol1" of Vserver "svm1". It might take a significant time, and degrade performance during that time. Do you want to continue? {y|n}: y Error: command failed: Failed to start efficiency on volume "vol1" of Vserver "svm1": "-compression" option is not supported on auto-adaptive compression enabled volumes.