Skip to contentSkip to conversation

Auto Unmount???

DISCUSSION Thanh Tran 2 participants 4 messages Aug 18, 2008 – Aug 20, 2008 Kernel automounter

lore
Share & tools
lore

Thanh Tran

author
#0 lore raw

Is auto unmounting supported in autofs version 5? If so, how do you set the timeout?

#1 lore raw
Quoted 1 line · Thanh Tran

Is auto unmounting supported in autofs version 5? If so, how do you set the timeout?

You can either set it per mount point or globally. Per mount point requires a --timeout=X on the line for the mount point in the master map. Globally, it can be set in /etc/sysconfig/autofs (on systems that use the sysconfig directory).

Cheers,

Jeff

author
#2 lore raw

I did notice some timeout values in my sysconf/autofs. I thought those flags set the amount of time autofs would try to mount something before giving up. Which flag sets the timeout? Perhaps, you mean the option flag? Thanks.

Quoted 21 lines · Jeff Moyer

From: Jeff Moyer <[email protected]>
Subject: Re: [autofs] Auto Unmount???
To: [email protected]
Cc: [email protected]
Date: Wednesday, August 20, 2008, 10:06 AM

Quoted 1 line · Thanh Tran

Is auto unmounting supported in autofs version 5? If

so, how do you set the timeout?

You can either set it per mount point or globally. Per mount point
requires a --timeout=X on the line for the mount point in the master
map. Globally, it can be set in /etc/sysconfig/autofs (on systems that
use the sysconfig directory).

Cheers,

Jeff

#3 lore raw
Quoted 4 lines · Thanh Tran

I did notice some timeout values in my sysconf/autofs. I thought those flags set the amount of time autofs would try to mount something before giving up. Which flag sets the timeout? Perhaps, you mean the option flag? Thanks.

The timeout specifies the length of inactivity before a mount is expired. Please see the man page for auto.master.

Cheers,

Jeff