Enable virus scanning on an SVM
You must enable virus scanning on an SVM before an on-access or on-demand scan can run.
Steps
-
Enable virus scanning on an SVM:
vserver vscan enable -vserver data_SVM
Learn more about
vserver vscan enable
in the ONTAP command reference.You can use the
vserver vscan disable
command to disable virus scanning, if necessary. Learn more aboutvserver vscan disable
in the ONTAP command reference.The following command enables virus scanning on the
vs1
SVM:cluster1::> vserver vscan enable -vserver vs1
-
Verify that virus scanning is enabled on the SVM:
vserver vscan show -vserver data_SVM
Learn more about
vserver vscan show
in the ONTAP command reference.The following command displays the Vscan status of the
vs1
SVM:cluster1::> vserver vscan show -vserver vs1 Vserver: vs1 Vscan Status: on