Dell PowerStore 3000X EMC PowerStore Service Scripts Guide - Page 50

Options, Use cases

Page 50 highlights

Options Use the --args argument to specify the following additional options: Use cases [-h | -help | --help | ] 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 --args="-cava [ -stats | -set accesstime={ now | none | [[[[yy]mm]dd]hh]mm[.ss] }] | -fsscan [ { -list | -create | -delete } ]]" -dbms -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 [ { -list | -create | delete } Start, stop, or view the status of a full file system scan, where: • 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 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. NOTE: If no file system is specified, this option displays the file system scan status for all file systems. Manage NAS server databases. Usage: svc_nas_tools --args="-dbms -list [] | -compact [] | -stats [-reset] | -backup -target | -restore -source [-silent]}" -list [] -compact [] -stats [-reset] Display NAS server databases. Compact NAS server databases. Display statistics about NAS server databases. 50 Service Commands

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74

Options
Use the
--args
argument to specify the following additional options:
Use cases
[-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.
NOTE:
If no file system is specified, this option displays the file system scan status for all file
systems.
-dbms
Manage NAS server databases.
Usage:
svc_nas_tools
<NAS_server_name>
--args="-dbms
-list [<db_name>]
| -compact [<db_name>]
| -stats [-reset]
| -backup -target <path_name>
| -restore -source <path_name> [-silent]}"
-list [<dbName>]
Display NAS server databases.
-compact
[<dbName>]
Compact NAS server databases.
-stats [-reset]
Display statistics about NAS server databases.
50
Service Commands