Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > NFS troubles...

NFS troubles...
Thread Tools
Fresh-Faced Recruit
Join Date: Jan 2004
Status: Offline
Reply With Quote
Aug 21, 2004, 10:55 PM
 
OK, so I'm trying to export my ~/ over my LAN via NFS, to be read by a Debian box. I've set up my exports, when I type "showmount -e" it demonstrates the following...

Exports list on localhost:
/Users/harry/ Everyone

Yet when I try to mount it I keep getting "Permission Denied" from the OS X/NFS box and from the Debian box. I have the appropriate ports open (111 and 2049) but still no joy. Permissions are set so everyone can read the my ~.

Times like this I wish Rendezvous/Zeroconf/OpenTalk was more ubiquitous...

Anyone who can help gets my gratitude, for what it's worth.
     
Mac Elite
Join Date: Apr 2000
Location: Los Angeles, CA
Status: Offline
Reply With Quote
Aug 23, 2004, 12:49 AM
 
Any error messages you get in Mac OS X's log files? I've not played with NFS on the Mac, but what about re-exporting the NFS shares again using exportfs (if that is at all used)?
     
Mac Elite
Join Date: May 2001
Location: ~/
Status: Offline
Reply With Quote
Aug 23, 2004, 02:37 AM
 
The UID on the Debian system needs to be the same as the UID that owns the directories on your Mac. If for instance if your UID on OSX is 501 the user on the Debian system needs to be 501 as well or the share won't be mounted. Using NFS as an ad hoc sharing system is a PITA because of issues like this.

If you only need to share a few files with someone I'd suggest using FTP or Samba to share your files. They will be much easier to use than NFS. NFS works well in large managed environments but is simply a pain on smaller networks.
     
Mac Elite
Join Date: Oct 2000
Location: Amboy Navada, Canadia.
Status: Offline
Reply With Quote
Aug 23, 2004, 06:00 AM
 
I had no luck with NFS on OS X. No idea why either, it wasn't hard on linux or openbsd (can they mount network shares as filesystems yet? augh...). Didn't have any luck with Windows Services of UNIX, I didn't learn all about NFS and the whole translation "you need a third server" thing messed me up.

Samba is pretty easy. Has no trouble with sharing to windows. It's very easy on Linux as well.

This insanity brought to you by:
The French CBC, driving antenna users mad since 1937.
     
Clinically Insane
Join Date: Mar 2001
Location: yes
Status: Offline
Reply With Quote
Aug 23, 2004, 08:41 PM
 
Originally posted by Graymalkin:
The UID on the Debian system needs to be the same as the UID that owns the directories on your Mac. If for instance if your UID on OSX is 501 the user on the Debian system needs to be 501 as well or the share won't be mounted. Using NFS as an ad hoc sharing system is a PITA because of issues like this.

If you only need to share a few files with someone I'd suggest using FTP or Samba to share your files. They will be much easier to use than NFS. NFS works well in large managed environments but is simply a pain on smaller networks.
I don't think that you are right about the UID deal... the UID needs to be the same if you want to be able to write to the share (assuming it is world readable). He should at least be able to mount the share.

What are you typing in the finder to do so? I mount my NFS share all the time w. OS X... try:

nfs://IPaddress/share/point

In the connect to server dialog.

BTW, NFS supports long filenames but *not* OS X metadata.
     
Mac Elite
Join Date: May 2001
Location: Earth
Status: Offline
Reply With Quote
Aug 25, 2004, 05:00 PM
 
You probably need to use the insecure option for the export, or use resvport on the client to make sure it uses a secured port.
(Last edited by pat++; Aug 25, 2004 at 05:11 PM. )
     
   
Thread Tools
Forum Links
Forum 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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 06:39 AM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2