Date: Thu, 19 Sep 2002 15:19:18 -0700 From: Mike Hogsett <hogsett@csl.sri.com> To: "Weston M. Price" <wmprice@direcway.com> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: NFS Problems FreeBSD --> Solaris Message-ID: <200209192219.g8JMJIZN079043@axp.csl.sri.com> In-Reply-To: Message from "Weston M. Price" <wmprice@direcway.com> of "Thu, 19 Sep 2002 17:58:43 -0000." <200209191758.43911.wmprice@direcway.com>
index | next in thread | previous in thread | raw e-mail
> Hello,
> I am attempting to mount a few directories from my Solaris machine(s) to my
>
> FreeBSD workstation. nfsd is clearly running on Solaris and the sharing the
> directories is not a problem. When I attempt to mount the directories on
> FreeBSD I get the following error:
>
> damascus:/usr/wmprice: RPCMNT: clnt_create: RPC: Program not registered
It sounds like a) portmap isn't running, b) mountd is not registered with
portmap (on the server) or is not running or c) nfsd is not running or
registered with portmap (on the server).
Confirm portmap is running on both hosts. If 'rpcinfo -p <hostname>'
returns an error then portmap is not running.
Run 'rpcinfo -p <hostname>' for both machines, check for mountd
and check for nfsd
Here is output from my local box (which exports my home dir) :
rpcinfo -p localhost
program vers proto port
100000 2 tcp 111 portmapper
100000 2 udp 111 portmapper
100007 2 udp 1010 ypbind
100007 2 tcp 1023 ypbind
100005 3 udp 1006 mountd <--
100005 3 tcp 1022 mountd <--
100005 1 udp 1006 mountd <--
100005 1 tcp 1022 mountd <--
100003 2 udp 2049 nfs <--
100003 3 udp 2049 nfs <--
100024 1 udp 996 status
100024 1 tcp 1021 status
300019 1 tcp 1019
300019 1 udp 991
Here is output from my solaris box
rpcinfo -p solarisfs1
program vers proto port
100000 4 tcp 111 portmapper
100000 3 tcp 111 portmapper
100000 2 tcp 111 portmapper
100000 4 udp 111 portmapper
100000 3 udp 111 portmapper
100000 2 udp 111 portmapper
100007 3 udp 32774 ypbind
100007 2 udp 32774 ypbind
100007 1 udp 32774 ypbind
100007 3 tcp 32771 ypbind
100007 2 tcp 32771 ypbind
100007 1 tcp 32771 ypbind
100024 1 udp 32782 status
100024 1 tcp 32772 status
100133 1 udp 32782
100133 1 tcp 32772
100021 1 udp 4045 nlockmgr
100021 2 udp 4045 nlockmgr
100021 3 udp 4045 nlockmgr
100021 4 udp 4045 nlockmgr
100021 1 tcp 4045 nlockmgr
100021 2 tcp 4045 nlockmgr
100021 3 tcp 4045 nlockmgr
100021 4 tcp 4045 nlockmgr
390113 1 tcp 7937
390103 2 tcp 7939
390109 2 tcp 7939
390110 1 tcp 7939
390103 2 udp 7940
390109 2 udp 7940
390110 1 udp 7940
100005 1 udp 32877 mountd <--
100005 2 udp 32877 mountd <--
100005 3 udp 32877 mountd <--
100005 1 tcp 32881 mountd <--
100005 2 tcp 32881 mountd <--
100005 3 tcp 32881 mountd <--
100003 2 udp 2049 nfs <--
100003 3 udp 2049 nfs <--
100227 2 udp 2049
100227 3 udp 2049
100003 2 tcp 2049 nfs <--
100003 3 tcp 2049 nfs <--
100227 2 tcp 2049
100227 3 tcp 2049
300019 1 tcp 32930
300019 1 udp 32888
390107 4 tcp 7940
390107 5 tcp 7940
390104 105 tcp 7941
390105 5 tcp 7942
To confirm exports (shares) you can also run showmount
showmount -e localhost
Exports list on localhost:
/export/u1 192.168.0.0 hosta.domain hostb.domain
showmount -e solarisfs1
Exports list on solarisfs1:
/export/u1 Everyone
/package Everyone
/foo Everyone
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200209192219.g8JMJIZN079043>
