[CentOS] mounting a CentOS 5.5-based NFS partitions from a Mac OS X machine

Tom H tomh0665 at gmail.com
Wed Jul 6 02:13:02 UTC 2011


On Tue, Jul 5, 2011 at 1:11 PM, Rob Kampen <rkampen at kampensonline.com> wrote:
> Boris Epstein wrote:
>>>
>>> Is the OS X firewall blocking nfs?
>>>
>>> How are you mounting the export? If you're not trying it from within
>>> Terminal, does it work from within it?
>>
>> The OS X firewall dos not appear to be a factor. Actually it works
>> just fine when I turn off the firewall on the CentOS end.
>>
>> Could it be that even when I am trying to mount over the TCP the NFS
>> client on the Mac OS X side still tried to connect to some UDP port? I
>> am asking that because everyone else mounts just fine with the
>> firewall up on the server end.
>
> As I recall OS X only does NFS via TCP - other clients can use UDP - make
> sure your CentOS firewall has the TCP ports open.

OS X does use TCP but I've just run tcpdump on an F15 VM while
mounting and unmounting an NFS share from my Mac. Both the mount and
umount result in four UDP packets, two to the portmapper and two to
random ports.

I don't have time to experiment further right now but perhaps opening
up 111 UDP will allow your Macs to mount the NFS shares.



More information about the CentOS mailing list