Solved

I hate hard nfs mounts

Posted on 2014-03-26
9
396 Views
Last Modified: 2014-03-31
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 )
0
Comment
Question by:TIMFOX123
  • 3
  • 2
  • 2
  • +2
9 Comments
 
LVL 44

Accepted Solution

by:
Darr247 earned 500 total points
ID: 39957827
have you tried the intr option?

According to
$ man 5 nfs
the intr option is preferable to soft mounting.
0
 
LVL 21

Expert Comment

by:Mazdajai
ID: 39957878
Have you try tweaking the timeout value?
0
 
LVL 44

Expert Comment

by:Darr247
ID: 39957888
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
Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

 
LVL 62

Expert Comment

by:gheist
ID: 39958183
Can we see fstab (minus IP addresses) ?
0
 
LVL 13

Expert Comment

by:Daniel Helgenberger
ID: 39958658
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
 
LVL 62

Expert Comment

by:gheist
ID: 39959172
What application uses those hard mounts?
0
 

Author Comment

by:TIMFOX123
ID: 39960436
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
 

Author Comment

by:TIMFOX123
ID: 39960667
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
 

Author Closing Comment

by:TIMFOX123
ID: 39963074
thank you
0

Featured Post

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question