Reference Guide

Table Of Contents
Format
svc_nas_tools [-h] [--server SERVERNAME] [--args NAS_CMD_ARGS]
svc_nas_global_tools [-h] [--args NAS_CMD_ARGS]
Optional arguments
Qualifier Description
-h, --help Show the help message and exit.
--args NAS_CMD_ARGS
Service command arguments.
NOTE: A double hyphen must precede the arguments. For example: svc_nas_tools --
args="<value>"
The arguments -dbms, -kerberos, -restart and -vhdx do not apply to
svc_nas_global_tools.
Options
Use the --args argument to specify the following additional options:
[-h | -help | --help | <no option>]
Display help and exit. Use this option with svc_nas_tools to view the top-level options for a
command. To view the options and parameters for a top-level option, use the -help option after the
top-level option. For example, the output of svc_nas_tools --server nas 1 -args="-stats
-help" provides detailed information about the -setspn option.
-cava
Display the status of antivirus service of the NAS server, including the connection state to Celerra
AntiVirus Agent (CAVA) servers, the number of files checked and their progress.
Usage:
svc_nas_tools <NAS_server_name> --args="-cava
[ -stats
| -set accesstime={ now | none | [[[[yy]mm]dd]hh]mm[.ss] }]
| -fsscan [ <fs_mountpath> { -list | -create | -delete } ]]"
-stats
Display statistics counters of the antivirus service.
-set accesstime={ now | none | [[[[yy]mm]dd]hh]mm[.ss] }]
Enable scan-on-first-read and change the access time setting, where:
Specify now to Enable the scan-on-first-read feature and set the reference time to now.
Specify none to disable the scan-on-first-read feature.
Specify [[[[yy]mm]dd]hh]mm[.ss] to enable the scan-on-first-read feature and set the
reference time according the specified value.
-fsscan [ <fs_mountpath> { -list | -create | -delete }
Start, stop, or view the status of a full file system scan, where:
<fs_mountpath> option enables you to specify the location of the file system to be scanned.
The -list option displays the scan status for the specified file system.
The -create option initializes a full scan on the file system <fs_name> and the offline
options allow the file system scan on all offline files. By default, offline file systems are not
included.
The -delete option stops the scan.
64
Service Commands