Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Sep 2004 14:03:26 +0200
From:      Nagilum <freebsd@nagilum.org>
To:        lost gweilo <lostgweilo@hotmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Frustration: the only thing mounting with NFS client :-)
Message-ID:  <4150188E.6080109@nagilum.org>
In-Reply-To: <BAY2-F9gtAiezYgEUlR000339d7@hotmail.com>
References:  <BAY2-F9gtAiezYgEUlR000339d7@hotmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,
I don't know what the problem in your case is, but just a few thoughts:
- make sure your linux box isn't providing NFSv4, as FreeBSD does only 
support for v2 and 3,
- to test and whether the nfs server is receiving you use "showmount -e  
lg", it's quicker
- yes, you need a portmapper running on the client too and apparently 
you have, its that sunrpc thingy
-  read mount_nfs(8) ;)

I hope that helps a bit..
Alex.


lost gweilo wrote:

> Hi there,
>
> I am trying to access an NFS server (Debian Linux,
> host name "lg") from my FreeBSD 4.10-STABLE system
> (host name "gw") on my LAN.
>
> My basic system info:
>  gw# uname -mnprs
>  FreeBSD gw 4.10-STABLE i386 i386
>
> It doesn't seem to work:
>  gw# mount -v -t nfs lg:/mnt/tt/music /root/uu
>  lg:/mnt/tt/music: NFSPROC_NULL: RPC: Timed out
>  ^C
>
> It works when I try on the server though...
> (Hopefully this also shows that basic networking
> is OK between the two boxes...)
>  gw# ssh lg
>  Password:
>  root@lostgweilo:~# pwd
>  pwd
>  /root
>  root@lostgweilo:~# mkdir uu
>  mkdir uu
>  root@lostgweilo:~# mount -v -t nfs lg:/mnt/tt/music /root/uu
>  mount -v -t nfs lg:/mnt/tt/music /root/uu
>  lg:/mnt/tt/music on /root/uu type nfs (rw,addr=127.0.0.1)
>  root@lostgweilo:~# exit
>  exit
>  logout
>  Connection to lg closed.
>
> RPC calls seem OK either with TCP or UDP:
>  gw# rpcinfo -u lg nfs
>  program 100003 version 2 ready and waiting
>  program 100003 version 3 ready and waiting
>  gw# rpcinfo -t lg nfs
>  program 100003 version 2 ready and waiting
>  program 100003 version 3 ready and waiting
>
> I read in "Managing NFS and NIS" by Hal Stern, in
> Chapter 10 p. 231 that that "rpcinfo -u" is supposed
> to call the null procedure of the RPC server...
> The error message I get from mount seems related...
> But I have no clue, it just does the same thing
> all the time:
>  gw# mount -v -t nfs lg:/mnt/tt/music /root/uu
>  lg:/mnt/tt/music: NFSPROC_NULL: RPC: Timed out
>  ^C
>
> I also noticed that "portmap" doesn't run on my client.
> It won't start. Is it needed, for an NFS client?
>  gw# portmap -d
>  portmap[36419]: cannot bind udp: Address already in use
>  gw# tail /var/log/messages
>  Sep 17 05:00:00 gw newsyslog[90252]: logfile turned over due to 
> size>100K
>  Sep 17 16:50:41 gw dhclient: New Network Number: 192.168.1.0
>  Sep 17 16:50:41 gw dhclient: New Broadcast Address: 192.168.1.255
>  Sep 17 23:14:55 gw portmap[9379]: cannot bind udp: Address already in 
> use
>  Sep 17 23:15:12 gw portmap[9472]: cannot bind udp: Address already in 
> use
>  Sep 18 00:23:26 gw portmap[36419]: cannot bind udp: Address already 
> in use
>
> Naive attempt to investigate the portmap error message:
>  gw# netstat -a -f inet
>  Active Internet connections (including servers)
>  Proto Recv-Q Send-Q  Local Address          Foreign Address        
> (state)
>  tcp4       0      0  192.168.1.100.4294     lg.ssh                 
> ESTABLISHED
>  tcp4       0      0  *.smtp                 *.*                    
> LISTEN
>  tcp4       0      0  *.ssh                  *.*                    
> LISTEN
>  tcp4       0      0  *.telnet               *.*                    
> LISTEN
>  tcp4       0      0  *.sunrpc               *.*                    
> LISTEN
>  udp4       0      0  *.*                    *.*
>  udp4       0      0  *.sunrpc               *.*
>  udp4       0      0  *.syslog               *.*
>  udp4       0      0  *.bootpc               *.*
>
> Basically I have no clue what is going on.
> I hope you can suggest things to look at.
>
> Regards.
> Lostgweilo
>
> _________________________________________________________________
> Linguaphone :  Learning English? Get Japanese lessons for FREE 
> http://go.msnserver.com/HK/46165.asp
>
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to 
> "freebsd-questions-unsubscribe@freebsd.org"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4150188E.6080109>