All of lore.kernel.org
 help / color / mirror / Atom feed
* something changed from 4 to 5
@ 2008-08-12 16:53 Joe Pruett
  2008-08-13  2:58 ` Ian Kent
  0 siblings, 1 reply; 13+ messages in thread
From: Joe Pruett @ 2008-08-12 16:53 UTC (permalink / raw)
  To: autofs

i have been using mounts like this:

auto.master:
/disks	auto.disks
/home	auto.home

auto.disks:
server.1	server:/disk/1
server.2	server:/disk/2
other.1		other:/disk/1
other.2		other:/disk/2

auto.home:
user1		:/disks/server.1/user1
user2		:/disks/server.2/user2
user3		:/disks/other.1/user3
user4		:/disks/other.2/user4

this is to avoid ending up with 100s or 1000s of nfs mounts and instead 
just have a few nfs mounts and then lots of bind mounts.  it has been 
working pretty well until the last few months.  i am using a mix of centos 
4 and centos 5 systems, and they all are using the supplied autofs 5 
binaries (autofs5-5.0.1-0.rc2.55.el4_6.2 and autofs-5.0.1-0.rc2.88).

what has started happening is that occasionally an automount child will 
get stuck and all access to /disks/something will stop.  other /disks/ 
entries are fine.  when i strace the confused child, it shows exit_group
and then exits and then things are fine.  i think the parameter to 
exit_group is 4, but i haven't kept a log (i will now).

so here are a few questions:

1. is there a better way to do this?  in the old sun days, it was like:

user1	server:/disk/1:user1
user2	server:/disk/1:user2

and server:/disk/1 would only get mounted once with symlinks for user1 and 
user2.

2. i see some comments about submounts in the 5.0.3 changelog.  is this a 
submount?  or is that something different?

3. is this a known issue?  aside from installing a 5.0.3 version (which 
i'd like to avoid), might there be a suggested workaround?

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

end of thread, other threads:[~2008-09-02 22:07 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-12 16:53 something changed from 4 to 5 Joe Pruett
2008-08-13  2:58 ` Ian Kent
2008-08-13  4:11   ` Joe Pruett
2008-08-23 14:45   ` Joe Pruett
2008-08-24  4:32     ` Ian Kent
2008-08-24  4:58       ` Joe Pruett
2008-08-24  5:11         ` Ian Kent
2008-08-24 14:48           ` Joe Pruett
2008-08-25  2:14             ` Ian Kent
2008-08-25  2:42               ` Joe Pruett
2008-08-24  4:54     ` Ian Kent
2008-08-24  5:27       ` Ian Kent
2008-09-02 22:07   ` Joe Pruett

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.