nfs mount problems os x

nathan r. hruby yellowdog-general@lists.terrasoftsolutions.com
Fri Nov 15 07:59:01 2002


On Thu, 14 Nov 2002, cmustard wrote:

> I can issue the mount command:
> %mount -t nfs 168.x.x.x:/server/nfs /private/mnt
> 

The BSD "subsystems" and other parts of MacOSX are not too terribly 
connected.  I would try for a simple nfs mount doing it frm the 'Connect 
to Server..." menu.
http://docs.info.apple.com/article.html?artnum=25344 (NFS + Finder)
http://docs.info.apple.com/article.html?artnum=106568 (Supported schemes 
in Finder)

If this is something you want mounted always, I'd suggest an automount 
map:  Here's one of mine:
home    nfsv3,nosuid,noexec,nodev,soft,intr,rw,wsize=8192,rsize=8192,resvport jake:/home
web     nfsv3,nosuid,noexec,nodev,soft,intr,rw,wsize=8192,rsize=8192,resvport jake:/home/htdocs

You can put this in /etc/fstab and the server will appear in 
/Network/Servers or you can edit /System/Library/StartupItems/NFS/NFS and 
add a "-m /path/to/mount/point /path/to/your/mount.map -static" to the end 
of the automount command, be sure to turn AUTOMOUNT=-YES- in 
/etc/hostconfig as well if you go this route.

Also, you can add this same information into NetInfo with NetInfo 
manager in the /mounts section of your NetInfo DB.  Hit google and find 
the docs that explain this, or read the manpage on your OSX machine for 
netinfo(5) which will also tell the format but leave out some of the 
interesting bit about how to get it into NI from the command line.  NI 
uses "/" as a delimiter, so making mount point like /foo/bar/baz becomes.. 
interesting :)

Marcel Bresink's NIS/NFS document is a wonderful resource into the NIS/NFS 
setup on OSX (and a good example about how things differ on OSX) and 
should be considered required reading for doing NIS or NFS on OSX.

While this is fairly OT to YDL, I think it's still somewhat pertinant as 
many here will need to integrate YDL with OSx and the two are different 
enough where you end up scratching you head and saying "Huh?" a lot, at 
least, I do!

Thanks!  Good way to start the brain juices early in the morning!

hth,

-n
-- 
----------------------------------------
nathan hruby <nathan@drama.uga.edu>
computer services specialist
uga drama
http://www.drama.uga.edu/support/
----------------------------------------