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

Optional arguments, Positional arguments, Options

Page 42 highlights

Optional arguments Qualifier -h, --help Description Show the help message and exit. Positional arguments Qualifier Description --server Specify the name of the NAS server you want to run the specific action on. Alternatively, use the ALL argument to run the action on all NAS servers. Options Use the --args argument to specify the following additional options: [-h | -help | --help | ] Display help and exit. Use this option with svc_nas_cifssupport to view the top-level options for the 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_cifssupport --server nas 1 -args="-setspn help" provides detailed usage information about the -setspn option. -accessright Compute the effective access rights for a user on a file system resource. Usage: svc_nas_cifssupport --server SERVERNAME | ALL -args="-accessright {-user [-domain ] | -sid } {{-path [-stop_on_symlink]} | -share }" -user Specify the user name and domain or the SID of the user. [- domain ] | -sid {-path [stop_on_symlink] } | -share Specify the file system resource. -acl Dump or display the Access Control List (ACL) for the specified file system resource. Usage: svc_nas_cifssupport --server SERVERNAME | ALL -args="-acl {{-path [-stop_on_symlink]} |-share } [-verbose] [-aclext] |-fs {-printstats | -resetall {[-path ] | [-owner] | [-group] | [-dacl] | [-sacl]}}" 42 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

Optional arguments
Qualifier
Description
-h
,
--help
Show the help message and exit.
Positional arguments
Qualifier
Description
--server
Specify the name of the NAS server you want to run the specific action on. Alternatively, use the
ALL
argument to run the
action on all NAS servers.
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_cifssupport
to view the top-level options for the
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_cifssupport --server nas 1 -args="-setspn -
help"
provides detailed usage information about the
-setspn
option.
-accessright
Compute the effective access rights for a user on a file system resource.
Usage:
svc_nas_cifssupport --server
SERVERNAME
| ALL -args="-accessright
{-user
<user_name> [-domain <domain_name>] | -sid <SID>}
{{-path <path_name> [-stop_on_symlink]} | -share <share_name>}"
-user
<user_name> [-
domain
<domain_name>] |
-sid <SID>
Specify the user name and domain or the SID of the user.
{-path
<path_name> [-
stop_on_symlink]
} | -share
<share_name>
Specify the file system resource.
-acl
Dump or display the Access Control List (ACL) for the specified file system resource.
Usage:
svc_nas_cifssupport --server
SERVERNAME
| ALL -args="-acl
{{-path <pathname>
[-stop_on_symlink]}
|-share <sharename>}
[-verbose]
[-aclext]
|-fs <filesystem_name>
{-printstats
| -resetall
{[-path <path>]
| [-owner]
| [-group]
| [-dacl]
| [-sacl]}}"
42
Service Commands