All of lore.kernel.org
 help / color / mirror / Atom feed
* autofs linux 3.8.13 and "Too many levels of symbolic links"
@ 2014-01-29 16:02 Donald Buczek
  2014-01-29 17:16 ` Leonardo Chiquitto
                   ` (3 more replies)
  0 siblings, 4 replies; 50+ messages in thread
From: Donald Buczek @ 2014-01-29 16:02 UTC (permalink / raw)
  To: autofs

Hello,

we are trying to switch from amd to autofs. After successfully testing 
and rolling it out to the first several machines, from time to time we 
get directories stuck with "Too many levels of symbolic links" on a path 
which should be automounted via an indirect map.

linux 3.8.13
autofs 5.0.8

As an example, here is data from a system where the path /scratch/tmp is 
stuck:

http://www.molgen.mpg.de/~buczek/autofs-demo/

   auto.master    # master map
   auto.scratch    # indirect map for /scratch
   autofs            # from /etc/defaults
   typescript       # shows the problem and a bit of gdb dump of kernel 
structures
   typescript.l     # same with line numbers for reference
   gdb-macros     # macros used in the gdb session

 From typescript.l , line 122ff it is clear, that /scratch/tmp is not 
currently mounted. On the other hand, the gdb session finds the dentry 
of /scratch/tmp which has d_flags 0x70080 (line 99,120). This is 
DCACHE_MANAGE_TRANSIT+DCACHE_NEED_AUTOMOUNT+DCACHE_MOUNTED+DCACHE_RCUACCESS 
with DCACHE_MOUNTED indicating that there should be something mounted 
there(?). I think, this state is faulty and necessarily leads to ELOOP 
during path walk. Probably the situation is known by the gurus here?

Is there any known bug which can lead to this situation? Any advice?

Thank you

   Donald

-- 
Donald Buczek
buczek@molgen.mpg.de
Tel: +49 30 8413 1433


^ permalink raw reply	[flat|nested] 50+ messages in thread

end of thread, other threads:[~2016-05-23  1:53 UTC | newest]

Thread overview: 50+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-29 16:02 autofs linux 3.8.13 and "Too many levels of symbolic links" Donald Buczek
2014-01-29 17:16 ` Leonardo Chiquitto
2014-01-30  0:19 ` Ian Kent
2014-01-30 10:28   ` Donald Buczek
2014-01-30 14:30     ` Ian Kent
2014-01-31  1:36       ` Ian Kent
2014-01-31  3:31 ` Ian Kent
2014-01-31  5:13   ` Ian Kent
2014-01-31 10:10     ` Donald Buczek
2014-01-31 10:29       ` Donald Buczek
2014-02-19 10:17         ` Donald Buczek
2014-02-19 10:21           ` Donald Buczek
2014-02-20 11:41           ` Ian Kent
2014-02-20 12:18             ` Ian Kent
2014-02-20 15:57               ` Donald Buczek
2014-02-21  1:42                 ` Ian Kent
2014-02-21 15:15                   ` Donald Buczek
2014-02-28 12:12                     ` Donald Buczek
2014-02-28 13:29                       ` Alexander Viro
2014-02-28 20:35                         ` Donald Buczek
2014-03-01 21:56                           ` Donald Buczek
2014-03-02  0:52                             ` Donald Buczek
2014-03-02  2:17                               ` Ian Kent
2014-03-02  8:28                                 ` Donald Buczek
2014-03-02  9:41                                   ` Ian Kent
2014-03-02 10:22                                     ` Donald Buczek
2014-03-02 11:03                                       ` Ian Kent
2014-03-02 11:15                                         ` Donald Buczek
2014-03-02 11:30                                           ` Ian Kent
2014-03-02 11:35                                             ` Ian Kent
2014-03-02 11:25                                         ` Ian Kent
2014-03-02  2:22                         ` Ian Kent
2014-03-02  7:10                           ` Ian Kent
2014-03-02 14:55                             ` Donald Buczek
2014-03-02 18:51                               ` Donald Buczek
2014-03-03  2:40                                 ` Ian Kent
2014-03-03  2:40                               ` Ian Kent
2014-03-04  6:06                                 ` Ian Kent
2016-03-09 17:44                                   ` Donald Buczek
2016-03-16  1:32                                     ` Ian Kent
2016-03-16  1:58                                     ` Ian Kent
2016-03-16  2:10                                     ` Ian Kent
2016-05-20 14:12                                       ` Donald Buczek
2016-05-23  1:53                                         ` Ian Kent
2014-02-01  1:47       ` autofs linux 3.8.13 and " Ian Kent
2014-02-01  3:32       ` Ian Kent
2014-02-01 13:08         ` Donald Buczek
2014-02-01  2:57 ` Ian Kent
2014-02-01 13:01   ` Donald Buczek
2014-02-02  3:45     ` Ian Kent

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.