首页 > 其他 > 详细

NFS实现系统启动时延迟挂载

时间:2015-06-03 13:50:18      阅读:330      评论:0      收藏:0      [点我收藏+]

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/


本文出自 “Ilovecat(个人笔记)” 博客,请务必保留此出处http://hj192837.blog.51cto.com/655995/1657833

NFS实现系统启动时延迟挂载

原文:http://hj192837.blog.51cto.com/655995/1657833

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!