Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: nospam@zk3.dec.com (Eric Werme - replace nospam with werme)
Subject: Re: automount does not work [for Tom]
Date: 1998/07/07	[thread overview]
Message-ID: <6ntfma$fd1$1@nntpd.lkg.dec.com> (raw)
In-Reply-To: 35A21F90.3F352F3D@no-spam.ife.ee.ethz.ch

Tom Goessi <goessi@no-spam.ife.ee.ethz.ch> writes:

> I generated the following files:

>auto.master:

># master map for automounter
>#
>/usr/users/server            /etc/auto.server
>-rw,hard,intr,nfsv3

>auto.server:

># indirect map for server-automounts
>#
>home            server.domain.com:/usr/server/home

>both are in /etc.


>I start the automounter with the following command:
>automount -M /a -f /etc/auto.master

Debugging hints:
If you start automount with -T -T it will prevent it from daemonizing and
will print all sorts of useful info.

Look in daemon.log for syslog messages.  Use the -v option for more of them.

>This should mount the network directory
>server.domain.com:/usr/server/home/
>into a/usr/users/server/home/ and make a soft link into
>/usr/users/server/ named
>home -> a/usr/users/server/home/.
>This should be as described in manual!

The only mount that should get done is to intercept accesses to
/usr/users/server - use mount -e to check that.

>But: -the directory is not mounted,

server.domain.com:/usr/server/home/ should not be mounted.

 even if I change to
>a/usr/users/server/home

Then server.domain.com:/usr/server/home/ should be mounted.

>         -the soft link is not generated

That's part of the mount.  (BTW, the softlink only resides in a small
NFS pseudo-server that is part of automount.  Yes, it's confusing!)

>         -something is mounted into /usr/users/server/, then I don't
>have write access
>            to this directory and files, which was in this directory
>cannot be accessed anymore;
>            the directory is empty after this procedure.

Mounting on top of a active directory makes the covered directory and
its contents inaccessible.  This is true of mount physical file systems
too.

Play with the -T stuff and that should help a lot.  BTW, never stop
automount with kill -9, it will badly mess up things.
--
<>    Eric (Ric) Werme     <> The above is unlikely to contain   <>
<>    ROT-13 addresses:    <> official claims or policies of     <>
<>   <jrezr@mx3.qrp.pbz>   <> Compaq Computer Corp.              <>
<> <jrezr@plorecbegny.arg> <>  http://www.cyberportal.net/werme  <>



      reply	other threads:[~1998-07-07  4:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-07-07  4:00 automount does not work Tom Goessi
1998-07-07  4:00 ` Eric Werme - replace nospam with werme [this message]
read-only archive

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