From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,e1f5dc23b97438a2 X-Google-Attributes: gidfee84,public From: nospam@zk3.dec.com (Eric Werme - replace nospam with werme) Subject: Re: automount does not work [for Tom] Date: 1998/07/07 Message-ID: <6ntfma$fd1$1@nntpd.lkg.dec.com>#1/1 X-Deja-AN: 369256458 References: <35A21F90.3F352F3D@no-spam.ife.ee.ethz.ch> Organization: Digital Equipment Corporation Reply-To: (Replace nobody with werme) nobody@zk3.dec.com Newsgroups: comp.unix.osf.osf1 Tom Goessi 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 <> <> <> Compaq Computer Corp. <> <> <> http://www.cyberportal.net/werme <>