View Full Version : MacOS X won't NFS mount Linux dir
03-28-2002, 07:09 PM
I have no problems nfs mounting an exported dir from a solaris box on MacOS X, but I have not been able to get such to work mounting an exported dir from a Linux host. I've tired kernels 2.2.14 and 2.4.17 and both seem to work on the mac side in that the mount does not return an error. But the mount also does not actually work, the mounted-on dir ends up in a funny state where any access ges an "operation not permited" error and df does not list the mount. Both of these linux boxes are doing NFS exports to other linux boxes and solaris boxes with no problems.
MacOS X Server 10.1.2, G4/500 1G
Try using mount_nfs's -P option,
sudo mount -o -P server:/exported/path /local/path
Some NFS servers want to see NFS mounts from reserved ports, and -P does this (see man mount_nfs for more).
If you're mounting through NetInfo, add an opts property with the value being -P.
Phil St. Romain
03-29-2002, 09:42 PM
I'm transferring this to the Mac OS X server forum, where you're likely to get more help with it.
03-29-2002, 09:47 PM
Why 2.2.14 has trouble exporting NFS dirs for MacOS X to mount I still don't know. However I was mistaken about 2.4.17 also having this problem. Both systems I tried were 2.2.14 and I remember an old note I saw somewhere that this mount problem occurs with Linux kernels of 2.2.16 and below. So I'll upgrade (I'll try the -P as well) one to a newer kernel and try again. More data soon!
03-29-2002, 10:41 PM
This works on 2.2.14 and 2.4, so all is well. Thanks blb.
02-23-2007, 05:50 PM
I got an answer here, how my i mount an linux directory on my ibook. At my linux desktop /etc/exports i wrote "/abc/def 192.168.xxx.yyy/255.255.255.0(rw, sync)".
On my ibook i mount this directory into /mnt/linux-desktop via terminal . It works. Now my problem. I have no write access. Open get info > ownerships and permissions i see 'you can read'.
What should i do to get 'true read and write access'?
Second: is there a osx-way to mount/unmount this directory?
vBulletin® v3.8.7, Copyright ©2000-2013, vBulletin Solutions, Inc.