LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 09-05-2005, 11:55 AM   #1
make
Member
 
Registered: Apr 2004
Distribution: Mandriva, Ubuntu, openSuSE, FreeBSD, OpenSolaris, PC-BSD
Posts: 185

Rep: Reputation: 30
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
 
Old 09-05-2005, 03:10 PM   #2
anand_kt
Member
 
Registered: Dec 2004
Location: Chennai, India
Distribution: Red Hat, Knoppix
Posts: 86

Rep: Reputation: 15
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...
 
Old 09-06-2005, 12:14 AM   #3
make
Member
 
Registered: Apr 2004
Distribution: Mandriva, Ubuntu, openSuSE, FreeBSD, OpenSolaris, PC-BSD
Posts: 185

Original Poster
Rep: Reputation: 30
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.
 
Old 09-06-2005, 09:07 AM   #4
anand_kt
Member
 
Registered: Dec 2004
Location: Chennai, India
Distribution: Red Hat, Knoppix
Posts: 86

Rep: Reputation: 15
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...
 
Old 09-06-2005, 11:07 AM   #5
make
Member
 
Registered: Apr 2004
Distribution: Mandriva, Ubuntu, openSuSE, FreeBSD, OpenSolaris, PC-BSD
Posts: 185

Original Poster
Rep: Reputation: 30
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.
 
Old 09-06-2005, 12:56 PM   #6
anand_kt
Member
 
Registered: Dec 2004
Location: Chennai, India
Distribution: Red Hat, Knoppix
Posts: 86

Rep: Reputation: 15
:-(
 
Old 09-08-2005, 02:34 AM   #7
make
Member
 
Registered: Apr 2004
Distribution: Mandriva, Ubuntu, openSuSE, FreeBSD, OpenSolaris, PC-BSD
Posts: 185

Original Poster
Rep: Reputation: 30
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).
 
Old 09-08-2005, 02:34 AM   #8
make
Member
 
Registered: Apr 2004
Distribution: Mandriva, Ubuntu, openSuSE, FreeBSD, OpenSolaris, PC-BSD
Posts: 185

Original Poster
Rep: Reputation: 30
.

Last edited by make; 09-08-2005 at 02:47 AM.
 
Old 03-03-2006, 07:03 PM   #9
a1ne
LQ Newbie
 
Registered: Mar 2006
Posts: 1

Rep: Reputation: 0
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
 
Old 03-10-2006, 05:16 AM   #10
make
Member
 
Registered: Apr 2004
Distribution: Mandriva, Ubuntu, openSuSE, FreeBSD, OpenSolaris, PC-BSD
Posts: 185

Original Poster
Rep: Reputation: 30
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!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to mount a nfs mount from linux client to AIX nfs server dennyqian AIX 8 09-22-2006 03:34 AM
nfs client on knoppix 3.9 - problem mounting nfs drive Rod Butcher Linux - Networking 1 09-21-2005 04:18 AM
SuSE 9.0 NFS client with RHL 7.3 NFS server ocjacob Linux - Networking 0 02-01-2005 01:01 PM
NFS: Linux Server / Windows Client kegwell Linux - Software 2 07-04-2004 01:15 PM
Getting NFS to work (AIX client/Linux server) Derefin Linux - Networking 2 11-17-2003 10:31 AM


All times are GMT -5. The time now is 10:53 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration