Why can’t I share an automounted directory using NFS in Solaris 10?
Friday, April 3rd, 2009Don’t worry, it’s not a trick question. I honestly don’t know just yet. If I did, I’d be writing a post called “How to share an automounted directory using NFS in Solaris 10″. I dream that one day soon I can do that.
In the meantime, I’m writing up the scenario that doesn’t work in the hope that it a) provides me with a blinding flash of insight, b) lets other people know it’s not just them or c) prompts someone who knows the answer to drop it in the comments. Come on, you know you want to!
The General Idea
I’ve got a machine running Solaris 10 10/08 with several user accounts. Home directories for these accounts are in /export/home/. They are being automounted in /home. I want to share the /home/username directories usingĀ NFS. Should be simple right?
The Setup
/etc/auto_master:
/home auto_home -nobrowse
/etc/auto_home:
fred box1:/export/home/fred
/etc/dfs/dfstab:
share -F nfs /home/fred
After confirming that NFS is running and online (svcs -a | grep nfs), we activate the shares:
# shareall share_nfs: /home/fred: Operation not applicable
Sharing /export/home/fred works just fine.
The official Sun docs suggest that the “Operation not applicable” error means I should contact my vendor for an upgrade. Right. I’m fairly sure this was working in Solaris 8, but need to double check.
