ONTAP 9 Manuals ( CA08871-402 )

Scrub data on an encrypted volume with a Synchronous SnapMirror relationship

Beginning with ONTAP 9.8, you can use a secure purge to non-disruptively "scrub" data on VE-enabled volumes with a Synchronous SnapMirror relationship.

About this task

A secure purge might take from several minutes to many hours to complete, depending on the amount of data in the deleted files. You can use the volume encryption secure-purge show command to view the status of the operation. You can use the volume encryption secure-purge abort command to terminate the operation.

In order to do a secure purge on a SAN host, you must delete the entire LUN containing the files you want to purge, or you must be able to punch holes in the LUN for the blocks that belong to the files you want purge. If you cannot delete the LUN or your host operating system does not support punching holes in the LUN, you cannot perform a secure purge.
Before you begin
  • You must be a cluster administrator to perform this task.

  • Advanced privileges are required for this task.

Steps
  1. On the storage system, change to advanced privilege level:

    set -privilege advanced

  2. Delete the files or the LUN you want to securely purge.

    • On a NAS client, delete the files you want to securely purge.

    • On a SAN host, delete the LUN you want to securely purge or punch holes in the LUN for the blocks that belong to the files you want to purge.

  3. Prepare the destination volume in the Asynchronous relationship to be securely purged:

    volume encryption secure-purge start -vserver SVM_name -volume volume_name -prepare true

    Repeat this step for the other volume in your Synchronous SnapMirror relationship.

  4. If the files you want to securely purge are in Snapshot copies, delete the Snapshot copies:

    snapshot delete -vserver SVM_name -volume volume_name -snapshot snapshot

  5. If the secure purge file is in the base or common Snapshot copies, update the SnapMirror to move the common Snapshot copy forward:

    snapmirror update -source-snapshot snapshot_name -destination-path destination_path

    There are two common Snapshot copies, so this command must be issued twice.

  6. If the secure purge file is in the application-consistent Snapshot copy, delete the Snapshot copy on both volumes in the Synchronous SnapMirror relationship:

    snapshot delete -vserver SVM_name -volume volume_name -snapshot snapshot

    Perform this step on both volumes.

  7. Securely purge the deleted files:

    volume encryption secure-purge start -vserver SVM_name -volume volume_name

    Repeat this step on each volume in the synchronous SnapMirror relationship.

    The following command securely purges the deleted files on “vol1” on SMV “vs1”.

    cluster1::> volume encryption secure-purge start -vserver vs1 -volume vol1
  8. Verify the status of the secure purge operation:

    volume encryption secure-purge show

Top of Page