I am using RHEL 6 and not able to mount NFS Share via automount . My Config files are as follows :-
#cat /etc/auto.master /mnt auto.mnt #cat /etc/auto.mnt /nfsshare -fstype=nfs,no_root_squash,rw,auto 172.XX.XXX.XXX:/root/shareit
I have restarted the autofs services a couple of times. When i mount it using the mount command
#mount -t nfs -o rw,no_root,squash 172.XX.XXX.XXX:/root/shareit /mnt
i am able to successfully access my nfs share.
When i check
/var/log/messages it shows
Sep 24 18:43:30 XXXX rpc.idmapd: dirscancb: open(/var/lib/nfs/rpc_pipefs/nfs/clntXXX): No such file or directory
Checking on google I found it is a bug.
MY kerenl version is 2.6.32-358. Please let me know if i am doing any sought of mistake here. If not what will be the solution for the bug. Please note that this is not Production environment and i am practicing at home and i am not registered to Red Hat.