autofs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* 5.0.5 non-expiring mounts
@ 2011-02-08  9:30 Philip Ong Jr.
  2011-02-11  3:10 ` Ian Kent
                   ` (2 more replies)
  0 siblings, 3 replies; 19+ messages in thread
From: Philip Ong Jr. @ 2011-02-08  9:30 UTC (permalink / raw)
  To: autofs

I've pulled down the 5.0.5 tree and all patches.

I've set the logging level to debug and can see messages of expiring 
mounts in /var/log/messages...but when I check /etc/mtab or /proc/mounts 
or df, i can still see them there. Any ideas if this is a known issue or 
if I can give more info than below?


Linux sc-sim-208-144 2.6.29.4 #8 SMP Tue May 25 14:00:33 PDT 2010 x86_64 
x86_64 x86_64 GNU/Linux
# automount -V

Linux automount version 5.0.5

Directories:
         config dir:     /etc/sysconfig
         maps dir:       /etc
         modules dir:    /usr/lib/autofs

Compile options:
   DISABLE_MOUNT_LOCKING ENABLE_IGNORE_BUSY_MOUNTS LIBXML2_WORKAROUND

^ permalink raw reply	[flat|nested] 19+ messages in thread
* Re: 5.0.5 non-expiring mounts
@ 2011-02-17  1:08 Deke Clinger
  2011-02-17  7:57 ` Ian Kent
  0 siblings, 1 reply; 19+ messages in thread
From: Deke Clinger @ 2011-02-17  1:08 UTC (permalink / raw)
  To: autofs

On Wed Feb 16 12:18:15 UTC 2011 Ian Kent wrote:

> A backtrace generally doesn't do us any good when were trying to find an
> expire problem, the debug log is where we have to start on these.

I've got a debug log from a sled10sp3 machine running the Novell autofs
5.0.5 update. Ian - could I mail you this personally? I'd rather not have
this log with usernames, paths, hostnames, etc. on a public archive.

FWIW, I did do a test with autofs5.0.5 built from source with all the
patches in the patch order list from kernel.org and it demonstrated the
same behavior: a USR1 signal unmounted the direct map entries but not the
indirect. I changed the maps to files, pruned them to a few hundred entries
and converted the indirect entries to direct and re-ran the
test. Configured like this all entries unmounted upon a USR1 signal so I do
believe this has something to do with direct vs indirect mounts. 

Regards,

-Deke

^ permalink raw reply	[flat|nested] 19+ messages in thread
* Re: 5.0.5 non-expiring mounts
@ 2011-02-17 19:21 Deke Clinger
  0 siblings, 0 replies; 19+ messages in thread
From: Deke Clinger @ 2011-02-17 19:21 UTC (permalink / raw)
  To: autofs

(my reply to Ian, without the logfile attached)

--

On Thu, 17 Feb 2011, Ian Kent wrote:

> On Wed, 2011-02-16 at 17:08 -0800, Deke Clinger wrote:
> > On Wed Feb 16 12:18:15 UTC 2011 Ian Kent wrote:
> > 
> > > A backtrace generally doesn't do us any good when were trying to find an
> > > expire problem, the debug log is where we have to start on these.
> > 
> > I've got a debug log from a sled10sp3 machine running the Novell autofs
> > 5.0.5 update. Ian - could I mail you this personally? I'd rather not have
> > this log with usernames, paths, hostnames, etc. on a public archive.
> 
> Yes please.

Attached. This is all automount entries from bootup in case you're
interested. I login and start doing stuff around "Feb 16 16:38:00". There
are entries like:

Feb 16 16:57:40 src@private automount[3833]: expired /usr2/user1
Feb 16 16:57:40 src@private automount[3833]: expiring path /usr2/user2

but these paths never actually go away.

BTW, this host is running 'autofs5-5.0.5-0.7.1.2597.0.TEST.667967' from
Novell, which includes your 'fix-out-of-order-locking-in-readmap' patch.

> > FWIW, I did do a test with autofs5.0.5 built from source with all the
> > patches in the patch order list from kernel.org and it demonstrated the
> > same behavior: a USR1 signal unmounted the direct map entries but not the
> > indirect. I changed the maps to files, pruned them to a few hundred entries
> > and converted the indirect entries to direct and re-ran the
> > test. Configured like this all entries unmounted upon a USR1 signal so I do
> > believe this has something to do with direct vs indirect mounts. 
> 
> There are a couple of possibilities. I'm always working with the current
> source and basic testing includes expiring both direct and indirect
> mounts as a matter of course and I'm not seeing this. So there has to be
> more to it or I have one or other patches already in the queue that
> resolve the problem.
> 
> Does this happen straight away or start after some time of running?

Immediately. 

> Do all indirect mounts stop expiring or only some?

We use /net with a map like this:

# /net, auto_master, automountMaps, sandiego, corp, qualcomm.com
dn: automountKey=/net,automountMapName=auto_master,ou=automountMaps,ou=sandiego,ou=corp,dc=qualcomm,dc=com
qcautomountkey: /net
objectClass: automount
objectClass: top
objectClass: qcNisObject
automountkey: /net
automountinformation: -hosts -nosuid

Those paths do unmount on signal. 

> What is the for of the indirect map entries, are they multi-mount
> entries?

No multimount, the maps are in LDAP like the one above. Here's my home
directory, for example:

# dclinger, auto.home, automountMaps, sandiego, corp, qualcomm.com
dn: qcAutomountKey=dclinger,automountMapName=auto.home,ou=automountMaps,ou=san 
 diego,ou=corp,dc=qualcomm,dc=com
automountinformation: -rw,noquota filer:/vol/vol2/usr2/dclinger
qcautomountkey: dclinger
automountkey: dclinger
objectClass: top
objectClass: automount
objectClass: qcNisObject

The others are similiar, with different keys obviously and various file
servers and volume names.

> Obviously the debug log will probably answer most of these questions.

Please let me know if any other questions. Thanks for looking at this.

-Deke

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

end of thread, other threads:[~2011-03-28  3:17 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-08  9:30 5.0.5 non-expiring mounts Philip Ong Jr.
2011-02-11  3:10 ` Ian Kent
2011-02-15  1:10 ` Mike Marion
2011-02-15  3:11   ` Ian Kent
2011-02-15  3:37     ` Ian Kent
2011-02-15  5:28       ` Mike Marion
2011-02-15 12:28         ` Ian Kent
2011-02-15 18:11           ` Leonardo Chiquitto
2011-02-16  7:08             ` Ian Kent
2011-02-16 12:18               ` Ian Kent
2011-02-23 20:22                 ` Leonardo Chiquitto
2011-02-16 12:58               ` Leonardo Chiquitto
2011-03-04 20:10               ` Leonardo Chiquitto
2011-03-05  5:18                 ` Ian Kent
2011-03-24 22:03 ` Leonardo Chiquitto
2011-03-28  3:17   ` Ian Kent
  -- strict thread matches above, loose matches on Subject: below --
2011-02-17  1:08 Deke Clinger
2011-02-17  7:57 ` Ian Kent
2011-02-17 19:21 Deke Clinger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).