Faced with a trouble using Autofs in SmartOS. I added single line in /etc/auto_master:
/- auto_share
Here is /etc/auto_share's content:
/Public -rw 10.0.1.20:/nfs/Public
10.0.1.20 is WD MyCloud NAS, that why /nfs/ needed.
Anyway, simple mount 10.0.1.20:/nfs/Public /Public_test works well, but after
svcadm enable autofs && automount
I see new folder /Public but ls /Public says No such file or directory.
I'm little bit confused, because same case works like a charm in Linux and OS X, but not in SmartOS. Am I missing something?
I tried also inderect share /root auto_share & Public 10.0.1.20:/nfs/Public and adding -fstype=nfs, but no luck.
Well, I just should to get more info about Solaris administration tools.
gave me information that some services necessary for autofs are offline:
So, a couple of commands...
...and everything works like a charm. Sorry for noob question) Hope this information will be useful for someone.