Link to home
Start Free TrialLog in
Avatar of TIMFOX123
TIMFOX123Flag for United States of America

asked on

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 )
ASKER CERTIFIED SOLUTION
Avatar of Darr247
Darr247
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Have you try tweaking the timeout value?
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.
Can we see fstab (minus IP addresses) ?
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?
What application uses those hard mounts?
Avatar of TIMFOX123

ASKER

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 ?
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.
thank you