Modifying the Vscan file-operations profile for a CIFS share

The Vscan file-operations profile for a CIFS share defines which operations on the share can trigger scanning. By default, the parameter is set to standard. You can adjust the parameter as necessary when you create or modify a CIFS share.

About this task

For more information on the available values for a Vscan file-operations profile, see "Vscan file-operations profile."

Vscan file-operations profile (on-access scanning only)

Note: Virus scanning is not performed on a CIFS share for which the continuously-available parameter is set to Yes.

Step

  1. Modify the value of the Vscan file-operations profile for a CIFS share: vserver cifs share modify -vserver data_SVM -share-name share -path share_path -vscan-fileop-profile no-scan|standard|strict|writes-only
    For a complete list of options, see the man page for the command.
    Example
    The following command changes the Vscan file operations profile for a CIFS share to strict:
    cluster1::> vserver cifs share modify -vserver vs1 -share-name SALES_SHARE -path /sales -vscan-fileop-profile strict