HP Visualize J5600 IRIX to HP-UX Migration Guide - Page 100
Network File System
View all HP Visualize J5600 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 100 highlights
12. Network File System NFS on IRIX Setting Up an NFS Client To set up an an NFS client for conventional mounting, you must: 1. Verify that NFS software is running on the client. 2. Edit the /etc/fstab file to add the names of directories to be mounted. 3. Mount directories in /etc/fstab by giving the mount command or by rebooting your system-these directories remain mounted until you explicitly unmount them. The procedure below explains how to set up NFS software on a client and mount its NFS resources using the mount command. You must perform this procedure as superuser. 1. Use chkconfig to check the client's NFS configuration flag. 2. If your output shows that NFS is off, use chkconfig to turn NFS on and reboot your system. 3. Verify that NFS daemons are running. Using ps, verify that there are four nfsd and four biod daemons running. Four is the default number of daemons specified in the /etc/config/nfsd.options and /etc/config/biod.options files. 4. For each NFS directory that you want to mount, add an entry to the /etc/fstab file. 5. Create the mount points for each NFS directory. 6. Mount each NFS resource. Setting Up the Automatic Mounters All setup for the automounters is done on the NFS clients only, because the automatic mounters run only on the client systems. There are two methods for setting up the automatic mounters: one for setting a default automount or autofs environment and one for setting up a more complex environment. We will only discuss the first of these methods here. For more details on the second method see the appropriate IRIX manual. Setting Up a Default Automatic Mounter Environment When you set up a default automatic mounter environment on a client, automount (or autofs) reads the /etc/config/automount.options file (or /etc/config/autofs.options file) for mount information at system startup. The options file contains an entry for a special map called -hosts. The -hosts map tells the automatic mounter to read the hosts database from the Unified Naming Service database and use the server specified if the hosts database has a valid entry for that server. When using the -hosts map, when a client accesses a server, the automatic mounter gets the exports list from the server and mounts all directories exported by that server. automount uses /tmp_mnt/hosts as the mount point, and autofs uses /hosts. A sample -hosts entry in /etc/config/automount.options is: -v /hosts -hosts -nosuid,nodev 95