[MacOSX] Exporting NFS resources for Mac clients

Last update on May 14, 2009 07:26 AM by jak58
Published by netty5

[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.
Best answers for « Exporting NFS resources for Mac clients » in :
[MacOSX] Mounting NFS resources Show [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,...
How to make a video clip ? ShowMaking your video clip Introduction With video With a camcorder Writing the script Recording Acquisition Video composition With the pictures With the pictures Video composition Software to make a slideshow With videos and...
Print Screen (Windows, Mac OS X and Unix/Linux) ShowHow to make a Print Screen (Windows, Mac OS X and Unix/Linux) What is a Print Screen? How to make a Print Screen (Windows) How to make a Print Screen (Mac OS X) How to make a Print Screen (Unix/Linux) Screen Capture Softwares What is a...
How to convert a video clip in .flv format and vice versa ShowIntroduction Here's a tip for you to simply convert a video clip of (almost) any format to .flv format. This trick will be useful for dealing with the video post or publish your video on the web. How to convert to and from the .flv...
Download Resource Hacker ShowResHack (Resource Hacker) is a freeware allowing to view, change, rename, remove or extract resources in executable files (.exe, .ocx, .dll, .res, etc…). It has an built-in compiler and decompiler: To see the cursors, icons, BMP, GIF, AVI,...
Download AVG Anti-Virus Free Edition ShowDescription: AVG Antivirus Free Edition is a free antivirus. It gives you full protection of your system. It is easy to use, simple clicks needed. The software consumes low resources of the system to operate. It has an Automatic update functionality,...
Networking - 3-Tier Client/Server Architecture ShowIntroduction to 2-Tier Architecture 2-tier architecture is used to describe client/server systems where the client requests resources and the server responds directly to the request, using its own resources. This means that the server does not...
Client/Server Environment ShowIntroduction 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...
Networking - Thick client ShowThick client The term "thick client" as opposed to thin client describes a graphical client application which runs on the user's operating system. A thick client usually has greater processing capacity and may have a sophisticated graphic...