Ian Kent wrote:

On Wed, 6 Apr 2005, Greg Bradner wrote:



I have a situation on IRIX where I am stat'ing a filesystem that is not exported to the IRIX system. The syslog says 'permission denied'. That's expected. Since the directory I'm in has 600 links to the file system that is not exported, autofs keeps trying to mount and keeps getting 'permission denied'.

On linux I get 'permission denied', but it doesn't try to mount again for 30 minutes.

Has anyone heard of such a problem with IRIX's autofs and is there a fix?
Why does linux only try every 30 minutes?



I'm not sure why Linux is trying every thirty minutes. There's not explicit retry login in autofs.

AFAIK it should only try to mount the target of the symlink when an access is attempted.

Ian


Let me explain: I have one NAS1 server that has a large number of links to another NAS2. When I run a specific program, an in house tool, it stats the links; which in turn tries to mount NAS2. With the large number of links, the program will stat one, get 'permission denied', and moves to the next. On IRIX, autofs tries to mount with each stat. On linux, it stats the link, but doesn't try to mount each time, rather every 30 minutes.
My main curiosity is whether or not Linux autofs caches the status in some way and won't retry for 30 minutes?


--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Rhythm & Hues
5404 Jandy Place
Los Angeles, CA 90066
Voice: 310 448-7763
Fax:   310 448-7600
[EMAIL PROTECTED]

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

Reply via email to