Delete an encrypted volume in ONTAP
You can use the volume delete command to delete an encrypted volume.
-
You must be a cluster administrator to perform this task.
-
The volume must be offline.
-
Delete an encrypted volume:
volume delete -vserver SVM_name -volume volume_nameLearn more about
volume deletein the ONTAP command reference.The following command deletes an encrypted volume named
vol1:cluster1::> volume delete -vserver vs1 -volume vol1
Enter
yeswhen you are prompted to confirm deletion.The system deletes the encryption key for the volume after 24 hours.
Use
volume deletewith the-force trueoption to delete a volume and destroy the corresponding encryption key immediately. This command requires advanced privileges. Learn more aboutvolume deletein the ONTAP command reference.
You can use the volume recovery-queue command to recover a deleted volume during the retention period after issuing the volume delete command:
volume recovery-queue SVM_name -volume volume_name