Is it safe to use the -force-disable-encrypt-with-aggr-key when disabling NAE
Applies to
- ONTAP 9
- NetApp Aggregate Encryption (NAE)
- MetroCluster (MCC)
Answer
This parameter allows disabling NetApp Aggregate Encryption (NAE) on an aggregate if the user is certain there is no aggregate snapshot for that aggregate containing NAE volumes. If the parameter is set to true, aggregate snapshot check is skipped and NAE is disabled.
In MCC there will be always just one single aggregate snapshot, it’s deleted every 5min by default (aggregate option "resyncsnaptime" can be checked to confirm the time parameter) and a new one is created.
When we convert an aggregate from NAE to NVE we must be sure that no aggregate snapshot contains blocks from any NAE volume anymore. So after the conversion of the last volume is completed, we can be sure that ~5min later when the aggregate snapshot is renewed, the Syncmirror aggregate Snapshot does not contain NAE volume blocks anymore.
We can then safely use -force-disable-encrypt-with-aggr-key true
option when removing NAE from the Aggregate:
::> storage aggregate modify -aggregate aggregate_name -node node_name -force-disable-encrypt-with-aggr-key true