Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* automount does not work
@ 1998-07-07  4:00 Tom Goessi
  1998-07-07  4:00 ` automount does not work [for Tom] Eric Werme - replace nospam with werme
  0 siblings, 1 reply; 2+ messages in thread
From: Tom Goessi @ 1998-07-07  4:00 UTC (permalink / raw)


Hi

I tried to automount a directory from the NIS server.
So 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

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!

But: -the directory is not mounted, even if I change to
a/usr/users/server/home
         -the soft link is not generated
         -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.


If I start NSF in CDE and goto files, make share directories and enter
the servername
the serverdirectory and the mounting-point, the directory gets mounted,
but if I reboot
the computer, only directories are shared which are entered in the fstab
file. All other
directories are cleaned.

Please help me!

Tom





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

* Re: automount does not work [for Tom]
  1998-07-07  4:00 automount does not work Tom Goessi
@ 1998-07-07  4:00 ` Eric Werme - replace nospam with werme
  0 siblings, 0 replies; 2+ messages in thread
From: Eric Werme - replace nospam with werme @ 1998-07-07  4:00 UTC (permalink / raw)


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  <>



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

end of thread, other threads:[~1998-07-07  4:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-07-07  4:00 automount does not work Tom Goessi
1998-07-07  4:00 ` automount does not work [for Tom] Eric Werme - replace nospam with werme

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