Hello Everyone, This topic seems to be a old one but for some reason I am not able to get this to work. Sorry for a long post ... wanted to get everything in at once!
Scenario: Linux NFS server: v3 Solaris 10 NFS Client: v3 Problem mounting a NFS mount point from a Linux Server (CentOS 5.1 Kernel: 2.6.18) to a Solaris 10 Client My /etc/hosts.allow on Linux Server: cat /etc/hosts.allow # # hosts.allow This file describes the names of the hosts which are # allowed to use the local INET services, as decided # by the '/usr/sbin/tcpd' server. # portmap: 172.25.30.100 rpcbind: 172.25.30.100 Commands run on Client: ================== Client # mount -o vers=3 -F nfs 172.25.30.120:/scratch/pvfs2 /scratch/pvfs2 nfs mount: 172.25.30.120: : RPC: Rpcbind failure - RPC: Unable to receive nfs mount: retrying: /scratch/pvfs2 nfs mount: 172.25.30.120: : RPC: Rpcbind failure - RPC: Unable to receive nfs mount: 172.25.30.120: : RPC: Rpcbind failure - RPC: Unable to receive # mount -o vers=4 -F nfs 172.25.30.120:/scratch/pvfs2 /scratch/pvfs2 nfs mount: 172.25.30.120:/scratch/pvfs2: No such file or directory <=== This error is because Linux Server is not running v4 NFS hence a valid one. Client # rpcinfo -p program vers proto port service 100000 4 tcp 111 rpcbind 100000 3 tcp 111 rpcbind 100000 2 tcp 111 rpcbind 100000 4 udp 111 rpcbind 100000 3 udp 111 rpcbind 100000 2 udp 111 rpcbind 1073741824 1 tcp 36084 100024 1 udp 42835 status 100024 1 tcp 36086 status 100133 1 udp 42835 100133 1 tcp 36086 100001 2 udp 42836 rstatd 100001 3 udp 42836 rstatd 100001 4 udp 42836 rstatd 100002 2 tcp 36087 rusersd 100002 3 tcp 36087 rusersd 100002 2 udp 42838 rusersd 100002 3 udp 42838 rusersd 100011 1 udp 42840 rquotad 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 # showmount -e 172.25.30.120 (Server) showmount: 172.25.30.120: RPC: Rpcbind failure - RPC: Unable to receive Commands OnServer: ================ Server # rpcinfo -p program vers proto port 100000 2 tcp 111 portmapper 100000 2 udp 111 portmapper 100021 1 tcp 49927 nlockmgr 100021 3 tcp 49927 nlockmgr 100021 4 tcp 49927 nlockmgr 100021 1 udp 32772 nlockmgr 100021 3 udp 32772 nlockmgr 100021 4 udp 32772 nlockmgr 100011 1 udp 796 rquotad 100011 2 udp 796 rquotad 100011 1 tcp 799 rquotad 100011 2 tcp 799 rquotad 100003 2 udp 2049 nfs 100003 3 udp 2049 nfs 100003 4 udp 2049 nfs 100003 2 tcp 2049 nfs 100003 3 tcp 2049 nfs 100003 4 tcp 2049 nfs 100005 1 udp 809 mountd 100005 1 tcp 812 mountd 100005 2 udp 809 mountd 100005 2 tcp 812 mountd 100005 3 udp 809 mountd 100005 3 tcp 812 mountd 100024 1 udp 854 status 100024 1 tcp 857 status Server # showmount -e 172.25.30.120 Export list for 172.25.30.120: /scratch/nfs 172.25.30.100,172.25.24.0/4 /scratch/pvfs2 172.25.30.100,172.25.24.0/4 also tried to run Snoop on the client and wireshark on Server and following is what I see: One Server: Upon issuing mount command on client: # tshark -i eth1 Running as user "root" and group "root". This could be dangerous. Capturing on eth1 0.000000 Cisco_3d:68:10 -> Spanning-tree-(for-bridges)_00 STP Conf. Root = 32770/00:0a:b8:3d:68:00 Cost = 0 Port = 0x8010 0.205570 172.25.30.100 -> 172.25.30.120 Portmap V2 GETPORT Call MOUNT(100005) V:3 UDP 0.205586 172.25.30.120 -> 172.25.30.100 ICMP Destination unreachable (Port unreachable) 0.207863 172.25.30.100 -> 172.25.30.120 Portmap V2 GETPORT Call MOUNT(100005) V:3 UDP 0.207869 172.25.30.120 -> 172.25.30.100 ICMP Destination unreachable (Port unreachable) 2.005314 Cisco_3d:68:10 -> Spanning-tree-(for-bridges)_00 STP Conf. Root = 32770/00:0a:b8:3d:68:00 Cost = 0 Port = 0x8010 4.011005 Cisco_3d:68:10 -> Spanning-tree-(for-bridges)_00 STP Conf. Root = 32770/00:0a:b8:3d:68:00 Cost = 0 Port = 0x8010 5.206109 Dell_70:ad:29 -> SunMicro_70:ff:17 ARP Who has 172.25.30.100? Tell 172.25.30.120 5.206277 SunMicro_70:ff:17 -> Dell_70:ad:29 ARP 172.25.30.100 is at 00:14:4f:70:ff:17 5.216157 172.25.30.100 -> 172.25.30.120 Portmap V2 GETPORT Call MOUNT(100005) V:3 UDP 5.216170 172.25.30.120 -> 172.25.30.100 ICMP Destination unreachable (Port unreachable) ............... On Clinet Upon issuing mount command on client: # snoop -d bge1 Using device /dev/bge1 (promiscuous mode) ? -> * ETHER Type=9000 (Loopback), size = 60 bytes ? -> (multicast) ETHER Type=0000 (LLC/802.3), size = 52 bytes ? -> (multicast) ETHER Type=0000 (LLC/802.3), size = 52 bytes ? -> (multicast) ETHER Type=0000 (LLC/802.3), size = 52 bytes atlas-pvfs2 -> pvfs2-io-0-3 PORTMAP C GETPORT prog=100005 (MOUNT) vers=3 proto=UDP pvfs2-io-0-3 -> atlas-pvfs2 ICMP Destination unreachable (UDP port 111 unreachable) atlas-pvfs2 -> pvfs2-io-0-3 PORTMAP C GETPORT prog=100005 (MOUNT) vers=3 proto=UDP pvfs2-io-0-3 -> atlas-pvfs2 ICMP Destination unreachable (UDP port 111 unreachable) ? -> (multicast) ETHER Type=0000 (LLC/802.3), size = 52 bytes ? -> (multicast) ETHER Type=0000 (LLC/802.3), size = 52 bytes ? -> * ETHER Type=9000 (Loopback), size = 60 bytes ? -> (multicast) ETHER Type=0000 (LLC/802.3), size = 52 bytes pvfs2-io-0-3 -> * ARP C Who is 172.25.30.100, atlas-pvfs2 ? atlas-pvfs2 -> pvfs2-io-0-3 ARP R 172.25.30.100, atlas-pvfs2 is 0:14:4f:70:ff:17 atlas-pvfs2 -> pvfs2-io-0-3 PORTMAP C GETPORT prog=100005 (MOUNT) vers=3 proto=UDP pvfs2-io-0-3 -> atlas-pvfs2 ICMP Destination unreachable (UDP port 111 unreachable) Any feedback will be of great help!!! Thank you, Amit