HP Visualize c3600 IRIX to HP-UX Migration Guide - Page 105
Nfs_client=0
View all HP Visualize c3600 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 105 highlights
Network File System Or, issue the following command to mount all the directories listed in the /etc/fstab file: # /usr/sbin/mount -a The remote directories listed in the /etc/fstab file will be mounted automatically when you enable NFS client capability or reboot your system. Before you can mount a remote directory on your system, the remote system where the directory is located must be configured as an NFS server and must export the directory. To mount a directory temporarily, issue the mount command, but do not add the mount to the /etc/fstab file. It will stay mounted until you reboot your system or until you unmount it with the umount command. To Enable NFS Client Capability 1. In the /etc/rc.config.d/nfsconf file, make sure the NFS_CLIENT variable is set to 1, as follows: NFS_CLIENT=1 2. Run the NFS startup script by issuing the following command: # /sbin/init.d/nfs.client start Setting the NFS_CLIENT variable to 1 causes the NFS startup script to be run whenever you reboot your system. The NFS startup script starts the necessary NFS client daemons and mounts the remote directories configured in the /etc/fstab file. To Disable NFS Client Capability 1. On the NFS client, issue the mount command with no options, to get a list of all the mounted file systems on the client: # /usr/sbin/mount 2. For every NFS-mounted directory listed by the mount command, issue the following command to determine whether the directory is currently in use: # /usr/sbin/fuser -cu local_mount_point This command lists the process ids and user names of everyone using the mounted directory. 3. Warn any users to cd out of the directory, and kill any processes that are using the directory, or wait until the processes terminate. You can use the following command to kill all processes using the mounted directory: # /usr/sbin/fuser -ck local_mount_point 4. Issue the following command on the client to unmount all NFS-mounted directories: # /usr/sbin/umount -at nfs 5. Edit the /etc/rc.config.d/nfsconf file on the client to set the NFS_CLIENT and AUTOMOUNT variables to 0. This prevents the client processes from starting up again when you reboot the client. NFS_CLIENT=0 AUTOMOUNT=0 6. Issue the following command to disable NFS client capability: 100