Hi Ian

RHEL3u9, autofs 4.1.3-216

CC 

-----Original Message-----
From: Ian Kent [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, 2 January 2008 2:39 PM
To: Coe, Colin C. (Unix Engineer)
Cc: [email protected]
Subject: RE: [autofs] How does autofs know when the maps have changed?

On Wed, 2008-01-02 at 11:05 +0900, Coe, Colin C. (Unix Engineer) wrote:
> Hi Ian
> 
> Thanks for this :)
> 
> At the behest of one of the data admins, I scheduled a '/sbin/service
> autofs reload' at 8AM, 12PM, 3PM and 6PM.  In addition to this, there
is
> a nightly autofs reload.  The day after putting in the addition
reloads,
> most of our EL3 boxes had stale mounts.  Stopping the autofs reloads
> during the day stopped the stale mounts occuring.  Do you have any
> recommendations for scheduling regular autofs updates? 

EL3 is a bit old.
What version of autofs?
Maybe there's is an update available or maybe we need to build a later
version for your EL3 boxes.

>  
> 
> Something like DNS style serial numbers would be nice to be able to
> query the clients to make sure their maps are up to date.  Yep, I
> realise this is next to impossible to implement and maintain
> compatibility with the rest of the world...

The problem of recognizing whether a map needs an update has been around
for a long time and a lot of time has gone into making autofs aware of
updates to maps when they are present. We can't really add fields to
maps because that would make autofs different from other implementations
not to mention how difficult it would be to do for the various map
sources. Where a generation stamp is available, such as in NIS, it has
been used in later updates.

However, the stale mounts is likely a different problem.

Ian

NOTICE: This email and any attachments are confidential. 
They may contain legally privileged information or 
copyright material. You must not read, copy, use or 
disclose them without authorisation. If you are not an 
intended recipient, please contact us at once by return 
email and then delete both messages and all attachments.

_______________________________________________
autofs mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/autofs

Reply via email to