AUTOFS not mounting filesystem
My autofs says this FS is mounted /Data2, but when I go to the directory, it's empty, not mounted.
The share and path are correct as I can mount it manually :
mount -vvv -t cifs -o credentials=/etc/credential.txt,file_mode=0775,dir_mode=0775,uid=0,gid=994 "//boca1/Data/AES/Boca 250/1 Wrksp" /Data2
My configuration :
cat etc/redhat-release
Red Hat Enterprise Linux Server release 7.3 (Maipo)
cat installed-rpms |grep autofs
autofs-5.0.7-56.el7.x86_64
cat etc/auto.master
/Data2 /etc/auto.cifs --timeout=60
cat etc/auto.cifs
Data2 -fstype=cifs,rw,credentials=/etc/.cred.txt ://boca1/Data/AES/Boca\040250/1\040Wrksp
cat sos_commands/systemd/systemctl_list-units_--all |grep autofs
autofs.service loaded active running Automounts
filesystems on demand
cat proc/mounts
/etc/auto.cifs /Data2 autofs rw,relatime,fd=6,pgrp=18490,timeout=60,minproto=5,maxproto=5,indirect 0 0
cd /Data2
ls -l
ls -la
total 4
drwxr-xr-x. 2 root root 0 Apr 13 10:57 .
dr-xr-xr-x. 26 root root 4096 Apr 13 10:57 ..
Any ideas will be appreciated
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
