码迷,mamicode.com
首页 > 其他好文 > 详细

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

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

标签:nfs

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实现系统启动时延迟挂载

标签:nfs

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

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!