Table of ContentsView in Frames

Stopping SVMs

You can use the vserver stop command to stop a Storage Virtual Machine (SVM) when you want to troubleshoot or delete the SVM, or stop data access from the SVM.

Before you begin

All clients connected to the SVM must be disconnected.
Attention: If any clients are connected to the SVM when you stop it, data loss might occur.

About this task

You cannot stop an SVM during a storage failover (SFO) if the resources of that SVM are part of an HA pair.

When you stop the SVM, other operations such as SnapMirror data transfers continue to run as per the schedule.

The SVM administrator cannot log in to the SVM when the SVM is in the stopped state.

Steps

  1. Use the vserver stop command to stop the SVM.
    Example
    The following command stops the SVM vs0.example.com:
    cluster1::> vserver stop -vserver vs0.example.com
    [Job 41] Job succeeded: DONE
    
     
  2. If the SVM stop operation fails with an internal error message, perform the following steps:
    1. Use the vserver show command to verify the admin state of the SVM
    2. If the admin state of the SVM is in the stopping state, run the vserver stop command again.
    Example

    The following commands stop the SVM that failed to stop:

    cluster1::> vserver stop -vserver vs1.example.com
    [Job 45] Job is queued: Vserver Stop.    
    
    Error: command failed: [Job 45] Job failed: Internal Error
    
    
    cluster1::> vserver show
                                        Admin      Operational   Root
    Vserver          Type    Subtype    State      State         Volume     Aggregate
    -------          -----   -------    -------   --------     ----------- ---------- 
    cluster1         admin     -         -           -             -           -
    cluster1-01      node      -         -           -             -           -
    vs0.example.com  data    default    stopped   stopped       root_vs0      aggr1
    vs1.example.com  data    default    stopping  running       root_vs1      aggr1
    
    cluster1::> vserver stop -vserver vs1.example.com
    [Job 49] Job succeeded: DONE
    

Result

The SVM is in stopped state and stops serving data to clients.