> From: Gary Nielson <[EMAIL PROTECTED]>
> To: Redhat list <[EMAIL PROTECTED]>
> Subject: Question about autofs and automount
> 
> I am running automount to automount a /misc directory and am getting an 
> error. It's a default configuration used in my valinux 420 machine and
> from reading the man pages, I can not figure out why it isn't working.
> 
> 1) automount is running, a ps ax | grep automount shows:
> 
> 311 ?        S      0:00 /usr/sbin/automount --timeout 60 /misc file /etc/auto

I assume that's really "/etc/auto.misc" if you did a ps axww.

> 2) /etc/auto.master config file with the following:
> 
> /misc   /etc/auto.misc  --timeout 60
> 
> 3) /etc/auto.misc contains the following:
> 
> kernel          -ro,soft,intr           ftp.kernel.org:/pub/linux
> cd              -fstype=iso9660,ro,nosuid,nodev :/dev/cdrom
> 
> Yet when I cd to /misc/kernel or /misc/cd, I get the following error:
>
> bash: /misc/kernel: No such file or directory
> bash: /misc/cd: No such file or directory

Take a look at /var/log/messages and see what kind of errors you got.  I
suspect your cdrom is already mounted as /mnt/cdrom, so the automounter
declines to mount it.  Check that out with "mount" and if it's mounted, do
a "umount /mnt/cdrom".  Then try again with "ls /misc/cd".

My guess is that the "kernel" mount doesn't work either because
ftp.kernel.org:/pub/linux isn't publicly NFS-exported or because there's a
firewall not allowing NFS through.  Does that mount work if you try it 
manually?  If not, the problem is not with automount, but with permissions
between you and the target filesystem.  Try it with a drive that you know
to be NFS shared/exported on your local LAN.

   pete

        pete peterson
        GenRad, Inc.
        7 Technology Park Drive
        Westford, MA 01886-0033

        [EMAIL PROTECTED] or [EMAIL PROTECTED]
        +1-978-589-7478 (GenRad);  +1-978-256-5829 (Home: Chelmsford, MA)
        +1-978-589-2088 (Closest FAX); +1-978-589-7007 (Main GenRad FAX)
 


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to