Open System Services NFS SCF Reference Manual

SCF Commands for OSS NFS
Open System Services NFS SCF Reference Manual522582-001
2-9
Example
Use the STOP SUBSYS command if you want to stop the operation of OSS NFS
objects in a more controlled manner. The STOP SUBSYS command does not
abruptly terminate in-progress activities.
The ABORT SUBSYS command does not clear the RESTART attribute. The
RESTART attribute determines whether or not a subsequent START SUBSYS
command initiates an attempt to restart the stopped LAN and SERVER objects.
ABORT SUBSYS is useful when you want to restart the same configuration of LAN
interface and server processes that was running when the command was issued.
To reinitiate the operation of an aborted OSS NFS subsystem, the manager process
must be restarted using a RUN command. After the manager process is restarted,
the subsystem can be restored to the same state state it was in prior to the ABORT
SUBSYS command by using a START SUBSYS command.
Use the STATUS SUBSYS command to determine the current summary state of the
OSS NFS objects.
Use the DELETE command on each object to be deleted to remove an object from
the OSS NFS subsystem.
Example
The following command aborts the OSS NFS subsystem associated with the manager
process $ZNFS:
->ABORT SUBSYS $ZNFS
ADD EXPORT Command
The ADD EXPORT command adds an EXPORT object to the OSS NFS subsystem.
An EXPORT object allows a file system to be exported to specified netgroups and host
machines. Specify export-name as the OSS NFS pathname of the root directory of
the file system to be exported.
The directory is exported when the EXPORT object is created. When a remote mount
request is received, a check is made to see if an EXPORT object exists for the mount
point of the server responsible for the directory being remotely mounted. If so, and if
the EXPORT object permits access to the remote client, then the remote mount is
permitted. Otherwise, the client’s mount request is rejected.
If you do not specify an ACCESS attribute when adding an EXPORT object, any host
can perform a remote mount of the file system.