Skip to main content

Modify the Vscan file-operations profile for an SMB share

Contributors netapp-powr netapp-ahibbard netapp-aherbin

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

See the Antivirus architecture section for details about the Vscan file-operations profile.

Note

Virus scanning is not performed on an SMB share that has the continuously-available parameter set to Yes.

Step
  1. Modify the value of the Vscan file-operations profile for an SMB 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.

    The following command changes the Vscan file operations profile for an SMB share to strict:

    cluster1::> vserver cifs share modify -vserver vs1 -share-name SALES_SHARE -path /sales -vscan-fileop-profile strict