MacOSX - Exporting NFS resources for Mac clients


[MacOSX] Exporting NFS resources for Mac clients







Intro


A Network File System (NFS) software allows a PC (an NFS client) connected to a network to access the filesystems present on the hard disk of another computer (an NFS server) along the same network.
It may happen that when you are trying to mount NFS resources under OSX, you have to be confronted with that recurring problem:

PBG4:~  john$ sudo mount -t nfs server:/export nfs
mount_nfs: /Users/john/nfs: Operation not permitted


After verification of the correct password, and some research, the conclusion is that Darwin being a BSD; has the same problems like other BSD to address to a NFS server from unreliable ports. (> 1024)

Solution


On clients from which the BSD are known, an option is provided to allow the export of resources.
You just have to modify the folder : /etc/exports:

/export 55.2.10.*(rw,insecure)


Request that the system read its configuration to take these changes into account:
sudo exportfs -ra

Try again the procedure from Darwin.

PBG4:~ john$ sudo mount -t nfs server:/export nfs
PBG4:~ john$


Conclusion:
You should now be able to mount NFS resources under OSX.
Published by netty5 - Last update on May 14, 2009 07:26 AM by jak58
This document entitled « MacOSX - Exporting NFS resources for Mac clients » from Kioskea.net (en.kioskea.net) is made available under the Creative Commons license. You can copy, modify copies of this page, under the conditions stipulated by the licence, as this note appears clearly.
Suggestions
  •  MacOSX - Exporting NFS resources for Mac clients
  •  MacOSX - Mounting NFS resources » Tips : [MacOSX] Mounting NFS resources Once you succeeded to export your NFS resources Learn more:Exporting NFS resources for Mac clients Opening each time a shell to mount a resource can quickly become tiresome. As the niload command,...
  •  Client/Server Environment » Reviews : Introduction to Client/Server Architecture Numerous applications run in a client/server environment, this means that client computers (computers forming part of the network) contact a server, generally a very powerful computer in terms of...
  •  [Amazon Cloud Drive] Clients for Windows and MacOSX » Tips : [Amazon Cloud Drive] Clients for Windows and MacOSX Amazon recenly improved its online storage and file sharing services, Amazon Cloud Drive. There are now two client applications for Windows and Mac OS X operating system from Apple. The...
  •  Is there a native FTP client under Mac? » Tips : Is there a native FTP client under Mac? Issue I would like to know if there is a native FTP client for Mac that is able to connect to an FTP server. (for version 10.5 or 10.6 of Mac OSX) Solution In the Finder menu Go> Connect to Server...
  •  Cannot access shared folders remotely (Solved) » Best answer: <gras>Dear sir/madame In my Lan office on windows XP2 i shared a folder and error is that (my Folder is not accessible. You might not have permission to use this network resource. Contact the administrator of this server to find out if you ha
Entering a Tilde on MAC
FireFox - tab and form