LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   NFS client = Linux, NFS server = Mac OS X Tiger --> Hell of a problem (http://www.linuxquestions.org/questions/linux-networking-3/nfs-client-%3D-linux-nfs-server-%3D-mac-os-x-tiger-hell-of-a-problem-360448/)

make 09-05-2005 12:55 PM

NFS client = Linux, NFS server = Mac OS X Tiger --> Hell of a problem
 
I have a Mac Mini with OS X Tiger running as a NFS fileserver in a Linux-network, it has a 500 GB external FireWire-hard disk for storage space. This external disk has no affection to my problem, btw. Also tried sharing files from the internal hard drive.

Anyways, things work pretty well, I used NFS Manager to make the shares on the Mac-side and Linux-clients find automount-points from the LDAP-server and mount the shares.

The problem
While Linux mostly sees all the files on the shares mounted from the Mac, not ALL programs see files on the shares at all! For example JBuilder and lots of command-line copying programs think that there's no files at all (basic cp works, though)! I do NOT have this problem when I mount shares from a Linux-NFS server to a Mac, OR from Linux-NFS server to Linux.

This is a BIG problem, because with some programs (maybe 50/50 of the programs I use) I need to copy the files to the client computers first, before modifying, instead of accessing them directly from the network. Yes, KDE and Konqueror, also ls and such basic utilities see the files perfectly. This is what makes this problem so strange.

I've googled for this problem for days. What can cause it? I can't find any info.

Now, I know putting Linux PPC-port to the Mac would solve this problem (Linux-to-Linux NFS-mounts cause no trouble, ever)... but if there's a faster solution, I'm all ear. :)


My settings on the LDAP for each NFS-share:
Code:

rw,noexec,hard,intr,rsize=8192,wsize=8192
...and the settings for NFS-shares on the OS X-side:
Code:

rw

anand_kt 09-05-2005 04:10 PM

Check for any mount timeouts...
and programs dont see the files always or sometiems? and all programs dont see antyhing or some? if some then list them...

make 09-06-2005 01:14 AM

Quote:

Originally posted by anand_kt
Check for any mount timeouts...
and programs dont see the files always or sometiems? and all programs dont see antyhing or some? if some then list them...

Those programs don't see any files - ever. Examples: all Java-programs, all Kylix-written programs and some others.

And then again, some programs always see all files without any problems.

anand_kt 09-06-2005 10:07 AM

ah, i just saw this word "automount" in your post.
Can you try mounting by /etc/fstab entries?
automount sometimes dont work the way it is expected to...

make 09-06-2005 12:07 PM

Quote:

Originally posted by anand_kt
ah, i just saw this word "automount" in your post.
Can you try mounting by /etc/fstab entries?
automount sometimes dont work the way it is expected to...

Tried that now too... same result.

anand_kt 09-06-2005 01:56 PM

:-(

make 09-08-2005 03:34 AM

Well, tried altering the Linux (client)-side options for the mounts. Had no effect whatsoever. Seems that I'm forced to erase OS X and put a PPC-Linux on the Mac Mini instead (no sense in keeping 2 OS on this computer).

make 09-08-2005 03:34 AM

.

a1ne 03-03-2006 08:03 PM

NFS vers=2
 
Changing the NFS version to 2 (instead of the default 4) used on the client (Fedora3) fixed my (similar) issues.

in /etc/fstab

server:/Volumes/raid/username /raid_user nfs defaults,vers=2 0 0

instead of

server:/Volumes/raid/username /raid_user nfs defaults 0 0

make 03-10-2006 06:16 AM

Quote:

Originally Posted by a1ne
Changing the NFS version to 2 (instead of the default 4) used on the client (Fedora3) fixed my (similar) issues.

And so did (finally) mine. Thank you a lot! Now it works!


All times are GMT -5. The time now is 10:13 PM.