Advanced NAS settings (svc_nas_tools and svc_nas_global_tools)
These service scripts enable you to view and customize the parameters of various NAS server components. The default values of the NAS server parameters satisfy most use cases, but this script enables you to adjust the parameters based on your business need.
Although both
svc_nas_tools and
svc_nas_global_tools scripts use the same arguments and options, their application is different:
Use the
svc_nas_tools script to review and customize parameters for a specific NAS server.
Use the
svc_nas_global_tools script to review and customize parameters for all NAS servers in the cluster.
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.
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.
Display the locked files on the NAS server with their count of locks; The files are ordered per file-system. Each file is identified by its inode number, and also by a
fldp=<address> token for use with the
-info option.
-info -fldp <address>
Show detailed information about the specific file; For each file lock, this command also displays the
credp=<address> token. You can use this token with the
-remove option.
-remove -fldp <address> -credp <address>
On the file identified by the
fldp value, use this command to remove any range lock that matches the given lock credential.
-stat [-reset]
Show (and optionally reset) the statistics about file locks. The statistics counters are global to the SDNAS feature, and may be related to other NAS servers in the same node.