Content-type: text/html
nfsconfig - Used to configure a system as an NFS server or an NFS client
/usr/sbin/nfsconfig [-ui cli [clioptions]|gui [x resources]|menu]
Specifies the user interface to be invoked. The choices are: Specifies command line interface, if this is available on your system Specifies graphical user interface Specifies menu interface, if this is available on your system Specific command line options that will be used to interact with netconfig. The syntax is as follows: 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. 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: Specifies that your system will be configured as an NFS client. The possible options that can be set for -client are as follows: Specifies the number of nfsiod daemons to be run. Represents the locking daemons (rpc.lockd, rpc.statd). Set the value equal to Yes to enable the daemons or No to disable the daemons. Represents the automountd daemon. Set the value equal to Yes to enable the daemon or No to disable the daemon. Represents automount arguments. If automount is set to Yes, then set these arguments. For more information, see the automountd(8) reference page. Specifies that your system will be configured as an NFS server. The possible options which can be set for -server are as follows: Specifies the number of tcpd daemons to be run. Specifies the number of udpd daemons to be run. Represents the locking daemons (rpc.lockd, rpc.statd). Set the value equal to Yes to enable the daemons or No to disable the daemons. Represents the PC NFSD daemon. Set the value equal to Yes to enable the daemon or No to disable the daemon. Represents the Property List daemon. Set the value equal to Yes to enable the daemon or No to disable the daemon. 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. 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. 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: Causes a new configuration to be created on the system for the selected component Modifies an existing configuration for the selected component Adds a new value to an attribute on an existing configuration for the selected component Deletes a value of an attribute on an existing configuration for the selected component Removes an existing configuration for the selected component Lists 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.
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)
To start nfsconfig from the graphical user interface, do the following: Click on the Application Manager icon on the CDE front panel. Double click on the System_Admin application group icon. Double click on the Configuration application group icon. Double click on the NFS icon.
To start nfsconfig from the xterm, enter the following command from the xterm: nfsconfig -ui gui [xresource options]
To start nfsconfig from the command line interface, enter the following command from the xterm: /usr/sbin/nfsconfig
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.
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:
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.
Displays the Tasks section of the help volume, which describes
how to use the application to perform various tasks.
Displays the Reference section of the help volume, which describes
all dialog boxes and dialog box components in the application.
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.
Displays the standard CDE instructions on how to use the Help
Viewer.
Displays version, copyright, and trademark information for
the application.
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 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
Specifies the environment variables that define the
nfsconfig
configuration on your system
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).