View previous topic :: View next topic |
Author |
Message |
UberPinguin Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/13729106874a89eb7c28bc9.jpg)
Joined: 20 Nov 2005 Posts: 510 Location: 2416.94 Miles From Home
|
Posted: Wed Apr 19, 2006 7:17 pm Post subject: OSX Client Can't See NFS Shares on Gentoo Server [SOLVED] |
|
|
I have an OSX-10.4.6 client that I would like to mount NFS shares on from a Gentoo-linux server. The NFS shares work fine from my Gentoo laptop, but when I attempt to mount them on the Mac, I get the error 'NFS Portmap: RPC: Program not registered'. 'rpcinfo -p' from the Mac shows no services running on the server; the same command from the laptop shows:
program vers proto port
100000 2 tcp 111 portmapper
100000 2 udp 111 portmapper
100024 1 udp 32771 status
100024 1 tcp 43106 status
100003 2 udp 2049 nfs
100003 2 tcp 2049 nfs
100021 1 udp 32772 nlockmgr
100021 3 udp 32772 nlockmgr
100021 1 tcp 57414 nlockmgr
100021 3 tcp 57414 nlockmgr
100005 1 udp 601 mountd
100005 1 tcp 604 mountd
100005 2 udp 601 mountd
100005 2 tcp 604 mountd
100005 3 udp 601 mountd
100005 3 tcp 604 mountd
Does anyone know what gives here?
P.S.: Shouldn't the server be running NFS v. 3 or 4?
EDIT: Turns out hosts.allow was misconfigured on the Server; however, I still can't get the Mac to mount the share without using 'mount_nfs -2'. Is there a way to make the NFS Server use v3 or v4 instead of 2?
EDIT2: Bah. Stupid user error: I forgot to compile the right support in the kernel. Everything works beautifully now. _________________
aidanjt wrote: | You see, instead of arguing from ignorance, and fear, there is only one way to verify a theory. And that's not by clutching a black book and begging the sky fairy for deliverance from the mad scientists and their big machines. |
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
bemis Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 30 Mar 2004 Posts: 136 Location: USA
|
Posted: Thu Apr 20, 2006 6:44 am Post subject: |
|
|
sidenote - i've noticed that a lot of macosx clients require the 'insecure' flag on the nfs server (there are probably better (client-side) work arounds for this) - just a thought. _________________ Y'know, somewhere along the line, my brain got wired directly to my fingers .. I'm not even consulted anymore in the decision making processes.
-bemis |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
UberPinguin Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/13729106874a89eb7c28bc9.jpg)
Joined: 20 Nov 2005 Posts: 510 Location: 2416.94 Miles From Home
|
Posted: Thu Apr 20, 2006 9:36 am Post subject: |
|
|
Actually, the server-side config I used:
Code: | /srv 192.168.0.0/24(sync,rw,all_squash,anonuid=1000,anongid=1000,mp) |
On the OSX side of things, specifying when mounting will cause the client to use the secure ports instead of insecure. However (at least as far as I've been able to discern), the 'insecure' option is still required if you want to seamlessly browse to the share. I believe there is a way to configure the automount daemon to use the '-P' flag, but I haven't had time to mess with that yet. _________________
aidanjt wrote: | You see, instead of arguing from ignorance, and fear, there is only one way to verify a theory. And that's not by clutching a black book and begging the sky fairy for deliverance from the mad scientists and their big machines. |
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|