Server CentOS 6.5 and Selinux is permissive
My NFS server share in /etc/exports
/home/unixmen/ 10.0.0.0/24 (rw,sync,no_root_squash)
Client running on another CentOS 6.5 host , is able to mount normally..
When I try automount with autofs, nothing works, did lot to google search of this issue to figure out the root cause, yet unsuccessful.
I am wondering if I am doing something basic error..
Please see the autofs configs
~]$ cat /etc/auto.master
#/net -hosts
#+auto.master
/misc /etc/auto.misc
and
~]$ cat /etc/auto.misc
unixmen -fstype=nfs 10.0.0.14:/home/unixmen
I did change the log level to debug in /etc/sysconfig/autofs, post restarting the autofs and log says
Jun 27 17:20:00 ganeshh automount[12322]: mounted indirect on /misc with timeout 300, freq 75 seconds
Not sure if this is related to mount issue
Recently now, I get this data in the log
Jun 27 18:11:49 ganeshh automount[12322]: expire_proc: exp_proc = 3063937904 path /misc
Jun 27 18:11:49 ganeshh automount[12322]: expire_cleanup: got thid 3063937904 path /misc stat 0
Jun 27 18:11:49 ganeshh automount[12322]: expire_cleanup: sigchld: exp 3063937904 finished, switching from 2 to 1
Jun 27 18:11:49 ganeshh automount[12322]: st_ready: st_ready(): state = 2 path /misc
eventually there is not mounted files in /misc directory
clientcan mount10.0.0.14:/home/unixmenmanually, yes? You can confirm thatls -al /misc/unixmenreturns a file-not-found error, yes? My next point is I've never seen-fstype=nfsin an automount table before; my belief is that's implied and may not be valid to state. Could you try removing that, restartingautomountand then doingls -la /misc/unixmen? – MadHatter Jun 27 '14 at 06:59automount, you did thels? Also, can you confirm the two previous points in my comment? – MadHatter Jun 27 '14 at 07:04ls -l, I asked forls -al, and (sorry to ask) can you confirm that you're doing it on/misc/unixmen, not just/misc? Your question makes that unclear. I presume that showed only.and.., but it would be useful to have it confirmed - and better still to see it (cut-and-paste both command and output into your answer). Still seeking confirmation on my first two points as well. – MadHatter Jun 27 '14 at 07:07aflag. It reveals useful information; the zero size of.is an indicator thatautomountis running and possesses the directory. Thirdly, I didn't ask if you'd seen the unximen directory, I asked what you got when you didls -al /misc/unixmen. – MadHatter Jun 27 '14 at 07:20ls -al /misc/unixmen total 8472 drwxr-xr-x. 2 nobody nobody 4096 Jun 25 16:23 . drwxr-xr-x. 3 root root 0 Jun 27 18:52 .. -rw-r--r--. 1 nobody nobody 137868 Jun 24 12:00 zabbix-2.2.0-1.el6.i386.rpm
I did see it now, so I was not testing it properly?
– user173639 Jun 27 '14 at 07:23