Operating System - HP-UX
1826716 Members
2783 Online
109702 Solutions
New Discussion

Time-setting for Automount/AutoFS

 
SOLVED
Go to solution
Santanu Bhadra
Advisor

Time-setting for Automount/AutoFS

While using Automount/AutoFS, a nfs-mounted directory gets automatically unmounted if not used for five minutes(by default, I guess).

Can anyone tell me where is this time setting so that I can modify the same for my server?

Thanks to all of you in advance!

Santanu
Work hard and be realistically optimistic.
4 REPLIES 4
Helen French
Honored Contributor

Re: Time-setting for Automount/AutoFS

hey,

There is an option '-t' for doing this:

#automount -t duration ..

check man automount !

Shiju
Life is a promise, fulfill it!
Helen French
Honored Contributor
Solution

Re: Time-setting for Automount/AutoFS

hey,

again ....

Set this '-t' in the /etc/rc.config.d/nfsconf file. There is an option called "AUTO_OPTIONS". Edit this and include '-t duration' in the option list

HTH,
Shiju
Life is a promise, fulfill it!
Uday_S_Ankolekar
Honored Contributor

Re: Time-setting for Automount/AutoFS

Hi,

Default is 5 minutes but you can increase with -t option

automount -t

-USA
Good Luck..
Santanu Bhadra
Advisor

Re: Time-setting for Automount/AutoFS

Thanks a lot to Shiju and Uday. -- Santanu
Work hard and be realistically optimistic.