Skip to main content

Deleting an encrypted volume

You can use the volume delete command to delete an encrypted volume.

Before you begin

Delete an encrypted volume: volume delete -vserver SVM_name -volume volume_name

For complete command syntax, see the man page for the command.

Example

The following command deletes an encrypted volume named vol1 :

cluster1::> volume delete -vserver vs1 -volume vol1

Enter yes when you are prompted to confirm deletion.
The system deletes the encryption key for the volume after 24 hours.

Use volume delete with the -force true option to delete a volume and destroy the corresponding encryption key immediately. For more information, see the man page.

After you finish

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