Operating System - HP-UX
1753511 Members
5579 Online
108795 Solutions
New Discussion юеВ

time-out problem with NFS/ AUTOMOUNTER

 
MARREEL Chris_1
Regular Advisor

time-out problem with NFS/ AUTOMOUNTER

We have a configuration with a remote office (in France) and an ISDN-dial-up connections over CISCO 7xx routers to connect with the main-office in Belgium.
We use automounter to access the nfs-exported directory's. This works very fine between our offices in Belgium, the ISDN-line opens fast enough. BUT with the remote office in France the first attempt allways fails due to the long(er) connect-time. If the first attempt fails, we must wait 30 seconds and then the second attempt is successfull.
I have diagnosed the situation and it points to the fact that the line isn't initialised fast enough (international connection).

Can we change the AUTOMOUNTER / NFS configuartion it takes longer before we have the time-out ?
7 REPLIES 7
CHRIS ANORUO
Honored Contributor

Re: time-out problem with NFS/ AUTOMOUNTER

Hi Chris,

Increase the following: retry, retrans and timeo values. Your MountoType option should be hard.
These values are modified from the NFS Advanced Options on the client.
When We Seek To Discover The Best In Others, We Somehow Bring Out The Best In Ourselves.
MARREEL Chris_1
Regular Advisor

Re: time-out problem with NFS/ AUTOMOUNTER

I will have a look at these parameters, but I don't know where I can find these. Can I look and change these somewhere in SAM, in het Kernel,...

Can you specify where I find and change these ?
Andreas Voss
Honored Contributor

Re: time-out problem with NFS/ AUTOMOUNTER

Hi,

information for the mount options can be found at:

man mount_nfs

The options useful for you would be:

-timeo=#,retry=#

Have a look at your /etc/auto_master and referred files.

Regards
MARREEL Chris_1
Regular Advisor

Re: time-out problem with NFS/ AUTOMOUNTER

ok, the information in mount_nfs is usefull, but in my /etc/auto_master there is at the moment one line :
/net -hosts -soft
This is read by the automounter-daemon.

Where can I now add these new parameters timeo and retry ?
Do I have to specify this on the line in the "/etc/auto_master"-file and in which syntax ?

Can anyone help me ?
Andreas Voss
Honored Contributor

Re: time-out problem with NFS/ AUTOMOUNTER

Hi,

options can be inserted with ie:

/net -hosts -soft,timeo=10,retry=3

After changes in /etc/auto_master reinitialize with: automount (for new automountd)
or for old automount:
/sbin/init.d/nfs.client stop
/sbin/init.d/nfs.client start

Regards
CHRIS ANORUO
Honored Contributor

Re: time-out problem with NFS/ AUTOMOUNTER

Chris,

You can make the changes through SAM
SAM->Networking And Communications->Networked File System->Mounted Remote File Systems.
Highlight the mounted file and from Action menu ->Modify->NFS Advanced Options. You can change/increase the values as recommened. (retry 3, timeo 10)
When We Seek To Discover The Best In Others, We Somehow Bring Out The Best In Ourselves.
Rhonda Thorne
Frequent Advisor

Re: time-out problem with NFS/ AUTOMOUNTER

I prefer soft with my nfs mounts. My experience is when you use hard and connection is lost or hung...the only way to free up the link retry is to reboot the box. This is not acceptible in a high availablility environment. so take care when deciding.

Sharing the knowledge
Sharing my knowledge of UNIX flavors