----- Original Message ----- From: "Grant Peel" <gp...@thenetnow.com>
To: <freebsd-questions@freebsd.org>
Sent: Tuesday, July 06, 2010 1:07 PM
Subject: FreBSD 8


Hi again all,

I have just installed FreeBSD 8 on my NFS server.

The older machines (FreeBSD 6.x) are able to connect to the NFS exports fine.

I have also installed FreeBSD 8 to two more machines, 1 is a Dell 1850, and the other an R200. Both of these machines had FreeBSD 6.x on them and were able to connect to the share with no problem.

The error I am getting is: RPCPROG_NFS: RPC: Program not registered

I have pretty much memorized the handbook with regards to NFS at this point:

On the server, (from the Handbook), all the following are in rc.conf:

rpcbind_enable="YES"
nfs_server_enable="YES"
mountd_flags="-r"

On the Clietn(s), the following line is present:

nfs_client_enable="YES"

I have tried:

nfs_reserved_port_only="YES"
and
nfs_reserved_port_only="NO"

which does not appear to make a difference.

also,

start nfsiod -n 4 on the client, does not seem to start (not showing in the process list anyways, and no console output whn I try to start it.

FYI, I can ping, ssh etc etc etc through the same IPS as the nfs server/client use (192.168.0.x).

If it makes any difference the Server is uing fxp ethernet, and one client is using em and the other bge.

I know there's something simple I am missing, but damned if I can find it. I had the same issue trying to connect using the live filesystem a few weeks back, so it seems to be something with freebsd 8. (Configuration?).

Any help appreciated,

-Grant


_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"




All,

This is now fixed, FWIW, the problem seems to be that the FreeBSD 8 NFS server is only usig UDP when setup as described in the handbook. The FreeBSD 8 clients were looking for tcp. Hence the error:

"[tcp] RPCPROG_NFS: RPC: Program not registered"

Once I added:

nfs_server_flags="-t -u -h 192.168.0.4 -n 15"

to the nfs server rc.conf, and rebooted it, the clients connected first try.

If I am still missing something, feel free to comment.

-Grant

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
  • FreBSD 8 Grant Peel
    • Re: FreBSD 8 Grant Peel

Reply via email to