CentOS自动mount NFS文件夹,在/etc/fstab下写下这句:
- 10.112.18.110:/NFSSharedFolder /opt/shareOn110 nfs rsize=8192,wsize=8192,timeo=14,intr
http://www.centos.org/docs/5/html/Deployment_Guide-en-US/s1-nfs-client-config-options.html
上面这句的命令相当于手工执行:
- mount -t nfs 10.112.18.110:/NFSSharedFolder /opt/shareOn110