nfsd can't listen on udp

Ruben de Groot mail25 at bzerk.org
Thu Dec 3 11:44:19 UTC 2009


On Wed, Dec 02, 2009 at 10:38:31PM +0100, Ksh J. Fry typed:
> Hi, I'm running nfsd on FreeBSD (7.2 and 8.0) but it seem don't listen
> on udp.
 
>From the listen(2) manpage:

The listen() system call applies only to sock-
     ets of type SOCK_STREAM or SOCK_SEQPACKET

Ruben

> $ tail /etc/rc.conf
> rpcbind_enable="YES"
> rpc_lockd_enable="YES"
> rpc_statd_enable="YES"
> nfs_server_enable="YES"
> nfs_server_flags="-t -u -n 4"
> mountd_flags="-p 962 -r"
> 
> 
> $ netstat -a -f inet | grep nfsd
> tcp4       0      0 *.nfsd                 *.*                    LISTEN
> udp4       0      0 *.nfsd                 *.*                   
> 
> 
> 
> $ sockstat -4 | grep nfsd
> root     nfsd       44932 3  tcp4   *:2049                *:*
> (no udp)
> 
> When I try to mount with mount_nfs -U and write something the client hang.
> 
> Thanks by advance.
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"


More information about the freebsd-questions mailing list