Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
* Very strange problem with NFS automounter
@ 2001-09-25 12:01 Jerome Bellet
  2001-09-25 13:25 ` Joerg-Uwe Tessmer
  0 siblings, 1 reply; 5+ messages in thread
From: Jerome Bellet @ 2001-09-25 12:01 UTC (permalink / raw)


Hi all!

1) The following simple direct automount configuration works fine:
=====================================
auto.master:
/-              /etc/auto.direct

auto.direct:
/home/bob  -rw             remote_host:/users/bob
=====================================

But when I want to configure it for an indirect automount, it does not work
anymore.
I have written this files:
=====================================
auto.master:
/-              /etc/auto.direct
/home           /etc/auto.home

auto.home:
bob  -rw             remote_host:/users/bob

auto.direct: (its content is not important)
=====================================

With these, "cd /home/bob" reports "cd: /home/bob: No such file or
directory".
Any idea ?

2) If I don't put the auto.direct entry in the last auto.master file,
"/sbin/init.d/nfsmount start" issues:
=====================================
Mounting NFS filesystems
Unable to provide NFS automount service
=====================================

Perhaps there are unknown interactions with NIS maps ??
Here are the output of related ypcat requests :
=====================================
bash-2.00# ypcat -k auto.master

bash-2.00# ypcat -k auto.direct
no such map in server's domain
bash-2.00# ypcat -k auto.home

bash-2.00#

=====================================


Any help would be appreciated! I use Tru64 4.0 on both servers.

-Jerome




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

* Re: Very strange problem with NFS automounter
  2001-09-25 12:01 Very strange problem with NFS automounter Jerome Bellet
@ 2001-09-25 13:25 ` Joerg-Uwe Tessmer
  2001-09-25 14:30   ` Jerome Bellet
  0 siblings, 1 reply; 5+ messages in thread
From: Joerg-Uwe Tessmer @ 2001-09-25 13:25 UTC (permalink / raw)


Jerome Bellet wrote:
> 
> Hi all!
> 
> 1) The following simple direct automount configuration works fine:
> =====================================
> auto.master:
> /-              /etc/auto.direct
> 
> auto.direct:
> /home/bob  -rw             remote_host:/users/bob
> =====================================
> 
> But when I want to configure it for an indirect automount, it does not work
> anymore.
> I have written this files:
> =====================================
> auto.master:
> /-              /etc/auto.direct
> /home           /etc/auto.home
> 
> auto.home:
> bob  -rw             remote_host:/users/bob
> 
> auto.direct: (its content is not important)
> =====================================
> 
> With these, "cd /home/bob" reports "cd: /home/bob: No such file or
> directory".
> Any idea ?
> 
> 2) If I don't put the auto.direct entry in the last auto.master file,
> "/sbin/init.d/nfsmount start" issues:
> =====================================
> Mounting NFS filesystems
> Unable to provide NFS automount service
> =====================================
> 
> Perhaps there are unknown interactions with NIS maps ??
> Here are the output of related ypcat requests :
> =====================================
> bash-2.00# ypcat -k auto.master
> 
> bash-2.00# ypcat -k auto.direct
> no such map in server's domain
> bash-2.00# ypcat -k auto.home
> 
> bash-2.00#
> 
> =====================================
> 
> Any help would be appreciated! I use Tru64 4.0 on both servers.
> 
> -Jerome

Please can you tell me, what for parameters you have in
the automount command?

i.e.: automount -m -h -f /etc/auto.master

The "-f" requirers the full pathname from the auto,master file.
I have had the same problems with automount at the first use.

	Joerg-Uwe
-- 
Joerg-Uwe Tessmer              Universitaet Potsdam
Tel.: +49+331-9771613          Institut fuer Physik        
Fax.: +49+331-9771142      Lehrstuhl Nichtlineare Dynamik
http://www.agnld.uni-potsdam.de/~joerg


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

* Re: Very strange problem with NFS automounter
  2001-09-25 13:25 ` Joerg-Uwe Tessmer
@ 2001-09-25 14:30   ` Jerome Bellet
  2001-09-26  8:14     ` Joerg-Uwe Tessmer
  0 siblings, 1 reply; 5+ messages in thread
From: Jerome Bellet @ 2001-09-25 14:30 UTC (permalink / raw)


Joerg-Uwe,

Yes I use -f /etc/auto.master.
I've also tried the two other options you suggested, but to no avail...





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

* Re: Very strange problem with NFS automounter
  2001-09-25 14:30   ` Jerome Bellet
@ 2001-09-26  8:14     ` Joerg-Uwe Tessmer
  2001-09-26 11:36       ` Jerome Bellet
  0 siblings, 1 reply; 5+ messages in thread
From: Joerg-Uwe Tessmer @ 2001-09-26  8:14 UTC (permalink / raw)


Jerome Bellet wrote:
> 
> Joerg-Uwe,
> 
> Yes I use -f /etc/auto.master.
> I've also tried the two other options you suggested, but to no avail...

Jerome,

hmm, mysterious. I have the same configuration and it works well.
Here my auto.* files:

/etc/auto.master:
=================
#
# mount-point           mapname                 mount-options
#
/-                      /etc/auto.direct        -rw
/home                   /etc/auto.home          -rw

...

/etc/auto.direct:
=================
#
# key               mount-options               location
#
/usr/local      -rw     zuse:/usr/local
/usr/pub        -rw     zuse:/usr/pub

...

and for indirect maps i.e. auto.home:
(my new version)
=====================================


and for indirect maps i.e. auto.home:
(my old version)
=====================================

#
#
#/etc/auto.home
joerg       -rw     kleist:/home/joerg

my /etc/rc.config.common
========================

...
NFSLOCKING="1"
export NFSLOCKING
AUTOMOUNT="1"
export AUTOMOUNT
AUTOMOUNT_ARGS="-m -h -f /etc/auto.master"
export AUTOMOUNT_ARGS
...
...

Hope this can help you.

	Joerg-Uwe

-- 
Joerg-Uwe Tessmer              Universitaet Potsdam
Tel.: +49+331-9771613          Institut fuer Physik        
Fax.: +49+331-9771142      Lehrstuhl Nichtlineare Dynamik
http://www.agnld.uni-potsdam.de/~joerg


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

* Re: Very strange problem with NFS automounter
  2001-09-26  8:14     ` Joerg-Uwe Tessmer
@ 2001-09-26 11:36       ` Jerome Bellet
  0 siblings, 0 replies; 5+ messages in thread
From: Jerome Bellet @ 2001-09-26 11:36 UTC (permalink / raw)


Your files are very similar to mine indeed.
And mysteriously it works today!!
The problem was related to NIS updates, I think.
BTW I'm going to put the auto.* files in NIS maps, it would be better in my
environment.

-Jerome




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

end of thread, other threads:[~2001-09-26 11:36 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-09-25 12:01 Very strange problem with NFS automounter Jerome Bellet
2001-09-25 13:25 ` Joerg-Uwe Tessmer
2001-09-25 14:30   ` Jerome Bellet
2001-09-26  8:14     ` Joerg-Uwe Tessmer
2001-09-26 11:36       ` Jerome Bellet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox