Error when enabling secondary compression on Flexvol Volume
Applies to
ONTAP 9
Issue
An error is received when trying to enable secondary compression on Flexvol Volume:
::>volume efficiency modify -vserver vs1 -volume vol1 -compression true -compression-type secondary
"Error: command failed: Failed to modify efficiency configuration for volume "vol1" of Vserver "vs1": Failed to set compression type and application I/O size on the volume. Switching between compression type or application I/O size is allowed only after undoing the compression savings on the volume."