nfs客户端
1. vi /etc/fstab 加入一下选项_netdev
10.10.10.1:/vol1/fs1 /data nfs defaults,_netdev 0 0
2. service netfs start; chkconfig netfs on
that's it.
Now your mount boot process should look something like this:
1. Automounter reads /etc/fstab
2. Ignores /data since it has _netdev option set
3. Mounts all other filesystems
4. Finishes mount jobs and allows system to continue booting
5. Network comes up
6. Service netfs started
7. netfs reads /etc/fstab and finds an nfs filesystem
8. netfs mounts /data
参考: http://thenubbyadmin.com/2013/04/10/solving-nfs-mounts-at-boot-time/
转载于:https://blog.51cto.com/hj192837/1657833