Open System Services NFS Management and Operations Guide

Examples
This example shows a verification of OSS NFS connectivity. In this example, the NonStop
system is known to the NonStop TCP/IP network as myhost, and a UNIX client host is known
as myclient.
1. These TACL commands are issued on the NonStop system:
VOLUME $SYSTEM.ZRPC
RUN RPCINFO -p
The following output is a sample display:
program vers proto port
100000 2 udp 111 portmapper
100000 2 tcp 111 portmapper
100004 2 udp 2049 nfs
100005 1 udp 740 mountd
150001 1 udp 808 pcnfsd
150001 2 udp 808 pcnfsd
150001 1 tcp 811 pcnfsd
150001 2 tcp 811 pcnfsd
2. This OSS command is issued on the client myclient:
rpcinfo -p myhost
The following output is also a sample display:
program vers proto port
100000 2 udp 111 portmapper
100000 2 tcp 111 portmapper
100004 2 udp 2049 nfs
100005 1 udp 740 mountd
150001 1 udp 808 pcnfsd
150001 2 udp 808 pcnfsd
150001 1 tcp 811 pcnfsd
150001 2 tcp 811 pcnfsd
While slight format differences might occur between rpcinfo programs on various
systems, the same information should be reported.
You can also check the status of OSS NFS processes by using the NFSCHECK file created by
the NFS SETUP program. To do so, enter these commands at a TACL prompt:
VOLUME $SYSTEM.NFSCONF
RUN NFSCHECK
Stopping OSS NFS
To stop the OSS NFS subsystem, first use TACL to stop the PCNFSD process and then issue the
SCF STOP command to the SUBSYS object:
STOP $PCD0
SCF
STOP SUBSYS $ZNFS, SUB ALL, ORDERLY
EXIT
The ORDERLY option forces the STOP SUBSYS command to wait for all active links to drop before
terminating the object. If the command times out, you can use the FORCED option of the STOP
SUBSYS command to drop active links immediately.
You can also stop the OSS NFS subsystem by using the NFSSTOP file generated by SETUP as:
Stopping OSS NFS 55