Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
OSX Client Can't See NFS Shares on Gentoo Server [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
UberPinguin
Guru
Guru


Joined: 20 Nov 2005
Posts: 510
Location: 2416.94 Miles From Home

PostPosted: Wed Apr 19, 2006 7:17 pm    Post subject: OSX Client Can't See NFS Shares on Gentoo Server [SOLVED] Reply with quote

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
View user's profile Send private message
bemis
Tux's lil' helper
Tux's lil' helper


Joined: 30 Mar 2004
Posts: 136
Location: USA

PostPosted: Thu Apr 20, 2006 6:44 am    Post subject: Reply with quote

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
View user's profile Send private message
UberPinguin
Guru
Guru


Joined: 20 Nov 2005
Posts: 510
Location: 2416.94 Miles From Home

PostPosted: Thu Apr 20, 2006 9:36 am    Post subject: Reply with quote

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
Code:
mount -o"-P"
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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
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