Hi, I am new to Solaris and have a problem with nfs. I have a setup with a 2 Solaris 10 x86 and few Linux machines. I can mount linux nfs shares from solaris using the vers=3 mount option (linux systems are doing nfsv3). However, I cannot mount a shared directory from one of the solaris machines on either solaris or linux (I've tried to restrict to nfsv3 in /etc/default/nfs but that does not help). I get the following error messages:
1. Solaris server to Solaris client (with nfsv4 - default options in /etc/default/nfs):
Jun 5 00:54:23 thor mountd[600]: [ID 664212 daemon.error] No default domain set
Jun 5 00:54:23 thor mountd[600]: [ID 770583 daemon.error] odin denied access to /export/home
Jun 5 00:54:23 thor nfs: [ID 532867 kern.warning] WARNING: NFS server initial call to odin.my.domain.name failed: Permission denied
2. Solaris server to Linux client (with nfsv3 - NFS_SERVER_VERSMAX=3):
Jun 4 17:41:51 thor mountd[9570]: [ID 664212 daemon.error] No default domain set
My /etc/dfs/dfstab has the lines:
share -F nfs -o ro=odin.my.domain.name -d "test share" /export/home
share -F nfs -o ro=ghoti.my.domain.name -d "test share 2" /export/home
In the above thor, odin are Solaris 10 x86 machines while ghoti runs Ubuntu 5.10 (kernel 2.6.12-10-386, as supplied with Ubuntu).
I suspect it has got something to do with the default nfs domain, but isn't it supposed to pick it up from DNS? I tried to set it manually in /etc/default/nfs (NFSMAPID_DOMAIN) to my DNS domain name but that does not help.
Any help will be much appreciated.