NFS mount 花那么多时间,怎么办?
http://nfs.sourceforge.net/
Quick Server Setup Guide
- Acquire and install a recent distribution of Linux.
- Set up your /etc/exports file(man exports for details).
- Consult your distribution's documentation to determine which/etc/init.d start-up script is used to start your server.Start NFS services by invoking this script as root, using the"start" parameter.Consider adding this script to the list of scripts that are automaticallyrun at system start-up. (Red Hat uses the chkconfig command for thispurpose).
- Read the NFS How-To for advice on tuning and securing your server.
Quick Client Setup Guide
- Acquire and install a recent distribution of Linux.To enable NLM lock recovery, ensure your client's host name,as returned by uname -n, matches the host name returnedby DNS.
- The NLM protocol is handled by an in-kernel service in modern kernels,but the user-level rpc.statd program must be running to enable NLMlock recovery. Consult your distribution's documentation to determine which/etc/init.d start-up script is used to start it. Start theNSM daemon by invoking this script as root, using the "start" parameter.Consider adding this script to the list of scripts that are automaticallyrun at system start-up. (Red Hat uses the chkconfig command for thispurpose).
- Create the directories on your client where you will mount the NFSshares.
- Add entries in /etc/fstab corresponding to your mount points(man nfs for details).
- Use mount -a -t nfs to mount the NFS shares.
- During system boot-up, most distributions automatically mount NFS sharesthat are listed in /etc/fstab. If yours doesn't, check yourdistribution's documentation for instructions on how to configure yourclient to do this.