I have a CentOS 7 server named
server1.example.com using Samba to share
//server1.example.com/share is the path to the share. I am not able to get CentOS clients to mount
/mnt/myShare using AutoFS.
- AutoFS is active and running on both the CentOS clients and server.
- Both Firewalld and Iptables are disabled on both the CentOS clients and server.
- SELinux is disabled on both the CentOS clients and server.
- The permissions of /srv/samba/share and /mnt/myShare are 777.
- CentOS clients are able to mount the share as CIFS using the mount command.
- CentOS clients are able to mount the share as CIFS using /etc/fstab.
- CentOS clients are able to mount an NFS share using AutoFS.
The CentOS client has the following configuration.
/mnt /etc/auto.cifs --timeout=60 --ghost
myShare -fstype=cifs,username=myUsername,password=myPassword ://server1.example.com/share
The mount command shows that AutoFS wants to mount /etc/auto.cifs.
/etc/auto.cifs on /mnt
However, AutoFS is not mounting
/mnt/myShare. I am unsure what needs to be done for AutoFS to mount the share on the CentOS clients.