NFS mount

I have trouble mounting nfs-exported disks on my ubuntu server.

I don't think it's the servers configuration:
(part of /etc/exports)
/dsk/mp3 10.42.42.*(rw,sync,insecure)

and my mount command on the apple should be ok as well:
sudo mount_nfs black:/dsk/mp3 /nfs_photo

The respons on the command are:
mount_nfs: /nfs_photo: Operation not permitted.

As far as I can see there are no ownership issues or such stuff.
My popcorn hour mounts the same just fine

Any one have any clue? I am new on mac but quite old on Linux systems so I do know my way around nfs usally.

MacBook Pro, Mac OS X (10.6.2)

Posted on Nov 17, 2009 2:37 PM

Reply
12 replies

Nov 17, 2009 10:16 PM in response to K T

Hi all. (and tanks for the reply K T)

I realized that my problem has more to do with the finder than nfs, i think :-/

The nfs-disk mounts just fine. I have been trying to access the mount with finder through the mount-point and that what fails. (If i do it with a terminal it works i realized)
The msg is simple enough:
The folder "nfs-photo" can't be opened because you don't have permission to see it's content.

But why can I access it trough the terminal if it's a permission-problem?

Have to rush of to work 😟
I will investigate more after work.

Nov 19, 2009 11:41 AM in response to K T

Been doing some tests.

I can do:
sudo mount -t nfs black:/dsk/lacie500 /dsk/lacie500

Doing as I think the same in disk utillity it does not work.

mount command list mounted disks as follows:
my command line mount:
black:/dsk/lacie500Gb on /dsk/lacie500Gb (nfs)
disk utillity mount:
map -static on /dsk/mp3 (autofs, automounted, nobrowse)

What am I missing in disk utillity?

Jan 2, 2010 7:41 PM in response to Merged Content 1

I am having this exact same problem. Everything worked fine in Leopard, but when I upgraded to Snow Leopard, my NFS mount broke.

I'm running a Linux Ubuntu server with 500 GB of space, and I'm exporting /data/Music as read-only to my 192.168.1.255 subnet.

I mount nfs://192.168.1.2:/data/Music to /Users/Shared/Music (read-only). I then link /Users/Shared/Music to all user's desktops (ln -s /Users/Shared/Music ~/Desktop/Music). That works fine. And, I can browse ~/Desktop/Music in a terminal window with no problems. But when I try to click the "Music" icon on my desktop, it fails with the same error message: "The Folder 'Music' cannot be opened because you don't have permission to see the contents."

If you've figured this out, could you please post what you did to get it working?

Jan 4, 2010 10:44 AM in response to allan.parsons

I do have the same problem. I tried to mount via Disk Utility but didn't work.
From comman line I have the so known "Operation not permitted".

This former discussion http://discussions.apple.com/thread.jspa?threadID=2151501&tstart=-1 said it might be related to insecure ports, but I have already checked this. What's more, I can connect wiht a CentOS OS based computer without problem.

My "server" is a Synology DS190j.

If someone has solved, please do post.

Jan 8, 2010 4:06 PM in response to jv.imac

Ok, this is my "walkaround":



I have downloaded and installed the NFS Manager: http://www.versiontracker.com/dyn/moreinfo/macosx/9301
This is some kind of fronted for the built in capabilities of NFS that OSX has (and any other unix-like OS) . Connecting my NFS server has been extremely easy. It is similar to the Disk Utility app., but unlike it, NFS Manager worked fine for me.



When I find the problem why I couldn't connect without that manager I'll post.

Jan 22, 2010 2:05 PM in response to jv.imac

I've been having the same problem with an NFS mount from a linux box not working in the finder when I mount the volume in v10.6.2. I can not copy files to the NFS mount in finder, but I can create/delete directories in the finder. Everything works correctly if I use the command line to get to the directory. I also frequently get errors that the NFS mount connection is interrupted or disconnected when I have it open in the Finder, but the volume is visible and working without error via the command line.

I tried the options suggested (nodev nosuid bg resport, and also the -P option suggested by others) and that doesn't work with the Finder. Are there any other suggestions out there?

I amazed apple could screw this up in this version of the OS. 10.5 worked fine.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

NFS mount

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.