nfs server on ubuntu doesn't play nice with nfs client on solaris
has anyone faced this situation?
I have a nfs server setup on a ubuntu machine. exportfs shows the following /tmp <world> /export <world> I'm able to access these directories from other linux clients (running auto mounter daemon) by typing "/net/ubuntu-hostname/export" When I type "/net/ubuntu-hostname/export" from a solaris 10 client, I get "Permission Denied" error. The following are the two lines from my /etc/exportfs file on the ubuntu machine. /tmp *(rw,sync,no_subtree_check,insecure) /export *(rw,sync,no_subtree_check,insecure) How to setup ubuntu nfs server so that it works with solaris10 clients? Appreciate any help... |
Just curious if there is a firewall up on the ubuntu machine and if so is the needed ports for the services open. NFS4 needs only one and NFS3 needs multiple ports open.
Brian |
no, there are no firewall on any of the systems. In fact I'm able to access the nfs exports without any problem from other linux systems. Only from Solaris, I get "Permission Denied" error
|
Never used Solaris much so no idea. Might try the share like this.
/dvdrw/ *(rw,async,all_squash) Brian |
Thanks Brian1. Tried that too. No success.
I also tried out a few more things. Put an OpenSuSE machine and configure it's nfs server exactly same as the Ubuntu one. To my surprise, Solaris clients can access the files shared by OpenSuSE with out any problems. The problem is only when the nfs client machine is Solaris and the nfs server is ubuntu. |
Only other thought is maybe conflict issue with NFS3 to NFS. maybe the ubuntu is NFS4 and Solaris current NFS kernel has no NFS4 support. How to tell I don't know.
Brian |
Quote:
|
i'm guessing it has to do something with some settings/flags for the nfs server on ubuntu. Since, I'm no NFS expert, I can't figure this out
|
I would suggest you to use Wireshark to snoop the NFSv4 traffic between both of the Ubuntu an OpenSuse boxes and the Solaris one. Comparing them should help figuring out what's wrong.
|
Problem solved
Hi all, 6 months too late. I ran into the same problem, mostly getting "security mode does not match the server exporting".
There is a nice writeup on the issue and how to fix it and get the machines talking to each other. Unfortunately I can't yet post a url, so I'll follow up on this Jiri |
got it to work
looks like Solaris uses NFS version 4 and Linux uses NFS version 3
So, I set "NFS_CLIENT_VERSMAX=3" on solaris on /etc/default/nfs and I can now access NFS server on Linux from a Solaris NFS Client |
Solution link
Sorry, beeing a newbie here, I couldn't post a link yesterday, so here it is. This guy apparently knows his stuff:
http://blogs.sun.com/tdh/entry/some_...nteractions_at The only thing I was missing was sec=sys in my exports as in spot.home.net(rw,sec=sys,insecure,nohide,no_subtree_check) Jiri |
All times are GMT -5. The time now is 08:49 AM. |