Symptom:
Got the following error in the /var/log/messages file during the boot. But after the boot manually mount is OK.
Jun 25 14:58:03 laappt6 mount: mount: mount to NFS server 'laappt3' failed:
Jun 25 14:58:03 laappt6 mount: System Error: No route to host.
Cause:
The NFS mount script runs during the network initialize phase.
Solution :
Found two solutions from web.
1. append "/bin/mount -a " in /etc/rc.d/rc.local
2. insert the following line in to /etc/rc.d/init.d/netfs file.
before :
[ ! -f /var/lock/subsys/portmap ] && service portmap start
action $"Mounting NFS filesystems: " mount -a -t nfs,nfs4
after :
[ ! -f /var/lock/subsys/portmap ] && service portmap start
#added by David W.
action $"Sleeping for 30 secs:" sleep 30
#end of added by David W.
action $"Mounting NFS filesystems: " mount -a -t nfs,nfs4
Reference:
1. CrazyToon,
http://crazytoon.com/2007/05/11/centos-and-redhat-problem-nfs-mount-at-boot-up-fails-with-error-system-error-no-route-to-host/
Monday, June 25, 2007
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment