autofs/automount doesnt work

autofs/automount doesnt work

Post by Markus Schul » Thu, 26 Oct 2000 04:00:00



Okay i have read much stuff about it but it doenst work for me.
I have the following auto.master file in /etc
/misc   /etc/auto.misc

and the following auto.misc
dos1            -fstype=auto            :/dev/hdc5

the directory /misc exists and i can manually mount /dev/hdc5.
I've tried also some fstype options like -fstype=vfat and so one.

if i change to the to /misc/dos1 the shell says:
bash: cd: /misc/dos1: file or directory doesnt exists.
and in my syslog:
lookup(program): looking up dos1
lookup(program): lookup for dos1 failed

What is wrong?

Markus Schulz

 
 
 

autofs/automount doesnt work

Post by Markus Schul » Thu, 26 Oct 2000 04:00:00




Quote:> Okay i have read much stuff about it but it doenst work for me.
> I have the following auto.master file in /etc
> /misc   /etc/auto.misc

> and the following auto.misc
> dos1            -fstype=auto            :/dev/hdc5

> the directory /misc exists and i can manually mount /dev/hdc5.
> I've tried also some fstype options like -fstype=vfat and so one.

> if i change to the to /misc/dos1 the shell says:
> bash: cd: /misc/dos1: file or directory doesnt exists.
> and in my syslog:
> lookup(program): looking up dos1
> lookup(program): lookup for dos1 failed

> What is wrong?

> Markus Schulz

I've found the problem.
The auto.mist file has the executable flag and in this case the autofs
script use the program option instead of file option.
Now it works fine.

Markus Schulz

 
 
 

1. BUG?: bos.net.nfs.client.4.3.2.7 breaks automount/autofs

While doing a fresh install of AIX 4.3.2 on an 43P (332MHz 604e) with
the latest set of available patches from fixdist we noticed that the
automounter (ie. AutoFS) fails to mount directories sometimes.

Since /usr/sbin/automount belongs to bos.net.nfs.client and we don't
have any problems with a machine that has bos.net.nfs.client.4.3.2.5
installed we believe that the problem is in the latest available version
of bos.net.nfs.client which is 4.3.2.7 ...

Specifically, 4.3.2.6 has problems mounting SunOS4-boxes and in 4.3.2.7
we are having random problems mounting Solaris2.6 and other OS's...

Are there others out there that have this problem (there should be ... ;)

Is it a reported bug (I know there should be some fancy www-based
search-thingie somewhere ;) or not ??

/Nikke - who doesn't like patches that breaks things...
--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

---------------------------------------------------------------------------
 Save gold...it has VALUE, not a printed price
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

2. Need help formating disks under 4.3bsd!

3. Q: Setting off automount, automountd, autofs

4. Installing 2.6 on x86 with Win 98

5. So, linux can't automount home directories using autofs and NIS

6. File "" not found

7. Terminating Automount (autofs)

8. samba --> w2k very slow traffic

9. autofs vs. Solaris automount configuration file format

10. autofs automount REDHAT6

11. autofs, automount, and mount options

12. Autofs/Automount on RedHat Linux Kernal 2.4.20-8 (Release 9) on i686

13. Automount/autofs attempts to mount partitions on its own...