Solved

I hate hard nfs mounts

Posted on 2014-03-26
9
386 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
Comment Utility
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
Comment Utility
Have you try tweaking the timeout value?
0
 
LVL 44

Expert Comment

by:Darr247
Comment Utility
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
 
LVL 61

Expert Comment

by:gheist
Comment Utility
Can we see fstab (minus IP addresses) ?
0
What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

 
LVL 13

Expert Comment

by:Daniel Helgenberger
Comment Utility
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 61

Expert Comment

by:gheist
Comment Utility
What application uses those hard mounts?
0
 

Author Comment

by:TIMFOX123
Comment Utility
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
Comment Utility
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
Comment Utility
thank you
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
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.:
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

772 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now