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 > A few questions on NFS.

A few questions on NFS.
Thread Tools
Mac Elite
Join Date: Feb 2002
Location: Hilton Head, SC
Status: Offline
Reply With Quote
Dec 14, 2003, 05:12 AM
 
I just got "Windows services for UNIX" for my XP box and I was wondersing how do you mount NFS shares from OS X?
     
Moderator
Join Date: May 2001
Location: Hilbert space
Status: Offline
Reply With Quote
Dec 14, 2003, 10:04 AM
 
Either Terminal or use ‘Connect to' in the Finder.

nfs://nameOfMachine/path/to/share

Done.
I don't suffer from insanity, I enjoy every minute of it.
     
Mac Elite
Join Date: Feb 2002
Location: Hilton Head, SC
Status: Offline
Reply With Quote
Dec 14, 2003, 12:19 PM
 
Is what port do I need to open?
     
Senior User
Join Date: Jan 2001
Location: Mahwah, NJ USA
Status: Offline
Reply With Quote
Dec 14, 2003, 03:56 PM
 
Originally posted by Tyler McAdams:
Is what port do I need to open?
Several.

It al depends on what you are doing and where the machines are etc...

Are the machines on the same subnet?

Is either machine "exposed" to the internet?

Are you running some sort of firewall on either machine? If so can you turn it off?

Which machine is exporting the share? (Which one is the server?)

Which machine is mounting (importing) the share? (Which one is the client?)

If the Mac OS X box is, in this case, the server you can just use Samba and Windows can mount the share using the native SMB protocol. Just right click on "My Computer" (or whatever) and there is a choice for "Map a network drive".

If the Mac OS X box is the server and exporting the share via NFS then you have to set up the export on the Mac OS X side first. See: page 269 in the Mac OS X server admin guide. Once done with that refer to the documentation for your Windows XP.

If the Windows box is, in this case, the server... again you can just use Samba. Export the share the usual way on Windows XP. Then mount it on the Mac.

If the Windows box is the server and you are exprting the share via NFS then refer to your Windows XP documentation on how to set that up. On the Mac (client side) just open a terminal and:

sudo /sbin/mount_nfs -P servername:/sharename /mountpoint

Note: the folder /mountpoint must exist on the Mac OS X machine. Any empty folder will do. You can create one with:

sudo mkdir /mountpoint
-DU-...etc...
     
Dedicated MacNNer
Join Date: Sep 2003
Location: Pittsburgh, Pennsylvania
Status: Offline
Reply With Quote
Dec 14, 2003, 04:30 PM
 
Originally posted by Tyler McAdams:
Is what port do I need to open?
The best advice for this is to create a firewall rule that lets the server talk to specifically the NFS clients with all ports. It's hard to filter exact ports. If you want you can dump NFS over a ssh tunnel if you're worried about security. That way adds a little overhead, but it will only use one port, the one you specify.

nate
Apple iBook, B&W, Quadra 660, PowerMac 6100
Sun Netra T1, Ultra 1, Javastation
http://natetobik.mine.nu:81
     
   
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:14 PM.
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