Hi,
A customer uses:
* RedHat 5.11,
* autofs-5.0.1-0.rc2.184.el5
to intensively access a NFS server from two NFS clients behind an SSH
haproxy.
The error "Permission denied" happens a few hours later after NFS client
reboot.
The NFS client is restarted to solve the issue (not the NFS server).
[root@uysubsp06 ~]# su - svsi_tem
su: warning: cannot change directory to /HOME/svsi_tem: Permission denied
$
svsi_tem is an autofs mounted home.
This issue seems similar to http://nfs.sourceforge.net/#section_c, C5
but i don't know how to debug the eventual /etc/exports misconfiguration.
The exports file sample is attached to the mail. I am focused on the
following line:
/export/homedirs/svsi @SVSI_NFS(rw,sync,insecure)
SVSI_NFS is a map LDAP netgroup.
I proposed the customer to try temporarily the following syntax:
/export/homedirs/svsi
adresse_IP_host1(rw,sync,insecure) adresse_IP_host2(rw,sync,insecure)
to validate the error diagnostic.
Thanks for any help
Simon
#
/export/private_exp uysubsp03(ro,sync) uysubsp04(ro,sync)
/export/private_prj uysubsp05(ro,sync) uysubsp06(ro,sync)
/export/private_ptn uysubsp07(ro,sync) uysubsp08(ro,sync)
#
/export/homedirs/teamxiso/eprod uyxpmur01(rw,sync,insecure) uyxpmup01(rw,sync,insecure) ueczhth01(rw,sync,insecure) ueczhth02(rw,sync,insecure) @SVSI_NFS(ro,sync,insecure) u000jvi01(rw,sync,insecure)
/export/homedirs/teamxiso/eprod/Livrables/Devt hydra(rw,sync,insecure) u000jvi01(rw,sync,insecure)
/export/homedirs/teamxiso/eprod_logs u000jvi01(rw,sync,insecure) @SVSI_NFS(rw,sync,insecure)
/export/homedirs/teamxpad @SVSI_NFS(rw,sync,insecure)
/export/homedirs/teamenvu @SVSI_NFS(rw,sync,insecure)
/export/homedirs/teamgtia @SVSI_NFS(rw,sync,insecure)
/export/homedirs/svsi @SVSI_NFS(rw,sync,insecure)
/export/homedirs/vsct @SVSI_NFS(rw,sync,insecure)