Enable virus scanning on an SVM

Contributors

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.

    The following command enables virus scanning on the vs1SVM:

    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.

    The following command displays the Vscan status of the vs1SVM:

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