Enabling NAE fails because of non-encrypted volumes in the aggregate
Applies to
- ONTAP 9.6 and later
- NetApp Aggregate Encryption (NAE)
- NetApp Volume Encryption (NVE)
Issue
Enabling NAE on an aggregate fails with the below error:
::> aggr modify -encrypt-with-aggr-key true -aggregate aggr1
Error: command failed: Failed to modify the aggregate aggr1 because it contains non-encrypted volumes. Run the volume show -encrypt false command to get the list of non-encrypted volumes.
Convert all of them to NVE (NetApp Volume Encryption) volumes and try again later.