PDA

View Full Version : Cannot mount NFS


pnh73
26th August 2004, 05:43 PM
I have a FreeBSD exporting it's home directories, but I cannot mount them from my FC2 client. Here is some information that might help:

Showmount gives this:

# /usr/sbin/showmount -e 192.168.7.3
Export list for 192.168.7.3:
/usr/home 192.168.7.10


However when I try and mount the share:

# mount 192.168.7.3:/usr/home /home
mount to NFS server '192.168.7.3' failed.


Why is it failing? Is it a client side issue or a sever side issue? How can I fix it?:confused:

Thanks in advance,
Paul

crackers
27th August 2004, 03:43 AM
Is /home already a mount-point for a partion on the .10 machine or is it a "just" a directory on the / partition? And you might want to check the syslogs (/var/log/messages on the Linux box) to see if there were any errors listed there.

pnh73
27th August 2004, 11:27 AM

Its just a directory, not a mount point. It does have some other home directories in it... could this be a problem?

Am off to check the logs... Will be back with my findings :D

pnh73
27th August 2004, 01:01 PM
The logs don't say anything about the mount commands I am running.

It also struck me to run the mount command 'verbose'., and i got this:

# mount -v 192.168.7.3:/usr/home/frenchidyll /home/frenchidyll
mount: no type was given - I'll assume nfs because of the colon
mount to NFS server '192.168.7.3' failed.
RPC Error: 15 ( Program not registered )

crackers
28th August 2004, 04:20 AM
I'm guessing here, but it sounds like you have an incompatibility in the NFS protocols. Sounds like time for some research.

"Oh, NO! Not another learning experience!" ;)

pnh73
28th August 2004, 12:32 PM
I'm all up for learning... How do I find what version of NFS i have in FC2?

pnh73
28th August 2004, 03:50 PM
YAY! I finally got it to mount. It turned out to be a server side issue. The rpc error that mount was giving was indicating the NFS wasnt registered on the server side! For all the gory details and future reference goto http://www.linuxquestions.org/questions/showthread.php?s=&threadid=222678

Did my learning :D

Thanks for all your help and assistance.
Paul