Enabling virus scanning on an SVM

You must enable virus scanning on an SVM before an on-access or on-demand scan can run. The Vscan configuration must exist.

Steps

  1. Enable virus scanning on an SVM: vserver vscan enable -vserver data_SVM
    Note: You can use the vserver vscan disable command to disable virus scanning if necessary.
    Example
    The following command enables virus scanning on the vs1 SVM:
    cluster1::> vserver vscan enable -vserver vs1
  2. Verify that virus scanning is enabled on the SVM: vserver vscan show -vserver data_SVM
    For a complete list of options, see the man page for the command.
    Example

    The following command displays the Vscan status of the vs1 SVM:

    cluster1::> vserver vscan show -vserver vs1
    
                               Vserver: vs1
                          Vscan Status: on