Table of ContentsView in Frames

Deleting SVMs

You can delete Storage Virtual Machines (SVMs) that are no longer needed from the cluster by using the vserver delete command.

Before you begin

  1. You must have deleted the SVM peer relationship associated with the SVM.
  2. You must have disabled Snapshot copies, and DP and LS mirrors for all volumes.
  3. If you are using LUNs, you must have unmapped the LUNs, taken them offline, and deleted them.
  4. You must have deleted all the igroups that belong to the SVM manually.
  5. You must have unmounted all volumes on the SVM, taken them offline, and deleted them including the root volume of the SVM.
  6. You must have deleted CIFS server.
  7. You must have deleted any customized user accounts and roles associated with the SVM.
  8. You must have stopped the SVM.

About this task

When you delete an SVM, the following objects associated with the SVM are also deleted automatically:

You cannot recover any SVM related information after deleting an SVM.

If you delete an SVM that is configured to use Kerberos, or modify an SVM to use a different service principal name (SPN), SVM's original service principal name is not automatically deleted or disabled from Kerberos realm. You must manually delete or disable the principal. You must have the Kerberos realm administrator's user name and password to delete or disable the principal.

If you need to move data from a first SVM to a second SVM before you delete the first SVM, you can use SnapMirror commands. For more information about SnapMirror, see the Clustered Data ONTAP Data Protection Guide.

Step

  1. Use the vserver delete command to delete an SVM.
    Example
    The following example shows how to delete the SVM named vs1.example.com:
    cluster1::> vserver delete -vserver vs1.example.com
    For more information about this command, see the man pages.
    Note: SVM delete operation might fail due to any intermediate operation failures. As a result, the SVM will be in deleting state. It is best to delete such SVMs because you cannot perform other SVM operations on that SVM. For example, you cannot create an SVM peering relationship with SVMs in deleting state.