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

<hostname&gt, <groupname>}

Page 52 highlights

-lockd -nis | -lookup { -user | -group | -uid | -gid | -hostbyname | -netgroup }" -refresh -lookup {-user | group | uid | -gid | hostbyname | netgroup } If LDAP is configured with no static IP, refresh the IPs of the LDAP servers of the domain from DNS. Provides lookup information about the specified resource for troubleshooting purposes. Manage file locks on the NAS servers. Usage: svc_nas_tools --args="-lockd | -list | -info -fldp | -remove -fldp -credp | -stat [-reset]" -list 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= token for use with the -info option. -info -fldp Show detailed information about the specific file; For each file lock, this command also displays the credp= token. You can use this token with the -remove option. -remove -fldp -credp 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. Display current NIS settings of the NAS server. Usage: svc_nas_tools --args="-nis [-lookup{ -user {-name | -uid } | -group {-name | -gid } | -host {-name | -addr } | -netgroup {-name | -member }]" -lookup {-user {name | uid } | -group {-name Provides lookup information about the specified resource for troubleshooting purposes. 52 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

| -lookup {
-user <username>
| -group <groupname>
| -uid <uid>
| -gid <gid>
| -hostbyname <hostname>
| -netgroup <groupname>}"
-refresh
If LDAP is configured with no static IP, refresh the IPs of the LDAP servers of the
domain from DNS.
-lookup {-user
<username> | -
group
<groupname> | -
uid <uid> | -gid
<gid> | -
hostbyname
<hostname> | -
netgroup
<groupname>}
Provides lookup information about the specified resource for troubleshooting purposes.
-lockd
Manage file locks on the NAS servers.
Usage:
svc_nas_tools
<NAS_server_name>
--args="-lockd
| -list
| -info -fldp <address>
| -remove -fldp <address> -credp <address>
| -stat [-reset]"
-list
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.
-nis
Display current NIS settings of the NAS server.
Usage:
svc_nas_tools
<NAS_server_name>
--args="-nis
[-lookup{
-user {-name <user_name> | -uid <unix_user_id>}
| -group {-name <group_name> | -gid <group_unix_id>}
| -host {-name <host_name> | -addr <host_ip_address>}
| -netgroup {-name <group_name> | -member <host_name>}]"
-lookup {-user {-
name
<user_name> | -
uid
<unix_user_id>} |
-group {-name
Provides lookup information about the specified resource for troubleshooting purposes.
52
Service Commands