Tuesday, September 22, 2009

Mount OS X NFS share from Linux

The nfs server that comes with OS X is picky.



------------ IN THE SERVER OSX ------------
->/etc/exports
/Users/ 192.168.114.128
/Users/ localhost


->/etc/nfs.conf
nfs.server.require_resv_port = 0
nfs.server.mount.require_resv_port = 0

> sudo nfsd enable
> sudo showmount -e



---------FROM LINUX ---------

sudo mount 192.168.114.2:/Users /mnt/OSXUSERS

The user in the linux system MUST have the same UID as in the OSX, the mapall option doesn't work.

1 comment:

  1. Omg thank you so much! I was trying so hard to get this work.

    nfs.server.require_resv_port = 0
    nfs.server.mount.require_resv_port = 0

    Is a the gold for me.

    ReplyDelete