All of lore.kernel.org
 help / color / mirror / Atom feed
* AutoFS Problems with Laptops
@ 2006-05-19  8:17 Daniel Qarras
  2006-05-19 13:36 ` Ian Kent
  2006-05-20 23:34 ` Jim Carter
  0 siblings, 2 replies; 9+ messages in thread
From: Daniel Qarras @ 2006-05-19  8:17 UTC (permalink / raw)
  To: autofs

Hi!

This is probably very easy but I can neither figure it out or use
Google.. Anyway, this is what I want to achieve:

Our local network (10.0.0.0) server exports /home and /work directories
and desktop workstations with static IPs can mount them all ok over
NFS. I have a laptop that is using DHCP and autofs. In our local
network autofs mounts work all ok with the config below.

However, when I go out to a different network where those directories
are not available, I would like autofs to figure that out and not to
try mount them and cause jams. What should the script output if those
mounts are available?

I am asking this because I've tried almost everything and I am just
getting bizarre results like directory /var/autofs/(null)/home,
/var/autofs/hithere/work, etc. I want to mount available mounts under
/var/autofs so that they would be /var/autofs/home and /var/autofs/work
but that seems not to work.

The autofs configuration that works perfectly in our local network is
the following.

/etc/auto.master:

/var/autofs /etc/auto.local --timeout=30,--ghost

And /etc/auto.local:

home -fstype=nfs,rw,soft,intr 10.0.0.1:/home
work -fstype=nfs,rw,soft,intr 10.0.0.1:/work

But, as said, if I turn auto.local as an executable script that outputs
lines like those I just get those silly results with mounts.

Thanks,

Dan.

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

^ permalink raw reply	[flat|nested] 9+ messages in thread
[parent not found: <4471DDEF.8050203@themaw.net>]

end of thread, other threads:[~2006-05-23  7:43 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-19  8:17 AutoFS Problems with Laptops Daniel Qarras
2006-05-19 13:36 ` Ian Kent
2006-05-22  7:53   ` Daniel Qarras
2006-05-22  8:07     ` Ian Kent
2006-05-22  9:11       ` Daniel Qarras
2006-05-22 10:45         ` Ian Kent
2006-05-22 11:51           ` Daniel Qarras
2006-05-20 23:34 ` Jim Carter
     [not found] <4471DDEF.8050203@themaw.net>
2006-05-23  7:43 ` Daniel Qarras

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.