Manual Pages


Table of Contents

NAME

na_nfs - Manages Network File System service.

SYNOPSIS

nfs [ help | on | off | setup | stat | status | vstorage nsdb ]

DESCRIPTION

The nfs command is used to manage the Network File System service. It can be used to turn the NFS service on or off, do Kerberos setup, manage the NSDB cache or check nfs status. With no arguments, nfs shows the current state of the NFS service. This behavior is now deprecated and may be removed in a future release.

nfs help [subcommand] displays the available subcommands with no further arguments. Otherwise it displays a short help message for the subcommand.

nfs off turns off the NFS subsystem.

nfs on turns on the NFS subsystem if it is licensed.

nfs setup enters a setup dialog that is used to set system parameters needed for Kerberos V5 support in NFS.

nfs stat [options] is an alias for nfsstat, please consult the man page for nfsstat for usage.

nfs status displays the current state of the NFS service.

nfs vstorage stats nfs vstorage stats displays statistical information about vstorage.

nfs nsdb: is used to manage the name server database cache (NSDB).

USAGE

The following commands are supported with nfs nsdb

         flush

nfs nsdb flush
-h
| -a
| -U username1[,username2, ...]
| -u uid1[,uid2, ...]
| -G groupname1[,groupname2, ...]
| -g gid1[,gid2, ...]

The flush command can be used to flush the specified entries in the NSDB cache.

-h

This option is used to display the help message for this command.

-a

This option is used to flush all of the entries in the NSDB cache.

-U username1[,username2, ...]

This option is used to flush NSDB cache entries as specified by the user names in the argument. This option takes a comma separated list of user names as the argument.

-u uid1[,uid2, ...]

This option is used to flush NSDB cache entries as specified by the user ids in the argument. This option takes a comma separated list of user ids as the argument.

-G groupname1[,groupname2, ...]

This option is used to flush NSDB cache entries as specified by the group names in the argument. This option takes a comma separated list of group names as the argument.

-g gid1[,gid2, ...]

This option is used to flush NSDB cache entries as specified by the group ids in the argument. This option takes a comma separated list of group ids as the argument.

FILES

nfs used to be in the initialization command script, /etc/rc, but it is now automatically invoked when NFS is licensed and when the node is started.

VFILER CONSIDERATIONS

When run from a vfiler context, (for example via the vfiler run command), nfs operates on the concerned vfiler. If a /etc/exports file exists for a vfiler, the command nfs on is automatically run when the vfiler is started (at boot time or at takeover time).

SEE ALSO

na_nfsstat(1), na_vfiler(1)


Table of Contents