autofs problem on RHEL 6
following problem occures on our RHEL 6 machines with autofs
after starting autofs all mounts for
/net/
after 5 minutes about, this is our expiration time on which autofs should unmount all unused mounts, it is not possible anymore to mount directories
/net/
command output 'ls /net/
ls: cannot open directory /net/
cd /net/
ls
ls: cannot open directory .: No such file or directory
the mounted directory /net/
but it is not possible to go to one of the other (01 .. 04) directories
directories which has to be mount are stored on an NetApp system
Responses
A few things to clarify - I assume you removed the name of your filer from the output shown above (i.e. /net//export should be /net/filername/export).
Can you show us the output from:
showmount -e <filername> | grep <client IP>
nfsstat
mount
cat /etc/mtab
I am curious what your autofs mount options are for NFS. You might want to try configuring the mount to use vers=3 as I have run into issues with newer clients defaulting to 4. Other options I would be curious about: intr and soft vs hard - as well as TCP vs UDP.
Also - is your filer on the same subnet as the client, or do they have to traverse a router/firewall to talk to one another?
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
