Is it possible to exclude read operations from Vscan?
Applies to
- ONTAP 9
- CIFS
- Vscan
Answer
- Operations triggering a request can be controlled on CIFS share level with the Vscan File-Operations Profile
- The default Vscan File-operation Profile is
standard
and Virus scans can be triggered byopen
,close
, andrename
operations.
Example
::> vserver cifs share modify -vserver svm1 -share-name share1 -vscan-fileop-profile standard
[-vscan-fileop-profile {no-scan|standard|strict|writes-only}] - Vscan File-Operations Profile
This optional parameter controls which operations trigger virus scans. The value can be one of the following:
o no-scan: Virus scans are never triggered for this share.
o standard: Virus scans can be triggered by open, close, and rename operations. This is the default profile.
o strict: Virus scans can be triggered by open, read, close, and rename operations.
o writes-only: Virus scans can be triggered only when a file that has been modified is closed.
Additional Information
additionalInformation_text