Based on advise I received in one of the LinuxQuestions forums a while back I configured autofs on my CentOS 6 workstation in place of a couple of scripts to mount and unmount 5 nfs exported directories on my server. The autofs process seems to work reasonably well with three exceptions. Here are my configuration files:
/etc/auto.master
Quote:
+auto.master
/t10 /etc/auto.misc
|
and /etc/auto.misc
Quote:
data0 -fstype=nfs taylor10:/data0
data1 -fstype=nfs taylor10:/data1
data2 -fstype=nfs taylor10:/data2
data3 -fstype=nfs taylor10:/data3
data4 -fstype=nfs taylor10:/data4
|
The first issue... If I open /t10 on the workstation in Nautilus or gnome-commander it appears to be empty. The nfs mount points do not show up until I access them in some other manner such as cd/t10/data0 in a terminal - this will cause data0 to display or I can click on a bookmark in Nautilus to one of the nfs mount points or invoke a program which contains a link to one of the mount points.
And the second issue... when the server is shut down - its normal state as I use it basically for backup storage - I find a long delay when I click on a location launcher which opens a directory on the workstation (unrelated to any of the nfs locations) in Nautilus. The delay is only 2 - 3 seconds but as the response is normally just about instantaneous it seems like a long time.
Finally, and I just discovered this, if I have accessed the nfs locations in Nautilus and I then close Nautilus and shut down the server - Nautilus will not run again for about 30 - 40 seconds. It starts to launch and then dies. I kept trying and it eventually runs again.
Any advise appreciated.
TIA,
Ken
p.s. Is the "+auto.master" in auto.master correct? or should it be +auto.misc? I have no idea why that is in the config file. I must have copied it from some examples I had seen or perhaps it was in the default file when I installed autofs.