Reference Guide

hostbyname
<hostname> | -
netgroup
<groupname>}
-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
<group_name> |
-gid
<group_unix_id>}
| -host {-name
<host_name> | -
addr
<host_ip_addres
s>} | -netgroup
{-name
<group_name> |
-member
<host_name>}}
Provides lookup information about the specified resource for troubleshooting
purposes.
-param
Display or modify NAS server parameter facilities.
54
Service Commands