Thanks, I've added statement "192.168.1.200 Rt-Control.com uCsimm" in the /etc/host and can mount now. But in
rpcinfo-p doesn't show the 'tcp 2049 nfs'. Only udp.
寄件者: Stu <firstname.lastname@example.org>
收件者: ucsimm@uClinux.com <ucsimm@uClinux.com>
日期: Friday, January 21, 2000 PM 10:56
主旨: RE: [uCsimm] can't mount with RedHat 6.0
I never use rhosts... maybe I should? :)
iMax, make sure you're running (at a minimum) portmap, nfsd, and mountd. On a Debian system, it looks like this:
309 ? S 0:00 /sbin/portmap
313 ? S 0:00 /usr/sbin/rpc.nfsd
315 ? S 0:00 /usr/sbin/rpc.mountd
(You have to be running portmap first.)
At a minimum, running rpcinfo -p should display this:
program vers proto port
100000 2 tcp 111 portmapper
100000 2 udp 111 portmapper
100003 2 udp 2049 nfs
100003 2 tcp 2049 nfs
100005 1 udp 916 mountd
100005 2 udp 916 mountd
100005 1 tcp 919 mountd
100005 2 tcp 919 mountd
When you have successfully mounted something with the uCsimm, you should see this in /var/log/syslog (/var/log/messages on redhat?) on the host machine:
Jan 20 22:41:33 my_server's_name mountd: NFS mount of /usr/local/projects/ramdisk attempted from 192.168.1.1
Jan 20 22:41:33 my_server's_name mountd: /usr/local/projects/ramdisk has been mounted by 192.168.1.1
If it hangs somehow, you can do this:
strace -p 309 (or 313 or 315), where 303, 313, and 315 are the PIDs of portmap, nfsd, and mountd. This will show you all the syscalls that the given PID is doing. That way, if it hangs on trying to resolve an IP address to a DNS name, you can see it. (It'll say gethostbyaddr or something.)
Hope that works...
From: owner-ucsimm@uClinux.com [mailto:owner-ucsimm@uClinux.com]On Behalf Of Tom Walsh
Sent: Thursday, January 20, 2000 11:31 PM
Subject: Re: [uCsimm] can't mount with RedHat 6.0
iMax Tech Engineering wrote:
Hi, I have tried to mount uCsimm to RedHat 6.0 workstation. I have tried everything with etc/exports and set the IP of workstation to be 192.168.1.11 but no success. I have mounted success with Slackware 3.6. Please help Thanks in advance. CC
Did you mention the uCsimm IP in /etc/hosts then made an entry in /root/rhosts for the hostname associated with the IP of the uCsimm?
I commonly forget to update the rhosts file, someday I'll remember..
-- Tom Walsh - Embedded Systems Consultant - tom over_at mytoys(.)com 'www.mytoys.com', 'www.openhardware.net', 'www.cyberiansoftware.com' "Windows? No thanks, I have work to do..."
This message resent by the email@example.com list server http://www.uClinux.com/
This archive was generated by hypermail 2b30 : Sun Apr 07 2002 - 00:01:34 EST