Mounting NFS shared from OSX box

LordCoven

Registered
Hey y'all,

Well, I've gone over all the threads with a toothpick and can't get this to work ...

I can export the share (using NetInfo)
I can see the exports with
showmount -e localhost
I can see the portmapper working (ps -ax, and rpcinfo)

... but I can't mount the #!^%$$* thing!

Tried all manner of variations on the mount command. Also tried through NetInfo. Also tried with NFSManager ... none of those worked. Also couldn't mount it from my linux box.

Can someone please shed some light on this situation?
Do I have to change any settings for portmap for this to work??

Please help ;-)

Cheers,

C
 
Well, after digging and digging, I found that part of the NW settings were wrong.
Now I'm getting a SLPD error. It fails when mountd tries to start it. So I'll try digging around in that corner for a while.

If anyone knows anything about SLPD, I'd be interested to hear what its used for and what configurations it relies upon.

Cheers,

C
 
... I've just checked on the FreeBSD website - and their documentation says you use nfsd as well as mountd if you want to serve NFS shares ... as MacOS X is based on FreeBSD (If I haven't got my facts *completely* screwed up :-)) I was wondering whether anyone knew whether anyone know if Mac OS X also needs nfsd started??

Cheers,

C
 
I used NFSManager , and it worked perfect.
From linux i mount my g4 with:

mount -t nfs 192.168.1.120:/Users/gumse/Documents/linux /mnt/g4

I use it all the time to backup my linux box with tar.
 
Hey y'all,

Well, I figured out what it was. I must have killed the nfs daemon at some point
(probably with something like: ps -ax | grep nfsd | grep -v grep | kill -9 ;-))

One I started this again using nfsd -t -u -n 4 everything worked hunky dory.

I noticed that it was missing after reading through the FreeBSD docs for NFS and checking the rc files in /etc. Both of these mention/start the nfsd. Its just that I hadn't seen it mentioned in ANY of the NFS guides for MacOSX.

Hence all of those ppl for whom it worked without probs hadn't killed their nfs daemons ;-)))

We live and learn ;-)

Still, now I have a very detailed knowledge of how it all works ... (clouds, linings and silver and all that)

BTW: I had problems configuring more than one share available to "World" or "Everyone" or whatever you want to call it. Once I gave each export line its own list of clients, there was no problem. I'm guessing it actually says this in the man page for exports, but I'm too lazy to go back and check now that it works ;-))

Cheers,

C
 
another BTW:

its best to use the -o hard,intr options when mounting from Linux - just in case something goes wrong and you need to kill the mount process ...

just a thought, tho ;-))

C
 
Back
Top