I hate hard nfs mounts

We have several servers and they were deployed with hard nfs mounts.  

If you comment out nfs in /etc/fstab; reboot them; log in and mount the nfs mounts manually the system works fine.  

If you don't  comment out nfs in /etc/fstab; reboot them; the systems take forever to boot ( 20 minutes or more ).  

Reengineering these system to softmounts is not an option.

I am looking for a solution that will check the systems and then mount the hard mounts.  

what needs to be checked and what are the commands for them ?

do I need to check both sides of the nfs hard mount ?

Oh, Redhat 5/6, physical servers ( virtual in the future )
TIMFOX123Asked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
Darr247Connect With a Mentor Commented:
have you tried the intr option?

According to
$ man 5 nfs
the intr option is preferable to soft mounting.
0
 
MazdajaiCommented:
Have you try tweaking the timeout value?
0
 
Darr247Commented:
If you're running a desktop GUI with the NetworkManager service, I think you'll find (if you hit Esc during boot to show the line-by-line) that the network interface is not yet ready when RH tries to mount the drives listed in the /etc/fstab file.
0
Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

 
gheistCommented:
Can we see fstab (minus IP addresses) ?
0
 
Daniel HelgenbergerCommented:
Reengineering these system to softmounts is not an option.
Normally I suggest to use autofs which is considered to be best practice with NFS mounts; but I think this is what you may mean with the above statement, too?
0
 
gheistCommented:
What application uses those hard mounts?
0
 
TIMFOX123Author Commented:
I was just asking for what I need to check before I run the mount

I would like to create a script that waits 1 minute, check stuff out and then if all is OK, then runs the mount command with options.

Easy Peasy ?
0
 
TIMFOX123Author Commented:
I understand frustration I have it also.

I can not explain much.   I really hope you can understand.  

thank you all for your input ( honestly )

EE is great.  

If I could explain this I feel you would understand however I can not explain it.
0
 
TIMFOX123Author Commented:
thank you
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.