NFS mount on Solaris 8

Hello Admins;

I am working around on an issue of NFS mount on Solaris 8 server.
I am trying to mount a remote directory (which is on vlan 146 -solaris 10 server ) on solaris 8 client which is on vlan 10. The firewall rules have been opened, ports are opened.

But when I do
code: mount -F nfs x.x.146.x:/restore /nfs_test
I am getting error as below:

nfs mount: x.x.146.x: : RPC: Timed out
nfs mount: retrying: /nfs_test

I can telnet to that nfs server.

The same thing works good with solaris 10 client i.e. I can mount directory on sol 10 client. Not sure what needs to be done on solaris 8...

Let me know if you need further info.

Thanks

What does

 rpcinfo -p

show on both boxes

NFS uses ports: 111 and 2049, plus ports 4000-4002 should be open. You can use telnet to verify open ports across firewalls in both directions.

IMO it is a firewall thing. We have 8, 9, and 10 with NFS mounts to each other. No issues setting them up either.

Below is from Sol :8 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
    300598    1   udp  32786
    300598    1   tcp  32782
 805306368    1   udp  32786
 805306368    1   tcp  32782
    100249    1   udp  32787
    100249    1   tcp  32783
    100232   10   udp  48487  sadmind
    100011    1   udp  48488  rquotad
    100002    2   udp  48489  rusersd
    100002    3   udp  48489  rusersd
    100002    2   tcp  62467  rusersd
    100002    3   tcp  62467  rusersd
    100012    1   udp  48490  sprayd
    100008    1   udp  48491  walld
    100001    2   udp  48492  rstatd
    100001    3   udp  48492  rstatd
    100001    4   udp  48492  rstatd
    100083    1   tcp  62468
    100221    1   tcp  62469
    100068    2   udp  48493
    100068    3   udp  48493
    100068    4   udp  48493
    100068    5   udp  48493
    300326    4   tcp  62470
    100229    1   tcp  62471  metad
    100230    1   tcp  62472  metamhd
    100021    1   udp   4045  nlockmgr
    100021    2   udp   4045  nlockmgr
    100021    3   udp   4045  nlockmgr
    100021    4   udp   4045  nlockmgr
    100024    1   udp  48616  status
    100024    1   tcp  64271  status
    100133    1   udp  48616
    100133    1   tcp  64271
    100021    1   tcp   4045  nlockmgr
    100021    2   tcp   4045  nlockmgr
    100021    3   tcp   4045  nlockmgr
    100021    4   tcp   4045  nlockmgr

Below is from Sol-10 NFS server:

: 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
    100001    2   udp  56686  rstatd
    100001    3   udp  56686  rstatd
    100001    4   udp  56686  rstatd
    100068    2   udp  56687
    100068    3   udp  56687
    100068    4   udp  56687
    100068    5   udp  56687
    100083    1   tcp  59817
    100026    1   udp  56688  bootparam
    100026    1   tcp  59818  bootparam
    100249    1   udp  56692
    100249    1   tcp  59819
    100021    1   udp   4045  nlockmgr
    100021    2   udp   4045  nlockmgr
    100021    3   udp   4045  nlockmgr
    100021    4   udp   4045  nlockmgr
    100024    1   udp  56698  status
    100024    1   tcp  59820  status
    100133    1   udp  56698
    100133    1   tcp  59820
    100021    1   tcp   4045  nlockmgr
    100021    2   tcp   4045  nlockmgr
    100021    3   tcp   4045  nlockmgr
    100021    4   tcp   4045  nlockmgr
    100011    1   udp  56702  rquotad
    100005    1   udp  62545  mountd
    100005    1   tcp  61323  mountd
    100005    2   udp  62545  mountd
    100005    2   tcp  61323  mountd
    100005    3   udp  62545  mountd
    100005    3   tcp  61323  mountd
    100003    2   udp   2049  nfs
    100003    3   udp   2049  nfs
    100227    2   udp   2049  nfs_acl
    100227    3   udp   2049  nfs_acl
    100003    2   tcp   2049  nfs
    100003    3   tcp   2049  nfs
    100003    4   tcp   2049  nfs
    100227    2   tcp   2049  nfs_acl
    100227    3   tcp   2049  nfs_acl

---------- Post updated at 10:33 AM ---------- Previous update was at 10:30 AM ----------

Yes I can telnet to each other...I have added 4001 in /etc/services for telnet.

---------- Post updated at 01:41 PM ---------- Previous update was at 10:33 AM ----------

Any suggestions guys...

Will try and update:)

Ok...Thanks .....

Hi,
I had a similar problem before, it was a compatibility issue between Solaris 10 NFS client (Vers 4) with Solaris 8 NFS server (vers 3). Try to mount the nfs share using the flag 'nfsvers=3'

1 Like

Hi....

It didn't work......any more suggestion...

Thanks

Modified /etc/netmasks file with correct entry and rebooted the server and it worked.........

Thanks for all suggestions.