Bruno Domingues:
I was hoping someone could help me with a autofs question.
RH3 - 10.10.12.59/22 (used as nfs-server, firewalld off, selinux off)
RH4 - 10.10.12.79/22 (used as nfs-client,autofs, firewalld off, selinux off)
• On RH3
$ vi /etc/exports
/nfs-share 10.10.12.79(rw,no_root_squash)
$ systemctl restart nfs-server
$ exportfs -avr
• On RH4
$ mount -t nfs -o rw 10.10.12.59:/nfs-share /test
Confirmed able to access and write to the share
$ cd /net/10.10.12.59/nfs-share
Now I’m trying to configure a autofs directory but not sure why I can’t list or write to the directory however if I use the lazy mount I’m able to map and have rw access
Able to write however when creating the directory and map files I can’t read the share folder/files or write to the directory
$ mkdir /nfs-share_autofs
$ vi /etc/auto.master
/nfs-share_autofs /etc/auto.nfs-share --timeout=180
$ vi /etc/auto.nfs-share
nfs-share_autofs -fstype=nfs4,rw,soft,intr 10.10.12.59:/nfs-share
$ systemctl restart autofs
$ cd /nfs-share_autofs
Unable to list files or write to directory
Can you advise what I’m doing wrong @Aaron Lockhart?