Download UNIX

Transcript
Chapter 6
Supporting a Centralized System - Silicon Graphics
Enabling NFS Access
This section describes the steps necessary to set up the host if NFS is used as
the boot_method or file_access_method.
Edit the /etc/exports file. Add each of the file systems to be exported at boot
time, along with any options. The file systems must be exported to be
accessible to the network computer. The exported systems are specified with
an nfs_table command in the xp.cnf file, or in the nfs.tbl file. An example
xp.cnf file entry:
nfs_table
"montana:/tekxp"
"/tekxp"
"8192"
An example nfs.tbl entry:
montana:/tekxp
/tekxp
8192
/etc/exports entry, shown with the read only option (-ro):
/tekxp -ro
1. To enable the mount point immediately, without booting, run:
#
/usr/etc/exportfs -a [-o options]
2. Use /usr/etc/exportfs without any parameters to verify the exports.
3. Edit /etc/hosts and add the network computer’s name and address. For example:
128.07.60.30
128.07.60.31
portland
corvallis
4. Update the arp table to add new entries:
# arp
# arp
-s portland 08:00:11:01:00:45
-s corvallis 08:00:11:01:00:46
arp can also be run with a -f filename option, where filename is a file of
network computer entries to set.
5. Use the ps command to see if nfsd is running:
# ps -eaf
root 88
1
0
Jul 27
?
0:01 nfsd
a. If nfsd is not running, type:
# /usr/etc/nfsd 8 &
b. If nfsd is running, use the kill command with the PID to restart the
daemon (the PID is 88 in the preceding ps example):
# kill -HUP PID
6-2
NCBridge for UNIX Installation and Configuration Manual