Frustration: the only thing mounting with NFS client :-)
lost gweilo
lostgweilo at hotmail.com
Sun Sep 19 07:09:06 PDT 2004
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 at lostgweilo:~# pwd
pwd
/root
root at lostgweilo:~# mkdir uu
mkdir uu
root at 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 at 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
More information about the freebsd-questions
mailing list