From owner-freebsd-questions@FreeBSD.ORG Tue Sep 21 12:04:09 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4815E16A4CE for ; Tue, 21 Sep 2004 12:04:09 +0000 (GMT) Received: from p15140542.pureserver.info (papendorf-se.de [217.160.222.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id B912E43D1D for ; Tue, 21 Sep 2004 12:04:07 +0000 (GMT) (envelope-from freebsd@nagilum.org) Received: from localhost (localhost.localdomain [127.0.0.1]) by p15140542.pureserver.info (Postfix) with ESMTP id 818D12F4118; Tue, 21 Sep 2004 14:04:06 +0200 (CEST) Received: from p15140542.pureserver.info ([127.0.0.1]) by localhost (p15140542 [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 09754-01; Tue, 21 Sep 2004 14:04:03 +0200 (CEST) Received: from cakebox.homeunix.net (stgt-d9bb31e6.pool.mediaWays.net [217.187.49.230]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (No client certificate requested) by p15140542.pureserver.info (Postfix) with ESMTP id 716272F4117; Tue, 21 Sep 2004 14:04:02 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by cakebox.homeunix.net (Postfix) with ESMTP id A0B1A3029AA; Tue, 21 Sep 2004 14:03:08 +0200 (CEST) Received: from cakebox.homeunix.net ([127.0.0.1]) by localhost (cakebox.tis [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 58469-05; Tue, 21 Sep 2004 14:02:47 +0200 (CEST) Received: from [10.1.1.4] (scorpio.tis [10.1.1.4]) by cakebox.homeunix.net (Postfix) with ESMTP id CA4E9302806; Tue, 21 Sep 2004 14:02:38 +0200 (CEST) Message-ID: <4150188E.6080109@nagilum.org> Date: Tue, 21 Sep 2004 14:03:26 +0200 From: Nagilum User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.2) Gecko/20040803 X-Accept-Language: en-us, en MIME-Version: 1.0 To: lost gweilo References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at cakebox.homeunix.net X-Virus-Scanned: by amavisd-new at papendorf-se.de cc: freebsd-questions@freebsd.org Subject: Re: Frustration: the only thing mounting with NFS client :-) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Sep 2004 12:04:09 -0000 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"