Integrated file system commands in the Network File System

 

Many integrated file system commands are valid in the Network File System (NFS).

All of the commands that are listed in Accessing using CL commands and the displays that are described in Accessing using menus and displays can operate on the Network File System, except for the following commands:

There are some CL commands that are specific to the Network File System and other mounted file systems in general. However, it may not be safe to use these commands in a multi-thread capable process. The following table describes these commands. For a complete description of commands and displays that are related specifically to the Network File System, see OS/400® Network File System Support

Link to PDF.

Table 1. Network file system CL commands
Command Description
ADDMFS Add Mounted File System. Places exported, remote server file systems over local client directories.
CHGNFSEXP Change Network File System. Export Adds or removes directory trees to the export table of file systems that are exported to Network File System clients.
DSPMFSINF Display Mounted File System Information. Displays information about a mounted file system.
ENDNFSSVR End Network File System Server. Ends one or all of the Network File System daemons on the server.
EXPORTFS Export a File System. Adds or removes directory trees to the export table of file systems that are exported to Network File System clients.
MOUNT Mount a File System. Places exported, remote server file systems over local client directories. This command is an alias for the ADDMFS command.
RLSIFSLCK Release Integrated File System Locks. Releases all Network File System byte-range locks held by a client or on an object.
RMVMFS Remove Mounted File System. Removes exported, remote server file systems from the local client namespace.
STRNFSSVR Start Network File System Server. Starts one or all of the Network File System daemons on the server.
UNMOUNT Unmount a File System. Removes exported, remote server file systems from the local client namespace. This command is an alias for the RMVMFS command.

A Network File System must be mounted before any commands can be used on it.

 

Parent topic:

Network File System (NFS)