nfsconfig(8X) — Maintenance
NAME
nfsconfig − Used to configure a system as an NFS server or an NFS client
SYNOPSIS
/usr/sbin/nfsconfig [−ui cli [clioptions]|gui [x resources]|menu]
OPTIONS
−uiSpecifies the user interface to be invoked. The choices are:
cliSpecifies command line interface, if this is available on your system
guiSpecifies graphical user interface
menu
Specifies menu interface, if this is available on your system
[clioptions]
Specific command line options that will be used to interact with netconfig. The syntax is as follows:
−Help
Provides a brief help message, listing all the configurable components along with the actions that can be performed on those components. Configurable components are indicated in Help output by a “-” prefix.
−<component>Help
Provides a detailed help message on how to configure the specified configurable component. Each action will be listed on a separate line with the attributes that can be used for the action. The configurable components are:
client
Specifies that your system will be configured as an NFS client. The possible options that can be set for −client are as follows:
nfsiod
Specifies the number of nfsiod daemons to be run.
locking
Represents the locking daemons (rpc.lockd, rpc.statd). Set the value equal to Yes to enable the daemons or No to disable the daemons.
automount
Represents the automountd daemon. Set the value equal to Yes to enable the daemon or No to disable the daemon.
amargs
Represents automount arguments. If automount is set to Yes, then set these arguments. For more information, see the automountd(8) reference page.
server
Specifies that your system will be configured as an NFS server. The possible options which can be set for −server are as follows:
tcpd
Specifies the number of tcpd daemons to be run.
udpd
Specifies the number of udpd daemons to be run.
locking
Represents the locking daemons (rpc.lockd, rpc.statd). Set the value equal to Yes to enable the daemons or No to disable the daemons.
pcnfsd
Represents the PC NFSD daemon. Set the value equal to Yes to enable the daemon or No to disable the daemon.
proplistd
Represents the Property List daemon. Set the value equal to Yes to enable the daemon or No to disable the daemon.
domaincheck
This option is used to set the Internet Address Verification and domain checking for mounts and unmounts. Set the value equal to Yes to enable this feature or No to disable the feature.
subdomaincheck
This option is used to set the Internet Address Verification and subdomain checking for mounts and unmounts. Set the value equal to Yes to enable this feature or No to disable the feature.
−<component><action>[attr=value...]
Used to perform a specific action on the selected component, optionally by altering the attribute’s value for the selected component. A list of actions and their specific attribute-value pair will be listed by the clioption −configurable_component>Help. The actions are:
create
Causes a new configuration to be created on the system for the selected component
modify
Modifies an existing configuration for the selected component
addAdds a new value to an attribute on an existing configuration for the selected component
remove
Deletes a value of an attribute on an existing configuration for the selected component
purge
Removes an existing configuration for the selected component
listLists all the attribute-value pairs for the selected component on the system
The x resources are standard X11 resource options. For more information, see the X(1X) reference page.
DESCRIPTION
The NFS Configuration application, nfsconfig, is used by the System Administrator or the UNIX(R) system manager to manage NFS configuration issues.
It allows the system to be configured as an NFS server (to make its file systems available to remote machines), or as an NFS client (to mount remote file systems).
Before using nfsconfig, be sure to configure Network Interfaces using the Network Configuration Manager application. You can access netconfig from the Configuration Checklist.
You can configure your system as an NFS Server, an NFS Client, or both. However, if the Network Interfaces are down, the following daemons will not start: nfsd, pcnfsd, proplistd, mountd, and automountd.
Use nfsconfig to do the following:
•Manage the configuration of the system as an NFS server. You can only configure your system as an NFS server if the NFS Server option is built into the kernel.
•Manage the configuration of the system as client-only system
•Specify file systems to be mounted or exported
•Start and stop the NFS daemons
You must have root privileges to run this application.
The nfsconfig command has three user interface options:
•Graphical user interface (GUI)
•Command line interface (CLI)
•Menu interface (Menu)
Running the Graphical User Interface Option:
To start nfsconfig from the graphical user interface, do the following:
1.Click on the Application Manager icon on the CDE front panel.
2.Double click on the System_Admin application group icon.
3.Double click on the Configuration application group icon.
4.Double click on the NFS icon.
To start nfsconfig from the xterm, enter the following command from the xterm:
nfsconfig -ui gui [xresource options]
Running the Command Line Interface Option:
To start nfsconfig from the command line interface, enter the following command from the xterm:
/usr/sbin/nfsconfig
Running the Menu Interface Option:
To start the nfsconfig menu interface, enter the following command from the xterm:
nfsconfig -ui menu
This option starts the setup script for nfssetup. For more information, see the nfssetup(8) reference page.
Running Online Help:
You can view the NFS Configuration online help volume without running the application. To open the NFS Configuration help volume from the command line, enter the following command:
/usr/dt/bin/dthelpview −helpVolume \
/usr/dt/appconfig/help/C/NfsConfig.sdl
You can also view online help for this application by choosing Help from the menu bar in the GUI version. The Help pulldown menu is displayed, providing the following options:
Overview
Displays the Overview section of the help volume, which describes the purpose of the application, how to run the application, and how to exit the application.
Tasks
Displays the Tasks section of the help volume, which describes how to use the application to perform various tasks.
Reference
Displays the Reference section of the help volume, which describes all dialog boxes and dialog box components in the application.
On Item
Activates the On Item help functionality by displaying a question mark as the cursor. When the cursor is positioned on any component in the application and you click on the component, a Help Viewer window is opened and the help for the selected component is displayed in the window.
Using Help
Displays the standard CDE instructions on how to use the Help Viewer.
About
Displays version, copyright, and trademark information for the application.
EXAMPLES
1.The following example shows how to configure the system as an NFS client using the command line interface:
nfsconfig -ui cli -client create nfsiod=7 locking=yes automount=no
2.The following example shows how to modify the configuration of the NFS server and set the nonroot mounts to yes using the command line interface:
nfsconfig -ui cli server modify nonroot=yes
nfsconfig -ui cli nfsd modify
FILES
/etc/rc.config
Specifies the environment variables that define the nfsconfig configuration on your system
SEE ALSO
Commands: automount(8), mountd(8), nfsd(8), nfsiod(8), pcnfsd(8), proplistd(8), rc.config(8), rpc.lockd(8), rpc.statd(8), dxfileshare(8X).
Files:
Networking: nfs_intro(4), tcp(7), udp(7).